Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-11 23:59:03.373419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/57/image_11012025_23_57_02_342320_0003.jpg', '/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0000.jpg', '/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0001.jpg', '/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0002.jpg', '/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0003.jpg', '/home/pi/Desktop/images/11012025/23/59/image_11012025_23_59_02_717688_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/57/image_11012025_23_57_02_342320_0003.jpg
/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0000.jpg
/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0001.jpg
/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0002.jpg
/home/pi/Desktop/images/11012025/23/58/image_11012025_23_58_02_565336_0003.jpg
/home/pi/Desktop/images/11012025/23/59/image_11012025_23_59_02_717688_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":["1328278104","1328278113","1328278109","1328278124","1328278120","1328278116"],"photo_ids_order":["1328278104","1328278109","1328278113","1328278116","1328278120","1328278124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f567aa6bec8acc9259e09f1f699fca9.jpg","text":"TemporaryFile(/tmp/multipartBody7159000011565561138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636417108,"filename":"image_11012025_23_57_02_342320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5143fa936646ce7b909c5f52b73edbd3.jpg","text":"TemporaryFile(/tmp/multipartBody5071476377913440264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636417108,"filename":"image_11012025_23_58_02_565336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b90842e2820e78fd1ce05621113f522d.jpg","text":"TemporaryFile(/tmp/multipartBody8712424351359935340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636417108,"filename":"image_11012025_23_58_02_565336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db252c394fd10eda950551cdfa6acbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6723783109607578793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636417108,"filename":"image_11012025_23_59_02_717688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c3432d7a8e342dba2e8b01b2143d6d9.jpg","text":"TemporaryFile(/tmp/multipartBody5867447169814943919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636417108,"filename":"image_11012025_23_58_02_565336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81b798f52fd0ee1d9deb80d012cd80b6.jpg","text":"TemporaryFile(/tmp/multipartBody2625908162619569482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636417108,"filename":"image_11012025_23_58_02_565336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328278113","file1":"1328278109","file0":"1328278104","file4":"1328278120","file5":"1328278124","file3":"1328278116"},"map_files_photo_id_array":[{"photo_id":"1328278124","filename":"file5"},{"photo_id":"1328278113","filename":"file2"},{"photo_id":"1328278120","filename":"file4"},{"photo_id":"1328278109","filename":"file1"},{"photo_id":"1328278104","filename":"file0"},{"photo_id":"1328278116","filename":"file3"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328278104":["hashtag1","hashtag2"]},{"1328278113":["hashtag1","hashtag2"]},{"1328278109":["hashtag1","hashtag2"]},{"1328278124":["hashtag1","hashtag2"]},{"1328278120":["hashtag1","hashtag2"]},{"1328278116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328278104, 1328278113, 1328278109, 1328278124, 1328278120, 1328278116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.603800535202026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:00:03.189369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19511890
  datou_current_id : 2475040
in upload_from_sqlite, uploading in 19511890
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/23/59/image_11012025_23_59_02_717688_0002.jpg', '/home/pi/Desktop/images/11012025/23/59/image_11012025_23_59_02_717688_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2475040&datou=0
/home/pi/Desktop/images/11012025/23/59/image_11012025_23_59_02_717688_0002.jpg
/home/pi/Desktop/images/11012025/23/59/image_11012025_23_59_02_717688_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328278148","1328278149"],"photo_ids_order":["1328278148","1328278149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8eb51e83c31dc77a825a56ec5cff1bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3999097818022841579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636468800,"filename":"image_11012025_23_59_02_717688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e433aca7d0a2827d86940522595e738.jpg","text":"TemporaryFile(/tmp/multipartBody5522335995629110025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636468800,"filename":"image_11012025_23_59_02_717688_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328278149","file0":"1328278148"},"map_files_photo_id_array":[{"photo_id":"1328278149","filename":"file1"},{"photo_id":"1328278148","filename":"file0"}],"portfolio_id":19511890,"hashtag_by_photo_ids":[{"1328278148":["hashtag1","hashtag2"]},{"1328278149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19511890 used, photo_id : ArrayBuffer(1328278148, 1328278149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.42638397216797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:00:52.735812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:01:02.401394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 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_12012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19529693, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736636524000}
533
2477105
533
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0000.jpg', '/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0001.jpg', '/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0000.jpg
/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0001.jpg
/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328279047","1328278630","1328279211"],"photo_ids_order":["1328278630","1328279047","1328279211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/444bb96b18a1a94128e3eb32b4fbf76a.jpg","text":"TemporaryFile(/tmp/multipartBody4321406494275322915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636533458,"filename":"image_12012025_00_00_03_002905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/90e9ac99a76ed5b4b985e6a60ced6b4c.jpg","text":"TemporaryFile(/tmp/multipartBody3078654482893524247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636533458,"filename":"image_12012025_00_00_03_002905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00b013dc1b2ffc5a164f1df763407d58.jpg","text":"TemporaryFile(/tmp/multipartBody1642786464732797277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636533458,"filename":"image_12012025_00_00_03_002905_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328279211","file1":"1328279047","file0":"1328278630"},"map_files_photo_id_array":[{"photo_id":"1328279211","filename":"file2"},{"photo_id":"1328279047","filename":"file1"},{"photo_id":"1328278630","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328279047":["hashtag1","hashtag2"]},{"1328278630":["hashtag1","hashtag2"]},{"1328279211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328279047, 1328278630, 1328279211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.663620710372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:01:51.858705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:02:02.581521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0003.jpg', '/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0000.jpg', '/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0001.jpg', '/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/00/image_12012025_00_00_03_002905_0003.jpg
/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0000.jpg
/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0001.jpg
/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328279633","1328279600","1328279710","1328279657"],"photo_ids_order":["1328279600","1328279633","1328279657","1328279710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25131475aeb4664d46b037f24cd8c19b.jpg","text":"TemporaryFile(/tmp/multipartBody7354818315355249982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636591534,"filename":"image_12012025_00_01_03_089924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da3e0a4fc20932292a6c6cfecd32ef68.jpg","text":"TemporaryFile(/tmp/multipartBody3672060036041588690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636591534,"filename":"image_12012025_00_00_03_002905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e8ad7cf09362bab281f55cb534de250.jpg","text":"TemporaryFile(/tmp/multipartBody3062356936646300554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636591534,"filename":"image_12012025_00_01_03_089924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37f3a605ac2875baed34a3c4c41aeab9.jpg","text":"TemporaryFile(/tmp/multipartBody3212947308231465995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636591534,"filename":"image_12012025_00_01_03_089924_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328279657","file1":"1328279633","file0":"1328279600","file3":"1328279710"},"map_files_photo_id_array":[{"photo_id":"1328279657","filename":"file2"},{"photo_id":"1328279633","filename":"file1"},{"photo_id":"1328279600","filename":"file0"},{"photo_id":"1328279710","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328279633":["hashtag1","hashtag2"]},{"1328279600":["hashtag1","hashtag2"]},{"1328279710":["hashtag1","hashtag2"]},{"1328279657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328279633, 1328279600, 1328279710, 1328279657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38136625289917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:02:52.045377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:03:02.867444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0003.jpg', '/home/pi/Desktop/images/12012025/00/02/image_12012025_00_02_02_340648_0000.jpg', '/home/pi/Desktop/images/12012025/00/02/image_12012025_00_02_02_340648_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/01/image_12012025_00_01_03_089924_0003.jpg
/home/pi/Desktop/images/12012025/00/02/image_12012025_00_02_02_340648_0000.jpg
/home/pi/Desktop/images/12012025/00/02/image_12012025_00_02_02_340648_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328279744","1328279741","1328279748"],"photo_ids_order":["1328279741","1328279744","1328279748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/691530d47f1eec307066f3d7058d62c8.jpg","text":"TemporaryFile(/tmp/multipartBody6531750879190834878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636649859,"filename":"image_12012025_00_02_02_340648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed2d733e4de42d5d7271ad7e3c3e00d7.jpg","text":"TemporaryFile(/tmp/multipartBody6567697225225235565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636649859,"filename":"image_12012025_00_01_03_089924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f49c2fe745ea1eb6f24bbd81c4fde38d.jpg","text":"TemporaryFile(/tmp/multipartBody5972133823998204177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636649859,"filename":"image_12012025_00_02_02_340648_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328279748","file1":"1328279744","file0":"1328279741"},"map_files_photo_id_array":[{"photo_id":"1328279748","filename":"file2"},{"photo_id":"1328279744","filename":"file1"},{"photo_id":"1328279741","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328279744":["hashtag1","hashtag2"]},{"1328279741":["hashtag1","hashtag2"]},{"1328279748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328279744, 1328279741, 1328279748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.02080988883972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:03:52.261793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:04:02.862301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/02/image_12012025_00_02_02_340648_0003.jpg', '/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0000.jpg', '/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0001.jpg', '/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/02/image_12012025_00_02_02_340648_0003.jpg
/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0000.jpg
/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0001.jpg
/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328280569","1328280573","1328280576","1328280537"],"photo_ids_order":["1328280537","1328280569","1328280573","1328280576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f32ee38a3c74ca41ad5c27d730dabf0a.jpg","text":"TemporaryFile(/tmp/multipartBody5603302900017610581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636712025,"filename":"image_12012025_00_03_02_441521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c2c7f3c5343a004369ae0ff8b0d219d.jpg","text":"TemporaryFile(/tmp/multipartBody3968980029707839313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636712025,"filename":"image_12012025_00_03_02_441521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51348800465d30a44883de02e271f3dc.jpg","text":"TemporaryFile(/tmp/multipartBody855881086019907281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636712025,"filename":"image_12012025_00_03_02_441521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04dbfc049c2dce91b7a8bd63b9b9db7b.jpg","text":"TemporaryFile(/tmp/multipartBody6286085799567101559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636712025,"filename":"image_12012025_00_02_02_340648_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328280573","file1":"1328280569","file0":"1328280537","file3":"1328280576"},"map_files_photo_id_array":[{"photo_id":"1328280573","filename":"file2"},{"photo_id":"1328280569","filename":"file1"},{"photo_id":"1328280537","filename":"file0"},{"photo_id":"1328280576","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328280569":["hashtag1","hashtag2"]},{"1328280573":["hashtag1","hashtag2"]},{"1328280576":["hashtag1","hashtag2"]},{"1328280537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328280569, 1328280573, 1328280576, 1328280537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.281145334243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:04:52.466939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:05:03.029543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0003.jpg', '/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0000.jpg', '/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0001.jpg', '/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/03/image_12012025_00_03_02_441521_0003.jpg
/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0000.jpg
/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0001.jpg
/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328280608","1328280589","1328280597","1328280591"],"photo_ids_order":["1328280589","1328280591","1328280597","1328280608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0efa8652304439dbf0e53d313fd5c1af.jpg","text":"TemporaryFile(/tmp/multipartBody1633251457222747098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636772224,"filename":"image_12012025_00_04_02_681408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e99dbf6d2d59b9a65750bec7f5bf4661.jpg","text":"TemporaryFile(/tmp/multipartBody5356027433027532392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636772224,"filename":"image_12012025_00_03_02_441521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1346512819a00e48a2dde03a36cd2c64.jpg","text":"TemporaryFile(/tmp/multipartBody1229897426544875895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636772224,"filename":"image_12012025_00_04_02_681408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b670bb3176ab74d45d9ceea0dd6faa3.jpg","text":"TemporaryFile(/tmp/multipartBody8077445360948297947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636772224,"filename":"image_12012025_00_04_02_681408_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328280597","file1":"1328280591","file0":"1328280589","file3":"1328280608"},"map_files_photo_id_array":[{"photo_id":"1328280597","filename":"file2"},{"photo_id":"1328280591","filename":"file1"},{"photo_id":"1328280589","filename":"file0"},{"photo_id":"1328280608","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328280608":["hashtag1","hashtag2"]},{"1328280589":["hashtag1","hashtag2"]},{"1328280597":["hashtag1","hashtag2"]},{"1328280591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328280608, 1328280589, 1328280597, 1328280591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.323198318481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:05:52.724883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:06:02.323126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0003.jpg', '/home/pi/Desktop/images/12012025/00/05/image_12012025_00_05_02_791158_0001.jpg', '/home/pi/Desktop/images/12012025/00/05/image_12012025_00_05_02_791158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/04/image_12012025_00_04_02_681408_0003.jpg
/home/pi/Desktop/images/12012025/00/05/image_12012025_00_05_02_791158_0001.jpg
/home/pi/Desktop/images/12012025/00/05/image_12012025_00_05_02_791158_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281055","1328281182","1328281143"],"photo_ids_order":["1328281055","1328281143","1328281182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1c241004c832aa86d489d5f6060a9e8.jpg","text":"TemporaryFile(/tmp/multipartBody4706659214733160402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636829389,"filename":"image_12012025_00_04_02_681408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7df56001d76b7880aa41dea94f9e1fbd.jpg","text":"TemporaryFile(/tmp/multipartBody2475691887131312300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636829389,"filename":"image_12012025_00_05_02_791158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/152edbfc316c545a5971e2db6aa2eb98.jpg","text":"TemporaryFile(/tmp/multipartBody1714540415712656293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636829389,"filename":"image_12012025_00_05_02_791158_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281182","file1":"1328281143","file0":"1328281055"},"map_files_photo_id_array":[{"photo_id":"1328281182","filename":"file2"},{"photo_id":"1328281143","filename":"file1"},{"photo_id":"1328281055","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281055":["hashtag1","hashtag2"]},{"1328281182":["hashtag1","hashtag2"]},{"1328281143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281055, 1328281182, 1328281143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.824096202850342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:06:51.912568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:07:02.605151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/05/image_12012025_00_05_02_791158_0003.jpg', '/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0000.jpg', '/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0001.jpg', '/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/05/image_12012025_00_05_02_791158_0003.jpg
/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0000.jpg
/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0001.jpg
/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281198","1328281201","1328281196","1328281199"],"photo_ids_order":["1328281196","1328281198","1328281199","1328281201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d64d83736dd9a26151bb27d9672f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5003180007729132832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636891813,"filename":"image_12012025_00_06_03_069044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c188569a27466347e0473e3ebb17bed3.jpg","text":"TemporaryFile(/tmp/multipartBody8183859333669882578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636891813,"filename":"image_12012025_00_06_03_069044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/15658f6a048836be9309f9f4b8bcb6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5859039267348485161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636891813,"filename":"image_12012025_00_05_02_791158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3adcd2906be12babd0f8a7fd68889413.jpg","text":"TemporaryFile(/tmp/multipartBody2477819777710267334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636891813,"filename":"image_12012025_00_06_03_069044_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281199","file1":"1328281198","file0":"1328281196","file3":"1328281201"},"map_files_photo_id_array":[{"photo_id":"1328281199","filename":"file2"},{"photo_id":"1328281198","filename":"file1"},{"photo_id":"1328281196","filename":"file0"},{"photo_id":"1328281201","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281198":["hashtag1","hashtag2"]},{"1328281201":["hashtag1","hashtag2"]},{"1328281196":["hashtag1","hashtag2"]},{"1328281199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281198, 1328281201, 1328281196, 1328281199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.957685470581055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:07:52.091789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:08:02.591384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0003.jpg', '/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0000.jpg', '/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0001.jpg', '/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/06/image_12012025_00_06_03_069044_0003.jpg
/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0000.jpg
/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0001.jpg
/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281210","1328281213","1328281215","1328281212"],"photo_ids_order":["1328281210","1328281212","1328281213","1328281215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bc321e35094bc31c75ae5622c9255a3.jpg","text":"TemporaryFile(/tmp/multipartBody3723658072560888665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636951747,"filename":"image_12012025_00_06_03_069044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4fafa91be26c1314c55286b4791b11f2.jpg","text":"TemporaryFile(/tmp/multipartBody7307950124915119090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636951747,"filename":"image_12012025_00_07_02_259342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22409e7760bc9b86bedb1fcf43166230.jpg","text":"TemporaryFile(/tmp/multipartBody6641143123500882333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636951747,"filename":"image_12012025_00_07_02_259342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9de37375b6b155e5b9438da2bd2e8499.jpg","text":"TemporaryFile(/tmp/multipartBody3010027946885420658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736636951747,"filename":"image_12012025_00_07_02_259342_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281213","file1":"1328281212","file0":"1328281210","file3":"1328281215"},"map_files_photo_id_array":[{"photo_id":"1328281213","filename":"file2"},{"photo_id":"1328281212","filename":"file1"},{"photo_id":"1328281210","filename":"file0"},{"photo_id":"1328281215","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281210":["hashtag1","hashtag2"]},{"1328281213":["hashtag1","hashtag2"]},{"1328281215":["hashtag1","hashtag2"]},{"1328281212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281210, 1328281213, 1328281215, 1328281212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.53954076766968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:08:52.274793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:09:02.872607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0003.jpg', '/home/pi/Desktop/images/12012025/00/08/image_12012025_00_08_02_505100_0001.jpg', '/home/pi/Desktop/images/12012025/00/08/image_12012025_00_08_02_505100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/07/image_12012025_00_07_02_259342_0003.jpg
/home/pi/Desktop/images/12012025/00/08/image_12012025_00_08_02_505100_0001.jpg
/home/pi/Desktop/images/12012025/00/08/image_12012025_00_08_02_505100_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281232","1328281229","1328281231"],"photo_ids_order":["1328281229","1328281231","1328281232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c22ac10bc0648dfa8b32c103712f288.jpg","text":"TemporaryFile(/tmp/multipartBody1890620371416561995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637010076,"filename":"image_12012025_00_08_02_505100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab2b93ff18b0b53cc71f033408bfce50.jpg","text":"TemporaryFile(/tmp/multipartBody5596727659470783941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637010076,"filename":"image_12012025_00_07_02_259342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ec4c1293fa8e6ed9fb55c33d1c33e61.jpg","text":"TemporaryFile(/tmp/multipartBody3261105748332367076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637010076,"filename":"image_12012025_00_08_02_505100_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281232","file1":"1328281231","file0":"1328281229"},"map_files_photo_id_array":[{"photo_id":"1328281232","filename":"file2"},{"photo_id":"1328281231","filename":"file1"},{"photo_id":"1328281229","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281232":["hashtag1","hashtag2"]},{"1328281229":["hashtag1","hashtag2"]},{"1328281231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281232, 1328281229, 1328281231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.45758295059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:09:52.461646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:10:03.074678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/08/image_12012025_00_08_02_505100_0003.jpg', '/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0000.jpg', '/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0001.jpg', '/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/08/image_12012025_00_08_02_505100_0003.jpg
/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0000.jpg
/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0001.jpg
/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281297","1328281282","1328281284","1328281295"],"photo_ids_order":["1328281282","1328281284","1328281295","1328281297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e623f268507927b2ad2f25f5866fe95e.jpg","text":"TemporaryFile(/tmp/multipartBody7481611101380218763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637072327,"filename":"image_12012025_00_09_02_670556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0772252a515347542523f2ec24de4ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2923055284657419766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637072327,"filename":"image_12012025_00_08_02_505100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56c80c679952bf4d648bd03e0ddf2bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2551255360789226474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637072327,"filename":"image_12012025_00_09_02_670556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/898ca04c5630fbf2b09227e836c4dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody2833052852003881586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637072327,"filename":"image_12012025_00_09_02_670556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281295","file1":"1328281284","file0":"1328281282","file3":"1328281297"},"map_files_photo_id_array":[{"photo_id":"1328281295","filename":"file2"},{"photo_id":"1328281284","filename":"file1"},{"photo_id":"1328281282","filename":"file0"},{"photo_id":"1328281297","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281297":["hashtag1","hashtag2"]},{"1328281282":["hashtag1","hashtag2"]},{"1328281284":["hashtag1","hashtag2"]},{"1328281295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281297, 1328281282, 1328281284, 1328281295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.42352914810181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:10:52.629649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:11:02.419672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0003.jpg', '/home/pi/Desktop/images/12012025/00/10/image_12012025_00_10_02_841633_0000.jpg', '/home/pi/Desktop/images/12012025/00/10/image_12012025_00_10_02_841633_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/09/image_12012025_00_09_02_670556_0003.jpg
/home/pi/Desktop/images/12012025/00/10/image_12012025_00_10_02_841633_0000.jpg
/home/pi/Desktop/images/12012025/00/10/image_12012025_00_10_02_841633_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281409","1328281460","1328281407"],"photo_ids_order":["1328281407","1328281409","1328281460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8821452cb8998269780ba30bb15a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8204898504737578759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637129691,"filename":"image_12012025_00_10_02_841633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd9b1515082fa911b8695fdd2272f262.jpg","text":"TemporaryFile(/tmp/multipartBody6257582800799205392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637129691,"filename":"image_12012025_00_10_02_841633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8eeb403d4ea6abf06e783cf0356f0454.jpg","text":"TemporaryFile(/tmp/multipartBody6889260026528735624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637129691,"filename":"image_12012025_00_09_02_670556_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281460","file1":"1328281409","file0":"1328281407"},"map_files_photo_id_array":[{"photo_id":"1328281460","filename":"file2"},{"photo_id":"1328281409","filename":"file1"},{"photo_id":"1328281407","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281409":["hashtag1","hashtag2"]},{"1328281460":["hashtag1","hashtag2"]},{"1328281407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281409, 1328281460, 1328281407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.367809772491455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:11:51.853094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:12:02.508639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/10/image_12012025_00_10_02_841633_0002.jpg', '/home/pi/Desktop/images/12012025/00/11/image_12012025_00_11_03_023298_0001.jpg', '/home/pi/Desktop/images/12012025/00/11/image_12012025_00_11_03_023298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/10/image_12012025_00_10_02_841633_0002.jpg
/home/pi/Desktop/images/12012025/00/11/image_12012025_00_11_03_023298_0001.jpg
/home/pi/Desktop/images/12012025/00/11/image_12012025_00_11_03_023298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281483","1328281485","1328281481"],"photo_ids_order":["1328281481","1328281483","1328281485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2da1845883c9f8767fef9725e3748297.jpg","text":"TemporaryFile(/tmp/multipartBody1723065769140695625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637189529,"filename":"image_12012025_00_11_03_023298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b5d5ceeb707f9729452138aac07f2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1252185482216465339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637189529,"filename":"image_12012025_00_11_03_023298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/692dda5251ca2e6081d93cd0e338644a.jpg","text":"TemporaryFile(/tmp/multipartBody3514314708901955733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637189529,"filename":"image_12012025_00_10_02_841633_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281485","file1":"1328281483","file0":"1328281481"},"map_files_photo_id_array":[{"photo_id":"1328281485","filename":"file2"},{"photo_id":"1328281483","filename":"file1"},{"photo_id":"1328281481","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281483":["hashtag1","hashtag2"]},{"1328281485":["hashtag1","hashtag2"]},{"1328281481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281483, 1328281485, 1328281481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.988002061843872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:12:52.003777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:13:02.707396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/11/image_12012025_00_11_03_023298_0003.jpg', '/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0000.jpg', '/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0001.jpg', '/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/11/image_12012025_00_11_03_023298_0003.jpg
/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0000.jpg
/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0001.jpg
/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281577","1328281575","1328281572","1328281574"],"photo_ids_order":["1328281572","1328281574","1328281575","1328281577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39b54ad56c8a3f0e1294666bf77bcd4e.jpg","text":"TemporaryFile(/tmp/multipartBody6186894280148887424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637251899,"filename":"image_12012025_00_12_02_252116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd3383c88d2f35b044009df30b090a20.jpg","text":"TemporaryFile(/tmp/multipartBody7731616835870545721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637251899,"filename":"image_12012025_00_12_02_252116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f6d512b6e3a2dceb82d2eff2c9d8b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6983976111357663582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637251899,"filename":"image_12012025_00_11_03_023298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/094f8c1ed9c7811b642f93b7de5fd665.jpg","text":"TemporaryFile(/tmp/multipartBody1942056861170298169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637251899,"filename":"image_12012025_00_12_02_252116_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281575","file1":"1328281574","file0":"1328281572","file3":"1328281577"},"map_files_photo_id_array":[{"photo_id":"1328281575","filename":"file2"},{"photo_id":"1328281574","filename":"file1"},{"photo_id":"1328281572","filename":"file0"},{"photo_id":"1328281577","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281577":["hashtag1","hashtag2"]},{"1328281575":["hashtag1","hashtag2"]},{"1328281572":["hashtag1","hashtag2"]},{"1328281574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281577, 1328281575, 1328281572, 1328281574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.01562690734863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:13:52.180180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:14:02.858161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0003.jpg', '/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0000.jpg', '/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0001.jpg', '/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/12/image_12012025_00_12_02_252116_0003.jpg
/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0000.jpg
/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0001.jpg
/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281597","1328281601","1328281594","1328281590"],"photo_ids_order":["1328281590","1328281594","1328281597","1328281601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80d06542a6b0f72f79412e8a20b32a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2660140843286478650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637312004,"filename":"image_12012025_00_13_02_428237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3821b44147f5389f28c0529848dd8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5404645350566654334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637312004,"filename":"image_12012025_00_13_02_428237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44e1ff98b2b3b32e72c52adecb7dcdfd.jpg","text":"TemporaryFile(/tmp/multipartBody850938209097345273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637312004,"filename":"image_12012025_00_13_02_428237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/435651930880a2f37838da33e1d13752.jpg","text":"TemporaryFile(/tmp/multipartBody8095761815598397768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637312004,"filename":"image_12012025_00_12_02_252116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281597","file1":"1328281594","file0":"1328281590","file3":"1328281601"},"map_files_photo_id_array":[{"photo_id":"1328281597","filename":"file2"},{"photo_id":"1328281594","filename":"file1"},{"photo_id":"1328281590","filename":"file0"},{"photo_id":"1328281601","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281597":["hashtag1","hashtag2"]},{"1328281601":["hashtag1","hashtag2"]},{"1328281594":["hashtag1","hashtag2"]},{"1328281590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281597, 1328281601, 1328281594, 1328281590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3978796005249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:14:52.368269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:15:03.001078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0003.jpg', '/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0000.jpg', '/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0001.jpg', '/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/13/image_12012025_00_13_02_428237_0003.jpg
/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0000.jpg
/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0001.jpg
/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281618","1328281644","1328281638","1328281623"],"photo_ids_order":["1328281618","1328281623","1328281638","1328281644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c05ad4ce82098832d8abff4cb91f90e5.jpg","text":"TemporaryFile(/tmp/multipartBody7868727878254291698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637372388,"filename":"image_12012025_00_13_02_428237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f62885e858b90e5c964ed8886c4b540c.jpg","text":"TemporaryFile(/tmp/multipartBody5393832706625093514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637372388,"filename":"image_12012025_00_14_02_560910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c794d4bedadf2df8042998758e8c8609.jpg","text":"TemporaryFile(/tmp/multipartBody3802305725554290363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637372388,"filename":"image_12012025_00_14_02_560910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cdd1aa72b6594faec92fccb3ecde8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7110751666096780181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637372388,"filename":"image_12012025_00_14_02_560910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281638","file1":"1328281623","file0":"1328281618","file3":"1328281644"},"map_files_photo_id_array":[{"photo_id":"1328281638","filename":"file2"},{"photo_id":"1328281623","filename":"file1"},{"photo_id":"1328281618","filename":"file0"},{"photo_id":"1328281644","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281618":["hashtag1","hashtag2"]},{"1328281644":["hashtag1","hashtag2"]},{"1328281638":["hashtag1","hashtag2"]},{"1328281623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281618, 1328281644, 1328281638, 1328281623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.26153564453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:15:52.512488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:16:03.191663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0003.jpg', '/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0000.jpg', '/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0001.jpg', '/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/14/image_12012025_00_14_02_560910_0003.jpg
/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0000.jpg
/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0001.jpg
/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281791","1328281785","1328281788","1328281782"],"photo_ids_order":["1328281782","1328281785","1328281788","1328281791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6bd126218429e70339d0f8737bd9811.jpg","text":"TemporaryFile(/tmp/multipartBody6219684129450446119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637431515,"filename":"image_12012025_00_15_02_836305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ef760c2a556f533d842b9fcecd93905.jpg","text":"TemporaryFile(/tmp/multipartBody8384356090227569197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637431515,"filename":"image_12012025_00_15_02_836305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c39f326dc19c590dd1ae38fd70761db5.jpg","text":"TemporaryFile(/tmp/multipartBody4868220133803430169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637431515,"filename":"image_12012025_00_15_02_836305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b31deace5eafe16039d732f9f62f73f5.jpg","text":"TemporaryFile(/tmp/multipartBody6956401261271289828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637431515,"filename":"image_12012025_00_14_02_560910_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281788","file1":"1328281785","file0":"1328281782","file3":"1328281791"},"map_files_photo_id_array":[{"photo_id":"1328281788","filename":"file2"},{"photo_id":"1328281785","filename":"file1"},{"photo_id":"1328281782","filename":"file0"},{"photo_id":"1328281791","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281791":["hashtag1","hashtag2"]},{"1328281785":["hashtag1","hashtag2"]},{"1328281788":["hashtag1","hashtag2"]},{"1328281782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281791, 1328281785, 1328281788, 1328281782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.42768931388855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:16:52.712351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:17:02.501081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0003.jpg', '/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0000.jpg', '/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0001.jpg', '/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/15/image_12012025_00_15_02_836305_0003.jpg
/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0000.jpg
/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0001.jpg
/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281814","1328281816","1328281810","1328281806"],"photo_ids_order":["1328281806","1328281810","1328281814","1328281816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9ed9bcd58bdd9cf41422d14d3f2c18f.jpg","text":"TemporaryFile(/tmp/multipartBody1911840592059464435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637491541,"filename":"image_12012025_00_16_02_980030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4707364bab1a757246adc605f88db4f6.jpg","text":"TemporaryFile(/tmp/multipartBody7340119068315107476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637491541,"filename":"image_12012025_00_16_02_980030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8043bc10e8513ab21a9c1f934d20c38e.jpg","text":"TemporaryFile(/tmp/multipartBody2001559768027742842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637491541,"filename":"image_12012025_00_16_02_980030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/495a48975c21b502859aeb55e917ecc4.jpg","text":"TemporaryFile(/tmp/multipartBody3485657146288438601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637491541,"filename":"image_12012025_00_15_02_836305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281814","file1":"1328281810","file0":"1328281806","file3":"1328281816"},"map_files_photo_id_array":[{"photo_id":"1328281814","filename":"file2"},{"photo_id":"1328281810","filename":"file1"},{"photo_id":"1328281806","filename":"file0"},{"photo_id":"1328281816","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281814":["hashtag1","hashtag2"]},{"1328281816":["hashtag1","hashtag2"]},{"1328281810":["hashtag1","hashtag2"]},{"1328281806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281814, 1328281816, 1328281810, 1328281806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 36.75167369842529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:17:51.884739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:18:02.497384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0003.jpg', '/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0000.jpg', '/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0001.jpg', '/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/16/image_12012025_00_16_02_980030_0003.jpg
/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0000.jpg
/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0001.jpg
/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328281862","1328281856","1328281852","1328281859"],"photo_ids_order":["1328281852","1328281856","1328281859","1328281862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8207e4e742ef81e5a4eb1611cf949b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5566510617506067350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637552246,"filename":"image_12012025_00_17_03_054353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9e7bbe7952691a375c9b8ae9231d671.jpg","text":"TemporaryFile(/tmp/multipartBody459442757728224652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637552246,"filename":"image_12012025_00_17_03_054353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/881a0336b30e12062514ed88bd4a3b45.jpg","text":"TemporaryFile(/tmp/multipartBody5300702045857358513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637552246,"filename":"image_12012025_00_16_02_980030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71daead85f06fbfa95cc660e5cb52434.jpg","text":"TemporaryFile(/tmp/multipartBody2481083449725555219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637552246,"filename":"image_12012025_00_17_03_054353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328281859","file1":"1328281856","file0":"1328281852","file3":"1328281862"},"map_files_photo_id_array":[{"photo_id":"1328281859","filename":"file2"},{"photo_id":"1328281856","filename":"file1"},{"photo_id":"1328281852","filename":"file0"},{"photo_id":"1328281862","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328281862":["hashtag1","hashtag2"]},{"1328281856":["hashtag1","hashtag2"]},{"1328281852":["hashtag1","hashtag2"]},{"1328281859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328281862, 1328281856, 1328281852, 1328281859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.196388244628906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:18:52.073682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:19:02.833413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0003.jpg', '/home/pi/Desktop/images/12012025/00/18/image_12012025_00_18_02_369062_0000.jpg', '/home/pi/Desktop/images/12012025/00/18/image_12012025_00_18_02_369062_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/17/image_12012025_00_17_03_054353_0003.jpg
/home/pi/Desktop/images/12012025/00/18/image_12012025_00_18_02_369062_0000.jpg
/home/pi/Desktop/images/12012025/00/18/image_12012025_00_18_02_369062_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328282697","1328282276","1328282834"],"photo_ids_order":["1328282276","1328282697","1328282834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ccfa1d4d7c7239904ed8646e9179f98c.jpg","text":"TemporaryFile(/tmp/multipartBody223116073071955707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637610502,"filename":"image_12012025_00_18_02_369062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4c6c81594d84114ac584a9ea1e33718.jpg","text":"TemporaryFile(/tmp/multipartBody6497317135283104940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637610502,"filename":"image_12012025_00_17_03_054353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a055972d2f0bd3cbff97cf5deea647db.jpg","text":"TemporaryFile(/tmp/multipartBody1546225737342793753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637610502,"filename":"image_12012025_00_18_02_369062_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328282834","file1":"1328282697","file0":"1328282276"},"map_files_photo_id_array":[{"photo_id":"1328282834","filename":"file2"},{"photo_id":"1328282697","filename":"file1"},{"photo_id":"1328282276","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328282697":["hashtag1","hashtag2"]},{"1328282276":["hashtag1","hashtag2"]},{"1328282834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328282697, 1328282276, 1328282834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.413963794708252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:19:52.255151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:20:02.927714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/18/image_12012025_00_18_02_369062_0003.jpg', '/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0000.jpg', '/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0001.jpg', '/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/18/image_12012025_00_18_02_369062_0003.jpg
/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0000.jpg
/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0001.jpg
/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328283402","1328283351","1328283391","1328283317"],"photo_ids_order":["1328283317","1328283351","1328283391","1328283402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9416ceae0b0f775059e0f373208de66.jpg","text":"TemporaryFile(/tmp/multipartBody6879762699882900087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637672950,"filename":"image_12012025_00_19_02_494803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cbbc0986b20f40a9a9b692eca533dc3.jpg","text":"TemporaryFile(/tmp/multipartBody5334518393439582379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637672950,"filename":"image_12012025_00_19_02_494803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a5eb0f61e3e4ec6161645372c97ce84b.jpg","text":"TemporaryFile(/tmp/multipartBody4006405390265508628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637672950,"filename":"image_12012025_00_19_02_494803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/509823c40582bde76e0e8495d4ade571.jpg","text":"TemporaryFile(/tmp/multipartBody7019321195692003634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637672950,"filename":"image_12012025_00_18_02_369062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283391","file1":"1328283351","file0":"1328283317","file3":"1328283402"},"map_files_photo_id_array":[{"photo_id":"1328283391","filename":"file2"},{"photo_id":"1328283351","filename":"file1"},{"photo_id":"1328283317","filename":"file0"},{"photo_id":"1328283402","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328283402":["hashtag1","hashtag2"]},{"1328283351":["hashtag1","hashtag2"]},{"1328283391":["hashtag1","hashtag2"]},{"1328283317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328283402, 1328283351, 1328283391, 1328283317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88539505004883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:20:52.431344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:21:03.243058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0003.jpg', '/home/pi/Desktop/images/12012025/00/20/image_12012025_00_20_02_599121_0000.jpg', '/home/pi/Desktop/images/12012025/00/20/image_12012025_00_20_02_599121_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/19/image_12012025_00_19_02_494803_0003.jpg
/home/pi/Desktop/images/12012025/00/20/image_12012025_00_20_02_599121_0000.jpg
/home/pi/Desktop/images/12012025/00/20/image_12012025_00_20_02_599121_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328283464","1328283467","1328283472"],"photo_ids_order":["1328283464","1328283467","1328283472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5d57d17f9e27cb0d5c9482ad3615428.jpg","text":"TemporaryFile(/tmp/multipartBody6083169253230272471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637731205,"filename":"image_12012025_00_19_02_494803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d2f7bafb5e5137f834972a1e6e3aba3.jpg","text":"TemporaryFile(/tmp/multipartBody5127647659216786169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637731205,"filename":"image_12012025_00_20_02_599121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66309896e995d2f0df05f42499cfb945.jpg","text":"TemporaryFile(/tmp/multipartBody8386205227150041295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637731205,"filename":"image_12012025_00_20_02_599121_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283472","file1":"1328283467","file0":"1328283464"},"map_files_photo_id_array":[{"photo_id":"1328283472","filename":"file2"},{"photo_id":"1328283467","filename":"file1"},{"photo_id":"1328283464","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328283464":["hashtag1","hashtag2"]},{"1328283467":["hashtag1","hashtag2"]},{"1328283472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328283464, 1328283467, 1328283472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.952316284179688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:21:52.585948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:22:02.270334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/20/image_12012025_00_20_02_599121_0002.jpg', '/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0000.jpg', '/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0001.jpg', '/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/20/image_12012025_00_20_02_599121_0002.jpg
/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0000.jpg
/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0001.jpg
/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328283522","1328283530","1328283524","1328283527"],"photo_ids_order":["1328283522","1328283524","1328283527","1328283530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1df61d5cf3652f3f0673c9e70b4bf18.jpg","text":"TemporaryFile(/tmp/multipartBody902673303318377451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637792154,"filename":"image_12012025_00_20_02_599121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8505c2bcc56fba581a8b99fb9a91285c.jpg","text":"TemporaryFile(/tmp/multipartBody5455033355350605262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637792154,"filename":"image_12012025_00_21_02_814490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d57f3953670340515280b44d1cfbc784.jpg","text":"TemporaryFile(/tmp/multipartBody2007717336012273957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637792154,"filename":"image_12012025_00_21_02_814490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a5d68526ef91cca4ef96d4571554173.jpg","text":"TemporaryFile(/tmp/multipartBody4451316018663642164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637792154,"filename":"image_12012025_00_21_02_814490_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283527","file1":"1328283524","file0":"1328283522","file3":"1328283530"},"map_files_photo_id_array":[{"photo_id":"1328283527","filename":"file2"},{"photo_id":"1328283524","filename":"file1"},{"photo_id":"1328283522","filename":"file0"},{"photo_id":"1328283530","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328283522":["hashtag1","hashtag2"]},{"1328283530":["hashtag1","hashtag2"]},{"1328283524":["hashtag1","hashtag2"]},{"1328283527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328283522, 1328283530, 1328283524, 1328283527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13303089141846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:22:51.789511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:23:02.667528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0003.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0000.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0001.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0003.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0000.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0001.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.443671464920044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:23:21.935105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0003.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0000.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0001.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0002.jpg', '/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0003.jpg', '/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/21/image_12012025_00_21_02_814490_0003.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0000.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0001.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0002.jpg
/home/pi/Desktop/images/12012025/00/22/image_12012025_00_22_03_003402_0003.jpg
/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_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":["1328283583","1328283560","1328283599","1328283584","1328283598","1328283553"],"photo_ids_order":["1328283553","1328283560","1328283583","1328283584","1328283598","1328283599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d41a507a41d4c68aa63378eef45bdf9b.jpg","text":"TemporaryFile(/tmp/multipartBody2213082288318740826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637876686,"filename":"image_12012025_00_22_03_003402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c9b69b8bfae83096f47857a1acee2c3.jpg","text":"TemporaryFile(/tmp/multipartBody5802758308667450258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637876686,"filename":"image_12012025_00_22_03_003402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c271978a2ff5c3e9158825cae885a83.jpg","text":"TemporaryFile(/tmp/multipartBody1686327451670276624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637876686,"filename":"image_12012025_00_23_02_164124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b95503f0fc1ab0f36291b43fa8962aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2220597717675717352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637876686,"filename":"image_12012025_00_22_03_003402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65d51c180852dffe2974eeefb27cad0c.jpg","text":"TemporaryFile(/tmp/multipartBody306935344352945826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637876686,"filename":"image_12012025_00_22_03_003402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/195a8ff75e9482f933088e2b2ddbef9b.jpg","text":"TemporaryFile(/tmp/multipartBody7607291954670751409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637876686,"filename":"image_12012025_00_21_02_814490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283583","file1":"1328283560","file0":"1328283553","file4":"1328283598","file5":"1328283599","file3":"1328283584"},"map_files_photo_id_array":[{"photo_id":"1328283599","filename":"file5"},{"photo_id":"1328283583","filename":"file2"},{"photo_id":"1328283598","filename":"file4"},{"photo_id":"1328283560","filename":"file1"},{"photo_id":"1328283553","filename":"file0"},{"photo_id":"1328283584","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328283583":["hashtag1","hashtag2"]},{"1328283560":["hashtag1","hashtag2"]},{"1328283599":["hashtag1","hashtag2"]},{"1328283584":["hashtag1","hashtag2"]},{"1328283598":["hashtag1","hashtag2"]},{"1328283553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328283583, 1328283560, 1328283599, 1328283584, 1328283598, 1328283553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.86394906044006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:24:22.167002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0001.jpg', '/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0002.jpg', '/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0003.jpg', '/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0000.jpg', '/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0001.jpg', '/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0001.jpg
/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0002.jpg
/home/pi/Desktop/images/12012025/00/23/image_12012025_00_23_02_164124_0003.jpg
/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0000.jpg
/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0001.jpg
/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_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":["1328283699","1328283692","1328283695","1328283722","1328283725","1328283710"],"photo_ids_order":["1328283692","1328283695","1328283699","1328283710","1328283722","1328283725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71a9afa27d424522a7e207c70a5a225f.jpg","text":"TemporaryFile(/tmp/multipartBody8148652907509095215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637936567,"filename":"image_12012025_00_23_02_164124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c44179a7936a8e206c0fcd8ceeb0e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody310447027852718234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637936567,"filename":"image_12012025_00_23_02_164124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec7d0dda804df7d90939c0fe6b969131.jpg","text":"TemporaryFile(/tmp/multipartBody448212892562559430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637936567,"filename":"image_12012025_00_23_02_164124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ad6cb3009ccf29cdb781136711393ca.jpg","text":"TemporaryFile(/tmp/multipartBody2476156446641241778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637936567,"filename":"image_12012025_00_24_02_383439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ddf1a2e5314f8e8190d2512d97545588.jpg","text":"TemporaryFile(/tmp/multipartBody8042600974565431058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637936567,"filename":"image_12012025_00_24_02_383439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84664c7c29b2335b198b7c7fa40de177.jpg","text":"TemporaryFile(/tmp/multipartBody7299060833053296669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637936567,"filename":"image_12012025_00_24_02_383439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283699","file1":"1328283695","file0":"1328283692","file4":"1328283722","file5":"1328283725","file3":"1328283710"},"map_files_photo_id_array":[{"photo_id":"1328283725","filename":"file5"},{"photo_id":"1328283699","filename":"file2"},{"photo_id":"1328283722","filename":"file4"},{"photo_id":"1328283695","filename":"file1"},{"photo_id":"1328283692","filename":"file0"},{"photo_id":"1328283710","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328283699":["hashtag1","hashtag2"]},{"1328283692":["hashtag1","hashtag2"]},{"1328283695":["hashtag1","hashtag2"]},{"1328283722":["hashtag1","hashtag2"]},{"1328283725":["hashtag1","hashtag2"]},{"1328283710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328283699, 1328283692, 1328283695, 1328283722, 1328283725, 1328283710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.981083393096924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:25:22.348580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0003.jpg', '/home/pi/Desktop/images/12012025/00/25/image_12012025_00_25_02_578142_0000.jpg', '/home/pi/Desktop/images/12012025/00/25/image_12012025_00_25_02_578142_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/24/image_12012025_00_24_02_383439_0003.jpg
/home/pi/Desktop/images/12012025/00/25/image_12012025_00_25_02_578142_0000.jpg
/home/pi/Desktop/images/12012025/00/25/image_12012025_00_25_02_578142_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328283732","1328283735","1328283737"],"photo_ids_order":["1328283732","1328283735","1328283737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e8d8fad9bc7b3bdc021eec4c330d042.jpg","text":"TemporaryFile(/tmp/multipartBody3161763447459712714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637989815,"filename":"image_12012025_00_24_02_383439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25139524d6564f7ff20c16e0c7eacc50.jpg","text":"TemporaryFile(/tmp/multipartBody511405916314817135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637989815,"filename":"image_12012025_00_25_02_578142_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53666c02028be11d2f05530909e42506.jpg","text":"TemporaryFile(/tmp/multipartBody6712114298014115335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736637989815,"filename":"image_12012025_00_25_02_578142_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283737","file1":"1328283735","file0":"1328283732"},"map_files_photo_id_array":[{"photo_id":"1328283737","filename":"file2"},{"photo_id":"1328283735","filename":"file1"},{"photo_id":"1328283732","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328283732":["hashtag1","hashtag2"]},{"1328283735":["hashtag1","hashtag2"]},{"1328283737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328283732, 1328283735, 1328283737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.766180515289307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:26:02.925426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:26:22.498157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/25/image_12012025_00_25_02_578142_0003.jpg', '/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0000.jpg', '/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0001.jpg', '/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/25/image_12012025_00_25_02_578142_0003.jpg
/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0000.jpg
/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0001.jpg
/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328284009","1328283894","1328283957","1328283961"],"photo_ids_order":["1328283894","1328283957","1328283961","1328284009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/977b7b8665c927e12bfbcb83d3e2984d.jpg","text":"TemporaryFile(/tmp/multipartBody7211930724151762983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638053037,"filename":"image_12012025_00_26_02_676671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19ed36d65815e15381da3dc5f13fbf48.jpg","text":"TemporaryFile(/tmp/multipartBody5818111507978557089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638053037,"filename":"image_12012025_00_25_02_578142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b183d3a0b7b8e6ea1ea1b707125a5f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6931609085822284487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638053037,"filename":"image_12012025_00_26_02_676671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35789ae85c5fd22afa5e25e516bd9b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6382949509085152555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638053037,"filename":"image_12012025_00_26_02_676671_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328283961","file1":"1328283957","file0":"1328283894","file3":"1328284009"},"map_files_photo_id_array":[{"photo_id":"1328283961","filename":"file2"},{"photo_id":"1328283957","filename":"file1"},{"photo_id":"1328283894","filename":"file0"},{"photo_id":"1328284009","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284009":["hashtag1","hashtag2"]},{"1328283894":["hashtag1","hashtag2"]},{"1328283957":["hashtag1","hashtag2"]},{"1328283961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284009, 1328283894, 1328283957, 1328283961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.911991596221924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:27:03.159325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:27:22.642383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0003.jpg', '/home/pi/Desktop/images/12012025/00/27/image_12012025_00_27_02_840936_0001.jpg', '/home/pi/Desktop/images/12012025/00/27/image_12012025_00_27_02_840936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/26/image_12012025_00_26_02_676671_0003.jpg
/home/pi/Desktop/images/12012025/00/27/image_12012025_00_27_02_840936_0001.jpg
/home/pi/Desktop/images/12012025/00/27/image_12012025_00_27_02_840936_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328284151","1328284154","1328284153"],"photo_ids_order":["1328284151","1328284153","1328284154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/665a327e15392a6b52f8152d81fcdf2b.jpg","text":"TemporaryFile(/tmp/multipartBody4542180529528464176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638110502,"filename":"image_12012025_00_26_02_676671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8e6031a9ad7600d334f99a30867a43b.jpg","text":"TemporaryFile(/tmp/multipartBody104595019457450859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638110502,"filename":"image_12012025_00_27_02_840936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/741d09b7f0e4224118217625110695e6.jpg","text":"TemporaryFile(/tmp/multipartBody1533016635109951714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638110502,"filename":"image_12012025_00_27_02_840936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284154","file1":"1328284153","file0":"1328284151"},"map_files_photo_id_array":[{"photo_id":"1328284154","filename":"file2"},{"photo_id":"1328284153","filename":"file1"},{"photo_id":"1328284151","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284151":["hashtag1","hashtag2"]},{"1328284154":["hashtag1","hashtag2"]},{"1328284153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284151, 1328284154, 1328284153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.73815941810608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:28:02.195438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:28:21.830982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/27/image_12012025_00_27_02_840936_0003.jpg', '/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0000.jpg', '/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0001.jpg', '/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/27/image_12012025_00_27_02_840936_0003.jpg
/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0000.jpg
/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0001.jpg
/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328284194","1328284196","1328284192","1328284195"],"photo_ids_order":["1328284192","1328284194","1328284195","1328284196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6f3382a319808b486ba260c8d4b7f35.jpg","text":"TemporaryFile(/tmp/multipartBody4020137336247173662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638172024,"filename":"image_12012025_00_28_03_097284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b30526296eb578653f05034b6b4c757.jpg","text":"TemporaryFile(/tmp/multipartBody5774324376167964895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638172024,"filename":"image_12012025_00_28_03_097284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/335467a374d51771c5c65b68c825e446.jpg","text":"TemporaryFile(/tmp/multipartBody3982777946443285698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638172024,"filename":"image_12012025_00_27_02_840936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74e5b121c7f7cbfee564cf740df376d8.jpg","text":"TemporaryFile(/tmp/multipartBody5747301852700614523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638172024,"filename":"image_12012025_00_28_03_097284_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284195","file1":"1328284194","file0":"1328284192","file3":"1328284196"},"map_files_photo_id_array":[{"photo_id":"1328284195","filename":"file2"},{"photo_id":"1328284194","filename":"file1"},{"photo_id":"1328284192","filename":"file0"},{"photo_id":"1328284196","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284194":["hashtag1","hashtag2"]},{"1328284196":["hashtag1","hashtag2"]},{"1328284192":["hashtag1","hashtag2"]},{"1328284195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284194, 1328284196, 1328284192, 1328284195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.58099150657654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:29:02.624006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:29:21.958928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0003.jpg', '/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0000.jpg', '/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0001.jpg', '/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/28/image_12012025_00_28_03_097284_0003.jpg
/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0000.jpg
/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0001.jpg
/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328284228","1328284227","1328284221","1328284224"],"photo_ids_order":["1328284221","1328284224","1328284227","1328284228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/351e8152f916b3a71da018b2c77465c6.jpg","text":"TemporaryFile(/tmp/multipartBody3769187931579251023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638232257,"filename":"image_12012025_00_29_02_217262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bedc2b639620565925f812de3ac06377.jpg","text":"TemporaryFile(/tmp/multipartBody8451273496779051587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638232257,"filename":"image_12012025_00_29_02_217262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6fc05c8af95e278649ad7fbaa9b6df66.jpg","text":"TemporaryFile(/tmp/multipartBody6672521433876472119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638232257,"filename":"image_12012025_00_28_03_097284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23f415ff2822832a9969df03e76ef6ef.jpg","text":"TemporaryFile(/tmp/multipartBody6121648168000340073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638232257,"filename":"image_12012025_00_29_02_217262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284227","file1":"1328284224","file0":"1328284221","file3":"1328284228"},"map_files_photo_id_array":[{"photo_id":"1328284227","filename":"file2"},{"photo_id":"1328284224","filename":"file1"},{"photo_id":"1328284221","filename":"file0"},{"photo_id":"1328284228","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284228":["hashtag1","hashtag2"]},{"1328284227":["hashtag1","hashtag2"]},{"1328284221":["hashtag1","hashtag2"]},{"1328284224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284228, 1328284227, 1328284221, 1328284224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09958028793335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:30:02.625028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:30:22.161520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0003.jpg', '/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0000.jpg', '/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0001.jpg', '/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/29/image_12012025_00_29_02_217262_0003.jpg
/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0000.jpg
/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0001.jpg
/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_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":["1328284482","1328284551","1328284418","1328284421"],"photo_ids_order":["1328284418","1328284421","1328284482","1328284551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5137d78457dd50cf0325613d40164104.jpg","text":"TemporaryFile(/tmp/multipartBody8745820690464677885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638292416,"filename":"image_12012025_00_30_02_375895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea6e0e7c456571999a6e47870e772a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5561333174614687991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638292416,"filename":"image_12012025_00_30_02_375895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/984a2e6e5b3ae9c7e5d715fb25def722.jpg","text":"TemporaryFile(/tmp/multipartBody7006972552026194091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638292416,"filename":"image_12012025_00_29_02_217262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f75e5f56ec471dc7a059ad6dc545ddfe.jpg","text":"TemporaryFile(/tmp/multipartBody6992549308498120462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638292416,"filename":"image_12012025_00_30_02_375895_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284482","file1":"1328284421","file0":"1328284418","file3":"1328284551"},"map_files_photo_id_array":[{"photo_id":"1328284482","filename":"file2"},{"photo_id":"1328284421","filename":"file1"},{"photo_id":"1328284418","filename":"file0"},{"photo_id":"1328284551","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284482":["hashtag1","hashtag2"]},{"1328284551":["hashtag1","hashtag2"]},{"1328284418":["hashtag1","hashtag2"]},{"1328284421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284482, 1328284551, 1328284418, 1328284421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.570894956588745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:31:22.352664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0003.jpg', '/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0000.jpg', '/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0001.jpg', '/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/30/image_12012025_00_30_02_375895_0003.jpg
/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0000.jpg
/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0001.jpg
/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_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":["1328284587","1328284584","1328284583","1328284586"],"photo_ids_order":["1328284583","1328284584","1328284586","1328284587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5b8e82ed15502c0ba7cb8006335caed.jpg","text":"TemporaryFile(/tmp/multipartBody8431476035121991315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638352588,"filename":"image_12012025_00_31_02_548828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f3a456c3550f4f5212b38e72904f906.jpg","text":"TemporaryFile(/tmp/multipartBody5967612619765523991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638352588,"filename":"image_12012025_00_31_02_548828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e43daedd39d16d51364e67bd49705c8.jpg","text":"TemporaryFile(/tmp/multipartBody2576266642449581505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638352588,"filename":"image_12012025_00_30_02_375895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/006270bad7880469f41b8f059d2181be.jpg","text":"TemporaryFile(/tmp/multipartBody4300596902151816443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638352588,"filename":"image_12012025_00_31_02_548828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284586","file1":"1328284584","file0":"1328284583","file3":"1328284587"},"map_files_photo_id_array":[{"photo_id":"1328284586","filename":"file2"},{"photo_id":"1328284584","filename":"file1"},{"photo_id":"1328284583","filename":"file0"},{"photo_id":"1328284587","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284587":["hashtag1","hashtag2"]},{"1328284584":["hashtag1","hashtag2"]},{"1328284583":["hashtag1","hashtag2"]},{"1328284586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284587, 1328284584, 1328284583, 1328284586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.95945191383362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:32:22.538803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0003.jpg', '/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0000.jpg', '/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0001.jpg', '/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/31/image_12012025_00_31_02_548828_0003.jpg
/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0000.jpg
/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0001.jpg
/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_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":["1328284598","1328284595","1328284597","1328284599"],"photo_ids_order":["1328284595","1328284597","1328284598","1328284599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3869582a302a427f946bb8a0f9b6a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5657150371325164619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638412760,"filename":"image_12012025_00_32_02_702109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33463b4044eb0751bb2fe1b85efc535c.jpg","text":"TemporaryFile(/tmp/multipartBody2128603023870062407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638412760,"filename":"image_12012025_00_31_02_548828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75193025607d9f3610f2ef9df76ddeca.jpg","text":"TemporaryFile(/tmp/multipartBody1071608159251341947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638412760,"filename":"image_12012025_00_32_02_702109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6470e972fc7b84269bd067e03ba99f64.jpg","text":"TemporaryFile(/tmp/multipartBody3111200274487383923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638412760,"filename":"image_12012025_00_32_02_702109_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284598","file1":"1328284597","file0":"1328284595","file3":"1328284599"},"map_files_photo_id_array":[{"photo_id":"1328284598","filename":"file2"},{"photo_id":"1328284597","filename":"file1"},{"photo_id":"1328284595","filename":"file0"},{"photo_id":"1328284599","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284598":["hashtag1","hashtag2"]},{"1328284595":["hashtag1","hashtag2"]},{"1328284597":["hashtag1","hashtag2"]},{"1328284599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284598, 1328284595, 1328284597, 1328284599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.98402452468872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:33:21.750457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0003.jpg', '/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0000.jpg', '/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0001.jpg', '/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/32/image_12012025_00_32_02_702109_0003.jpg
/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0000.jpg
/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0001.jpg
/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_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":["1328284634","1328284619","1328284615","1328284609"],"photo_ids_order":["1328284609","1328284615","1328284619","1328284634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fc31d4e591ce75529fc212f40b6bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody1518039259325808508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638472130,"filename":"image_12012025_00_33_02_989334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed9214babbf4b22a7767ce4c39305792.jpg","text":"TemporaryFile(/tmp/multipartBody165175435627457816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638472130,"filename":"image_12012025_00_33_02_989334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec4e6aee6cc37ddb3ca0758e0d90158c.jpg","text":"TemporaryFile(/tmp/multipartBody7665884047490567243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638472130,"filename":"image_12012025_00_33_02_989334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a0bc07a00a5e230a933ea7749c79cb0.jpg","text":"TemporaryFile(/tmp/multipartBody4042168261350186758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638472130,"filename":"image_12012025_00_32_02_702109_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328284619","file1":"1328284615","file0":"1328284609","file3":"1328284634"},"map_files_photo_id_array":[{"photo_id":"1328284619","filename":"file2"},{"photo_id":"1328284615","filename":"file1"},{"photo_id":"1328284609","filename":"file0"},{"photo_id":"1328284634","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328284634":["hashtag1","hashtag2"]},{"1328284619":["hashtag1","hashtag2"]},{"1328284615":["hashtag1","hashtag2"]},{"1328284609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328284634, 1328284619, 1328284615, 1328284609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.5113685131073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:34:21.979146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0003.jpg', '/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0000.jpg', '/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0001.jpg', '/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0003.jpg
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0000.jpg
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0001.jpg
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.089430809020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:34:52.009893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:35:02.795457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0003.jpg', '/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0000.jpg', '/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0001.jpg', '/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/33/image_12012025_00_33_02_989334_0003.jpg
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0000.jpg
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0001.jpg
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328285369","1328285360","1328285357","1328285356"],"photo_ids_order":["1328285356","1328285357","1328285360","1328285369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f5b19a3b31dffc0a3a8c3f3007b9481.jpg","text":"TemporaryFile(/tmp/multipartBody6644814224652388912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638573329,"filename":"image_12012025_00_34_02_210820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1440a34c589d09b05ffb3cb5464b3e76.jpg","text":"TemporaryFile(/tmp/multipartBody8545125808951926858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638573329,"filename":"image_12012025_00_34_02_210820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e77225572422df0bcba05bd1fe3a46a.jpg","text":"TemporaryFile(/tmp/multipartBody7619459707296644594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638573329,"filename":"image_12012025_00_34_02_210820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c69cb5135d2770e98c512d62a48b35b6.jpg","text":"TemporaryFile(/tmp/multipartBody1728518921388371574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638573329,"filename":"image_12012025_00_33_02_989334_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328285360","file1":"1328285357","file0":"1328285356","file3":"1328285369"},"map_files_photo_id_array":[{"photo_id":"1328285360","filename":"file2"},{"photo_id":"1328285357","filename":"file1"},{"photo_id":"1328285356","filename":"file0"},{"photo_id":"1328285369","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328285369":["hashtag1","hashtag2"]},{"1328285360":["hashtag1","hashtag2"]},{"1328285357":["hashtag1","hashtag2"]},{"1328285356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328285369, 1328285360, 1328285357, 1328285356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00944399833679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:35:52.177295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:36:02.746316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0003.jpg', '/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0000.jpg', '/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0001.jpg', '/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/34/image_12012025_00_34_02_210820_0003.jpg
/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0000.jpg
/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0001.jpg
/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328285625","1328285572","1328285746","1328285568"],"photo_ids_order":["1328285568","1328285572","1328285625","1328285746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89785bdcaa573b3553259ffc33d43a81.jpg","text":"TemporaryFile(/tmp/multipartBody2695112400653969144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638633066,"filename":"image_12012025_00_35_02_349361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d374271b56866ca0ea2c8ba97700ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4656366304385340119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638633066,"filename":"image_12012025_00_35_02_349361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68d59113731f31a0cfe8adc9acf3df4e.jpg","text":"TemporaryFile(/tmp/multipartBody1410280678017932781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638633066,"filename":"image_12012025_00_35_02_349361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/922e552a8d64190a38b2cc24101332d4.jpg","text":"TemporaryFile(/tmp/multipartBody6479207541437454549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638633066,"filename":"image_12012025_00_34_02_210820_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328285625","file1":"1328285572","file0":"1328285568","file3":"1328285746"},"map_files_photo_id_array":[{"photo_id":"1328285625","filename":"file2"},{"photo_id":"1328285572","filename":"file1"},{"photo_id":"1328285568","filename":"file0"},{"photo_id":"1328285746","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328285625":["hashtag1","hashtag2"]},{"1328285572":["hashtag1","hashtag2"]},{"1328285746":["hashtag1","hashtag2"]},{"1328285568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328285625, 1328285572, 1328285746, 1328285568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51070737838745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:36:52.376255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:37:03.266544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0003.jpg', '/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0000.jpg', '/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0001.jpg', '/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/35/image_12012025_00_35_02_349361_0003.jpg
/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0000.jpg
/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0001.jpg
/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328285901","1328286005","1328286054","1328285784"],"photo_ids_order":["1328285784","1328285901","1328286005","1328286054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06ebfea60c4bedafb3c65ddff3345c74.jpg","text":"TemporaryFile(/tmp/multipartBody3901053568597109649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638693598,"filename":"image_12012025_00_36_02_578577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f99c97c28d0c9078940f51e094540984.jpg","text":"TemporaryFile(/tmp/multipartBody7740910615617218261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638693598,"filename":"image_12012025_00_36_02_578577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f661421622a7cefaebc5a1edb07fca83.jpg","text":"TemporaryFile(/tmp/multipartBody1408634057307819566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638693598,"filename":"image_12012025_00_36_02_578577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d9683606b9df35f5f3ad313f4bfc3e6.jpg","text":"TemporaryFile(/tmp/multipartBody2269799496413748506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638693598,"filename":"image_12012025_00_35_02_349361_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286005","file1":"1328285901","file0":"1328285784","file3":"1328286054"},"map_files_photo_id_array":[{"photo_id":"1328286005","filename":"file2"},{"photo_id":"1328285901","filename":"file1"},{"photo_id":"1328285784","filename":"file0"},{"photo_id":"1328286054","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328285901":["hashtag1","hashtag2"]},{"1328286005":["hashtag1","hashtag2"]},{"1328286054":["hashtag1","hashtag2"]},{"1328285784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328285901, 1328286005, 1328286054, 1328285784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88190484046936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:37:52.609451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:38:02.232161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0003.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0000.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0001.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0003.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0000.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0001.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.248158693313599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:38:21.821048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0003.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0000.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0001.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0002.jpg', '/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0003.jpg', '/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/36/image_12012025_00_36_02_578577_0003.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0000.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0001.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0002.jpg
/home/pi/Desktop/images/12012025/00/37/image_12012025_00_37_02_758170_0003.jpg
/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_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":["1328286080","1328286076","1328286079","1328286073","1328286081","1328286078"],"photo_ids_order":["1328286073","1328286076","1328286078","1328286079","1328286080","1328286081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b575d3b221bb4fd954d494f756f6221.jpg","text":"TemporaryFile(/tmp/multipartBody2811505615699385743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638776979,"filename":"image_12012025_00_37_02_758170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a16156022393a57c6825e191770403d.jpg","text":"TemporaryFile(/tmp/multipartBody5127694723727124658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638776979,"filename":"image_12012025_00_37_02_758170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21c42c5fb7fff54aa82308bfbcc3a3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2385367772176436404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638776979,"filename":"image_12012025_00_37_02_758170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a8dd5bbdaff98b3b78002c7edc33381.jpg","text":"TemporaryFile(/tmp/multipartBody6739662505715067721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638776979,"filename":"image_12012025_00_36_02_578577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b937aae11ff2c681db242c3e7a854cb.jpg","text":"TemporaryFile(/tmp/multipartBody450422410262436089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638776979,"filename":"image_12012025_00_38_02_927584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0c5313a714d1ed8ed54e02fc743cd18.jpg","text":"TemporaryFile(/tmp/multipartBody6525327706203750736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638776979,"filename":"image_12012025_00_37_02_758170_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286078","file1":"1328286076","file0":"1328286073","file4":"1328286080","file5":"1328286081","file3":"1328286079"},"map_files_photo_id_array":[{"photo_id":"1328286081","filename":"file5"},{"photo_id":"1328286078","filename":"file2"},{"photo_id":"1328286080","filename":"file4"},{"photo_id":"1328286076","filename":"file1"},{"photo_id":"1328286073","filename":"file0"},{"photo_id":"1328286079","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286080":["hashtag1","hashtag2"]},{"1328286076":["hashtag1","hashtag2"]},{"1328286079":["hashtag1","hashtag2"]},{"1328286073":["hashtag1","hashtag2"]},{"1328286081":["hashtag1","hashtag2"]},{"1328286078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286080, 1328286076, 1328286079, 1328286073, 1328286081, 1328286078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38367938995361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:39:21.966928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0001.jpg', '/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0002.jpg', '/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0003.jpg', '/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0000.jpg', '/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0001.jpg', '/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0001.jpg
/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0002.jpg
/home/pi/Desktop/images/12012025/00/38/image_12012025_00_38_02_927584_0003.jpg
/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0000.jpg
/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0001.jpg
/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_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":["1328286120","1328286094","1328286112","1328286121","1328286115","1328286117"],"photo_ids_order":["1328286094","1328286112","1328286115","1328286117","1328286120","1328286121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71c59d9ac47fc7ae723a50dadbcf73b6.jpg","text":"TemporaryFile(/tmp/multipartBody5664652411060515338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638837254,"filename":"image_12012025_00_39_02_254937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94ef8f1d5807af090d041507e7a53077.jpg","text":"TemporaryFile(/tmp/multipartBody7714593379875525668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638837254,"filename":"image_12012025_00_38_02_927584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e306b7daf4e7ae08444f8da33b9e0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4661861465986261896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638837254,"filename":"image_12012025_00_38_02_927584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4609271199c5b48e893103e1ed62d999.jpg","text":"TemporaryFile(/tmp/multipartBody7218886871605496486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638837254,"filename":"image_12012025_00_39_02_254937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ed75123c3d614515dd4bcdb89c381dd.jpg","text":"TemporaryFile(/tmp/multipartBody5101368871633864855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638837254,"filename":"image_12012025_00_38_02_927584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91342633970f92aeb095c1cfbefccf90.jpg","text":"TemporaryFile(/tmp/multipartBody6456787799059630390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638837254,"filename":"image_12012025_00_39_02_254937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286115","file1":"1328286112","file0":"1328286094","file4":"1328286120","file5":"1328286121","file3":"1328286117"},"map_files_photo_id_array":[{"photo_id":"1328286121","filename":"file5"},{"photo_id":"1328286115","filename":"file2"},{"photo_id":"1328286120","filename":"file4"},{"photo_id":"1328286112","filename":"file1"},{"photo_id":"1328286094","filename":"file0"},{"photo_id":"1328286117","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286120":["hashtag1","hashtag2"]},{"1328286094":["hashtag1","hashtag2"]},{"1328286112":["hashtag1","hashtag2"]},{"1328286121":["hashtag1","hashtag2"]},{"1328286115":["hashtag1","hashtag2"]},{"1328286117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286120, 1328286094, 1328286112, 1328286121, 1328286115, 1328286117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.734251260757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:40:22.202631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0003.jpg', '/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0000.jpg', '/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0001.jpg', '/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/39/image_12012025_00_39_02_254937_0003.jpg
/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0000.jpg
/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0001.jpg
/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286130","1328286133","1328286136","1328286135"],"photo_ids_order":["1328286130","1328286133","1328286135","1328286136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ffe433fb58d67d964180152bcd3e6c30.jpg","text":"TemporaryFile(/tmp/multipartBody879757316307287398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638892515,"filename":"image_12012025_00_39_02_254937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4a010edbd7be585cc3113688f393182.jpg","text":"TemporaryFile(/tmp/multipartBody3328886909283223511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638892515,"filename":"image_12012025_00_40_02_340493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3088684368807fa7101b2c1e564b126.jpg","text":"TemporaryFile(/tmp/multipartBody5166021401498975774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638892515,"filename":"image_12012025_00_40_02_340493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38e2947343b27ee33ab47a8838492e24.jpg","text":"TemporaryFile(/tmp/multipartBody5546579006670718497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638892515,"filename":"image_12012025_00_40_02_340493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286135","file1":"1328286133","file0":"1328286130","file3":"1328286136"},"map_files_photo_id_array":[{"photo_id":"1328286135","filename":"file2"},{"photo_id":"1328286133","filename":"file1"},{"photo_id":"1328286130","filename":"file0"},{"photo_id":"1328286136","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286130":["hashtag1","hashtag2"]},{"1328286133":["hashtag1","hashtag2"]},{"1328286136":["hashtag1","hashtag2"]},{"1328286135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286130, 1328286133, 1328286136, 1328286135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16312050819397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:41:02.886735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:41:22.458054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0003.jpg', '/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0000.jpg', '/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0001.jpg', '/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/40/image_12012025_00_40_02_340493_0003.jpg
/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0000.jpg
/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0001.jpg
/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_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":["1328286152","1328286154","1328286153","1328286150"],"photo_ids_order":["1328286150","1328286152","1328286153","1328286154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d14c84af994ca2a3d93da28bea86ad74.jpg","text":"TemporaryFile(/tmp/multipartBody2318720883858222251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638952797,"filename":"image_12012025_00_41_02_574875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c814783d680607f1c5aaf9bf61aa8ef3.jpg","text":"TemporaryFile(/tmp/multipartBody6884186824633670646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638952797,"filename":"image_12012025_00_41_02_574875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fdb2751d0c71e086593a0bbda9a62d19.jpg","text":"TemporaryFile(/tmp/multipartBody8129566772913919818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638952797,"filename":"image_12012025_00_41_02_574875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5aec87ac7dc5dfd3fb62958ff25640c3.jpg","text":"TemporaryFile(/tmp/multipartBody4815410722136092368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736638952797,"filename":"image_12012025_00_40_02_340493_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286153","file1":"1328286152","file0":"1328286150","file3":"1328286154"},"map_files_photo_id_array":[{"photo_id":"1328286153","filename":"file2"},{"photo_id":"1328286152","filename":"file1"},{"photo_id":"1328286150","filename":"file0"},{"photo_id":"1328286154","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286152":["hashtag1","hashtag2"]},{"1328286154":["hashtag1","hashtag2"]},{"1328286153":["hashtag1","hashtag2"]},{"1328286150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286152, 1328286154, 1328286153, 1328286150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.850502729415894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:42:22.571813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0003.jpg', '/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0000.jpg', '/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0001.jpg', '/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/41/image_12012025_00_41_02_574875_0003.jpg
/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0000.jpg
/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0001.jpg
/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286161","1328286187","1328286169","1328286184"],"photo_ids_order":["1328286161","1328286169","1328286184","1328286187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db30913913539233805b568825d370d7.jpg","text":"TemporaryFile(/tmp/multipartBody2005982088937382239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639013004,"filename":"image_12012025_00_41_02_574875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2a91bc66985931d3be9107dc5c9a54f.jpg","text":"TemporaryFile(/tmp/multipartBody6523832144291585307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639013004,"filename":"image_12012025_00_42_02_710531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26c0d53c76bf8613402b500ddc50e999.jpg","text":"TemporaryFile(/tmp/multipartBody8746915453755430502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639013004,"filename":"image_12012025_00_42_02_710531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f1ac35bebd077301fb492664268c54d1.jpg","text":"TemporaryFile(/tmp/multipartBody6740116169185341906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639013004,"filename":"image_12012025_00_42_02_710531_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286184","file1":"1328286169","file0":"1328286161","file3":"1328286187"},"map_files_photo_id_array":[{"photo_id":"1328286184","filename":"file2"},{"photo_id":"1328286169","filename":"file1"},{"photo_id":"1328286161","filename":"file0"},{"photo_id":"1328286187","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286161":["hashtag1","hashtag2"]},{"1328286187":["hashtag1","hashtag2"]},{"1328286169":["hashtag1","hashtag2"]},{"1328286184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286161, 1328286187, 1328286169, 1328286184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19125175476074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:43:03.443645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:43:22.658224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0003.jpg', '/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0000.jpg', '/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0001.jpg', '/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/42/image_12012025_00_42_02_710531_0003.jpg
/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0000.jpg
/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0001.jpg
/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286207","1328286209","1328286212","1328286210"],"photo_ids_order":["1328286207","1328286209","1328286210","1328286212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6372bd8e44a7b11c55bba99106980c8.jpg","text":"TemporaryFile(/tmp/multipartBody7915008386950837499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639072911,"filename":"image_12012025_00_42_02_710531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96706a9995b7e6f12fd09d9ab52b8a13.jpg","text":"TemporaryFile(/tmp/multipartBody1409248842308196468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639072911,"filename":"image_12012025_00_43_02_975626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04493b7fc6e345005bc290406668d210.jpg","text":"TemporaryFile(/tmp/multipartBody4579185847377815563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639072911,"filename":"image_12012025_00_43_02_975626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7f7dc83969ea9ed71eda43fc1f2608c.jpg","text":"TemporaryFile(/tmp/multipartBody1357781294461263057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639072911,"filename":"image_12012025_00_43_02_975626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286210","file1":"1328286209","file0":"1328286207","file3":"1328286212"},"map_files_photo_id_array":[{"photo_id":"1328286210","filename":"file2"},{"photo_id":"1328286209","filename":"file1"},{"photo_id":"1328286207","filename":"file0"},{"photo_id":"1328286212","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286207":["hashtag1","hashtag2"]},{"1328286209":["hashtag1","hashtag2"]},{"1328286212":["hashtag1","hashtag2"]},{"1328286210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286207, 1328286209, 1328286212, 1328286210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21490526199341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:44:02.230300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:44:21.814844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0003.jpg', '/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0000.jpg', '/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0001.jpg', '/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/43/image_12012025_00_43_02_975626_0003.jpg
/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0000.jpg
/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0001.jpg
/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286251","1328286245","1328286250","1328286249"],"photo_ids_order":["1328286245","1328286249","1328286250","1328286251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1662426ddcfb76040f6d5af1cda5260c.jpg","text":"TemporaryFile(/tmp/multipartBody997660910447980959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639132160,"filename":"image_12012025_00_44_03_120302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b63617fbfbd2ca365419875ed7553bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4258439622660796413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639132160,"filename":"image_12012025_00_43_02_975626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d27a7c228b1475b6e5ffe6c76a3983ff.jpg","text":"TemporaryFile(/tmp/multipartBody6817387358499594290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639132160,"filename":"image_12012025_00_44_03_120302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab3b4691096b4e6356e6747aff0915bb.jpg","text":"TemporaryFile(/tmp/multipartBody8210241131645016908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639132160,"filename":"image_12012025_00_44_03_120302_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286250","file1":"1328286249","file0":"1328286245","file3":"1328286251"},"map_files_photo_id_array":[{"photo_id":"1328286250","filename":"file2"},{"photo_id":"1328286249","filename":"file1"},{"photo_id":"1328286245","filename":"file0"},{"photo_id":"1328286251","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286251":["hashtag1","hashtag2"]},{"1328286245":["hashtag1","hashtag2"]},{"1328286250":["hashtag1","hashtag2"]},{"1328286249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286251, 1328286245, 1328286250, 1328286249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.864211082458496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:45:02.528402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:45:21.951219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0003.jpg', '/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0000.jpg', '/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0001.jpg', '/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/44/image_12012025_00_44_03_120302_0003.jpg
/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0000.jpg
/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0001.jpg
/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_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":["1328286536","1328286361","1328286663","1328286366"],"photo_ids_order":["1328286361","1328286366","1328286536","1328286663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8b2e88fecbb327f91aaea1990900a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3020763099248284393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639192245,"filename":"image_12012025_00_45_02_171844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ca82604445d7113234fcfcfa2f6659b.jpg","text":"TemporaryFile(/tmp/multipartBody5155444496993864715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639192245,"filename":"image_12012025_00_44_03_120302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a64ee0c67d0d8fab736ff0bba51aa81f.jpg","text":"TemporaryFile(/tmp/multipartBody6683536097264129549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639192245,"filename":"image_12012025_00_45_02_171844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e568e4617b00514497e9a749993ec14.jpg","text":"TemporaryFile(/tmp/multipartBody2627461813364269177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639192245,"filename":"image_12012025_00_45_02_171844_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286536","file1":"1328286366","file0":"1328286361","file3":"1328286663"},"map_files_photo_id_array":[{"photo_id":"1328286536","filename":"file2"},{"photo_id":"1328286366","filename":"file1"},{"photo_id":"1328286361","filename":"file0"},{"photo_id":"1328286663","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286536":["hashtag1","hashtag2"]},{"1328286361":["hashtag1","hashtag2"]},{"1328286663":["hashtag1","hashtag2"]},{"1328286366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286536, 1328286361, 1328286663, 1328286366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.144779682159424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:46:22.159327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0003.jpg', '/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0000.jpg', '/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0001.jpg', '/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/45/image_12012025_00_45_02_171844_0003.jpg
/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0000.jpg
/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0001.jpg
/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_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":["1328286801","1328286803","1328286802","1328286798"],"photo_ids_order":["1328286798","1328286801","1328286802","1328286803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/135f4f92dd181f6f4f9b787543acf129.jpg","text":"TemporaryFile(/tmp/multipartBody1192561627111821208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639252507,"filename":"image_12012025_00_46_02_347203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2dea05d19c9daccb067f96f9d451e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody6637489882235651156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639252507,"filename":"image_12012025_00_46_02_347203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00b34fc25da8bb24ee7a93bfeb5b4ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8272465203225159268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639252507,"filename":"image_12012025_00_46_02_347203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d47bc8017d58f71dfb3e6c380efc853.jpg","text":"TemporaryFile(/tmp/multipartBody8343327603851152615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639252507,"filename":"image_12012025_00_45_02_171844_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286802","file1":"1328286801","file0":"1328286798","file3":"1328286803"},"map_files_photo_id_array":[{"photo_id":"1328286802","filename":"file2"},{"photo_id":"1328286801","filename":"file1"},{"photo_id":"1328286798","filename":"file0"},{"photo_id":"1328286803","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286801":["hashtag1","hashtag2"]},{"1328286803":["hashtag1","hashtag2"]},{"1328286802":["hashtag1","hashtag2"]},{"1328286798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286801, 1328286803, 1328286802, 1328286798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31007742881775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:47:22.352937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0003.jpg', '/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0000.jpg', '/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/46/image_12012025_00_46_02_347203_0003.jpg
/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0000.jpg
/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286815","1328286818","1328286811"],"photo_ids_order":["1328286811","1328286815","1328286818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d01f377ab716dd1bee81f30d838cca0.jpg","text":"TemporaryFile(/tmp/multipartBody3293075995278820721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639310203,"filename":"image_12012025_00_47_02_513081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6fc51844a84a798c7ed5d0de0fc18bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7072020620769661495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639310203,"filename":"image_12012025_00_47_02_513081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c45e7d5085009118cfb2f68c6630174f.jpg","text":"TemporaryFile(/tmp/multipartBody5272689423974607793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639310203,"filename":"image_12012025_00_46_02_347203_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286818","file1":"1328286815","file0":"1328286811"},"map_files_photo_id_array":[{"photo_id":"1328286818","filename":"file2"},{"photo_id":"1328286815","filename":"file1"},{"photo_id":"1328286811","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286815":["hashtag1","hashtag2"]},{"1328286818":["hashtag1","hashtag2"]},{"1328286811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286815, 1328286818, 1328286811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.207388401031494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:48:02.944215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:48:22.487475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0002.jpg', '/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0000.jpg', '/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0001.jpg', '/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0002.jpg
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0000.jpg
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0001.jpg
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.044239282608032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:48:52.496767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:49:03.184462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0002.jpg', '/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0000.jpg', '/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0001.jpg', '/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/47/image_12012025_00_47_02_513081_0002.jpg
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0000.jpg
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0001.jpg
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286917","1328286905","1328286908","1328286912"],"photo_ids_order":["1328286905","1328286908","1328286912","1328286917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6901ddc90fa03ee80eed00e2ec1c4ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4915230241034626736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639413710,"filename":"image_12012025_00_48_02_745810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5db72b202a76ab6df9895559378e6e62.jpg","text":"TemporaryFile(/tmp/multipartBody1686947757644487996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639413710,"filename":"image_12012025_00_47_02_513081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58b07125ae262b20cff7cd5c8046373d.jpg","text":"TemporaryFile(/tmp/multipartBody2281973035859488240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639413710,"filename":"image_12012025_00_48_02_745810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b68bb0d14395d12e1fc4bb491b23cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4917728428239886424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639413710,"filename":"image_12012025_00_48_02_745810_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286912","file1":"1328286908","file0":"1328286905","file3":"1328286917"},"map_files_photo_id_array":[{"photo_id":"1328286912","filename":"file2"},{"photo_id":"1328286908","filename":"file1"},{"photo_id":"1328286905","filename":"file0"},{"photo_id":"1328286917","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286917":["hashtag1","hashtag2"]},{"1328286905":["hashtag1","hashtag2"]},{"1328286908":["hashtag1","hashtag2"]},{"1328286912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286917, 1328286905, 1328286908, 1328286912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 64.26384282112122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 00:50:21.852271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0003.jpg', '/home/pi/Desktop/images/12012025/00/49/image_12012025_00_49_02_937419_0001.jpg', '/home/pi/Desktop/images/12012025/00/49/image_12012025_00_49_02_937419_0002.jpg', '/home/pi/Desktop/images/12012025/00/49/image_12012025_00_49_02_937419_0003.jpg', '/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0000.jpg', '/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/48/image_12012025_00_48_02_745810_0003.jpg
/home/pi/Desktop/images/12012025/00/49/image_12012025_00_49_02_937419_0001.jpg
/home/pi/Desktop/images/12012025/00/49/image_12012025_00_49_02_937419_0002.jpg
/home/pi/Desktop/images/12012025/00/49/image_12012025_00_49_02_937419_0003.jpg
/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0000.jpg
/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_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":["1328286929","1328286923","1328286926","1328286925","1328286922","1328286924"],"photo_ids_order":["1328286922","1328286923","1328286924","1328286925","1328286926","1328286929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4eb3c1a7a86f820fcb0a13b33411923f.jpg","text":"TemporaryFile(/tmp/multipartBody7753251602113312297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639496813,"filename":"image_12012025_00_50_03_044311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91eb94c7c3f089f8ce42ca1d463b34e0.jpg","text":"TemporaryFile(/tmp/multipartBody2162031076224883880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639496813,"filename":"image_12012025_00_49_02_937419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52b9270cc7b846f99f434313e7eb23eb.jpg","text":"TemporaryFile(/tmp/multipartBody1234751206547629805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639496813,"filename":"image_12012025_00_50_03_044311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b6cb457ee2ba9fdff381d5ee45a74a7.jpg","text":"TemporaryFile(/tmp/multipartBody2912660429607324407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639496813,"filename":"image_12012025_00_49_02_937419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9e0834e11d2df967ce08e50ef1997de.jpg","text":"TemporaryFile(/tmp/multipartBody1204342517200864761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639496813,"filename":"image_12012025_00_48_02_745810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a77664dee6990d4328f419672ade4ab6.jpg","text":"TemporaryFile(/tmp/multipartBody216102409613931518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639496813,"filename":"image_12012025_00_49_02_937419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286924","file1":"1328286923","file0":"1328286922","file4":"1328286926","file5":"1328286929","file3":"1328286925"},"map_files_photo_id_array":[{"photo_id":"1328286929","filename":"file5"},{"photo_id":"1328286924","filename":"file2"},{"photo_id":"1328286926","filename":"file4"},{"photo_id":"1328286923","filename":"file1"},{"photo_id":"1328286922","filename":"file0"},{"photo_id":"1328286925","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286929":["hashtag1","hashtag2"]},{"1328286923":["hashtag1","hashtag2"]},{"1328286926":["hashtag1","hashtag2"]},{"1328286925":["hashtag1","hashtag2"]},{"1328286922":["hashtag1","hashtag2"]},{"1328286924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286929, 1328286923, 1328286926, 1328286925, 1328286922, 1328286924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.36624503135681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:51:52.028588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:52:02.658536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0002.jpg', '/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0003.jpg', '/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0000.jpg', '/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0001.jpg', '/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0002.jpg
/home/pi/Desktop/images/12012025/00/50/image_12012025_00_50_03_044311_0003.jpg
/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0000.jpg
/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0001.jpg
/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328286984","1328286987","1328286981","1328286978","1328286989"],"photo_ids_order":["1328286978","1328286981","1328286984","1328286987","1328286989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ec516fb5420524636fe7989c17227e3.jpg","text":"TemporaryFile(/tmp/multipartBody868745856322855102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639595503,"filename":"image_12012025_00_51_02_231144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/348a183090a5b7d5ad5bd8a791b4b095.jpg","text":"TemporaryFile(/tmp/multipartBody7771011773069285709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639595503,"filename":"image_12012025_00_51_02_231144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebd647eb68cc53eca86389af6a749708.jpg","text":"TemporaryFile(/tmp/multipartBody6123087072189636154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639595503,"filename":"image_12012025_00_50_03_044311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/782624ca6baab3f6b52d85d8518985b8.jpg","text":"TemporaryFile(/tmp/multipartBody6023651337332946233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639595503,"filename":"image_12012025_00_50_03_044311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a703d5c4c9170edb06d71e39301170a8.jpg","text":"TemporaryFile(/tmp/multipartBody1904178394979593863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639595503,"filename":"image_12012025_00_51_02_231144_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328286984","file1":"1328286981","file0":"1328286978","file4":"1328286989","file3":"1328286987"},"map_files_photo_id_array":[{"photo_id":"1328286984","filename":"file2"},{"photo_id":"1328286989","filename":"file4"},{"photo_id":"1328286981","filename":"file1"},{"photo_id":"1328286978","filename":"file0"},{"photo_id":"1328286987","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328286984":["hashtag1","hashtag2"]},{"1328286987":["hashtag1","hashtag2"]},{"1328286981":["hashtag1","hashtag2"]},{"1328286978":["hashtag1","hashtag2"]},{"1328286989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328286984, 1328286987, 1328286981, 1328286978, 1328286989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.40054750442505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:52:52.142234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:53:02.903229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0003.jpg', '/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0000.jpg', '/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0001.jpg', '/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/51/image_12012025_00_51_02_231144_0003.jpg
/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0000.jpg
/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0001.jpg
/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287000","1328286993","1328286996","1328287005"],"photo_ids_order":["1328286993","1328286996","1328287000","1328287005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7fcfc4e5a54ad8e2dbabeb534cc33cd.jpg","text":"TemporaryFile(/tmp/multipartBody4241803513804175592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639653312,"filename":"image_12012025_00_52_02_400806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f191930e75040bf060cd64e4a00146d.jpg","text":"TemporaryFile(/tmp/multipartBody3271793100040011079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639653312,"filename":"image_12012025_00_51_02_231144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8a40d3d5d9021f20e178bb7a526e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody2272767884663695639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639653312,"filename":"image_12012025_00_52_02_400806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85505ad248c30971c43ea947f23765a9.jpg","text":"TemporaryFile(/tmp/multipartBody9198370806464830776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639653312,"filename":"image_12012025_00_52_02_400806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287000","file1":"1328286996","file0":"1328286993","file3":"1328287005"},"map_files_photo_id_array":[{"photo_id":"1328287000","filename":"file2"},{"photo_id":"1328286996","filename":"file1"},{"photo_id":"1328286993","filename":"file0"},{"photo_id":"1328287005","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287000":["hashtag1","hashtag2"]},{"1328286993":["hashtag1","hashtag2"]},{"1328286996":["hashtag1","hashtag2"]},{"1328287005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287000, 1328286993, 1328286996, 1328287005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73797130584717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:53:52.262228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:54:02.867563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0003.jpg', '/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0000.jpg', '/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0001.jpg', '/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/52/image_12012025_00_52_02_400806_0003.jpg
/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0000.jpg
/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0001.jpg
/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287013","1328287022","1328287010","1328287018"],"photo_ids_order":["1328287010","1328287013","1328287018","1328287022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d71afa7e6a95dc8bb242ad2722001db.jpg","text":"TemporaryFile(/tmp/multipartBody993094930645884303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639713224,"filename":"image_12012025_00_53_02_568106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f66ca9d28229a8b70236c0da60d284ff.jpg","text":"TemporaryFile(/tmp/multipartBody5711508477270679189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639713224,"filename":"image_12012025_00_53_02_568106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae37b84af72bd46bc10eeae3633efbd5.jpg","text":"TemporaryFile(/tmp/multipartBody5413373516295170444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639713224,"filename":"image_12012025_00_52_02_400806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c1b1bdb0dbffbb10a331316cf7e5a46.jpg","text":"TemporaryFile(/tmp/multipartBody8234625157880343570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639713224,"filename":"image_12012025_00_53_02_568106_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287018","file1":"1328287013","file0":"1328287010","file3":"1328287022"},"map_files_photo_id_array":[{"photo_id":"1328287018","filename":"file2"},{"photo_id":"1328287013","filename":"file1"},{"photo_id":"1328287010","filename":"file0"},{"photo_id":"1328287022","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287013":["hashtag1","hashtag2"]},{"1328287022":["hashtag1","hashtag2"]},{"1328287010":["hashtag1","hashtag2"]},{"1328287018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287013, 1328287022, 1328287010, 1328287018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30207180976868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:54:52.449999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:55:03.186728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0003.jpg', '/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0000.jpg', '/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0001.jpg', '/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/53/image_12012025_00_53_02_568106_0003.jpg
/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0000.jpg
/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0001.jpg
/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287073","1328287112","1328287177","1328287179"],"photo_ids_order":["1328287073","1328287112","1328287177","1328287179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ce4b48455498dad6e74d7c556cbb34d.jpg","text":"TemporaryFile(/tmp/multipartBody5787731106253091779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639773500,"filename":"image_12012025_00_53_02_568106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f53e928a6bafd36c00299759a8e2b10.jpg","text":"TemporaryFile(/tmp/multipartBody8814360406037386480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639773500,"filename":"image_12012025_00_54_02_651533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c4e2effb6a7d156c2e9562641438167.jpg","text":"TemporaryFile(/tmp/multipartBody7337817918182541876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639773500,"filename":"image_12012025_00_54_02_651533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72889661f849991149d73ceb9c70a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6875478693540063430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639773500,"filename":"image_12012025_00_54_02_651533_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287177","file1":"1328287112","file0":"1328287073","file3":"1328287179"},"map_files_photo_id_array":[{"photo_id":"1328287177","filename":"file2"},{"photo_id":"1328287112","filename":"file1"},{"photo_id":"1328287073","filename":"file0"},{"photo_id":"1328287179","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287073":["hashtag1","hashtag2"]},{"1328287112":["hashtag1","hashtag2"]},{"1328287177":["hashtag1","hashtag2"]},{"1328287179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287073, 1328287112, 1328287177, 1328287179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56922435760498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:55:52.627173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:56:02.181830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0003.jpg', '/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0000.jpg', '/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0001.jpg', '/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/54/image_12012025_00_54_02_651533_0003.jpg
/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0000.jpg
/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0001.jpg
/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287192","1328287186","1328287189","1328287184"],"photo_ids_order":["1328287184","1328287186","1328287189","1328287192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd1406dde4a8a1ee24224d25dc441d93.jpg","text":"TemporaryFile(/tmp/multipartBody7890602370648601848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639832535,"filename":"image_12012025_00_55_02_808466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e5979da03bc4afc53b9a5f229de6bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8133349724139581743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639832535,"filename":"image_12012025_00_55_02_808466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/164bffd961f170627873f4eed4da2a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2734806402803148142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639832535,"filename":"image_12012025_00_55_02_808466_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da94dbc21f4096ca92221d8e30af5d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5129908718528923692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639832535,"filename":"image_12012025_00_54_02_651533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287189","file1":"1328287186","file0":"1328287184","file3":"1328287192"},"map_files_photo_id_array":[{"photo_id":"1328287189","filename":"file2"},{"photo_id":"1328287186","filename":"file1"},{"photo_id":"1328287184","filename":"file0"},{"photo_id":"1328287192","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287192":["hashtag1","hashtag2"]},{"1328287186":["hashtag1","hashtag2"]},{"1328287189":["hashtag1","hashtag2"]},{"1328287184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287192, 1328287186, 1328287189, 1328287184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17997193336487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:56:51.752381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:57:02.664668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0003.jpg', '/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0000.jpg', '/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0001.jpg', '/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/55/image_12012025_00_55_02_808466_0003.jpg
/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0000.jpg
/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0001.jpg
/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287202","1328287210","1328287206","1328287199"],"photo_ids_order":["1328287199","1328287202","1328287206","1328287210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba31c2093d55af3606aecc5816a960f8.jpg","text":"TemporaryFile(/tmp/multipartBody979110264339781224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639893082,"filename":"image_12012025_00_56_02_960028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8eda6218b2cfff61f2029ff4631546e1.jpg","text":"TemporaryFile(/tmp/multipartBody754263951738551685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639893082,"filename":"image_12012025_00_56_02_960028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02c0cea0734dadd0c381c3e803783c41.jpg","text":"TemporaryFile(/tmp/multipartBody5353406216799398266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639893082,"filename":"image_12012025_00_56_02_960028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b87467503353dc606748cdeb639507d1.jpg","text":"TemporaryFile(/tmp/multipartBody3144637166976958004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736639893082,"filename":"image_12012025_00_55_02_808466_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287206","file1":"1328287202","file0":"1328287199","file3":"1328287210"},"map_files_photo_id_array":[{"photo_id":"1328287206","filename":"file2"},{"photo_id":"1328287202","filename":"file1"},{"photo_id":"1328287199","filename":"file0"},{"photo_id":"1328287210","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287202":["hashtag1","hashtag2"]},{"1328287210":["hashtag1","hashtag2"]},{"1328287206":["hashtag1","hashtag2"]},{"1328287199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287202, 1328287210, 1328287206, 1328287199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.633915424346924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-12 00:57:51.979323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 00:59:02.884432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0003.jpg', '/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0000.jpg', '/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0001.jpg', '/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0002.jpg', '/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0003.jpg', '/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/56/image_12012025_00_56_02_960028_0003.jpg
/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0000.jpg
/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0001.jpg
/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0002.jpg
/home/pi/Desktop/images/12012025/00/57/image_12012025_00_57_02_163417_0003.jpg
/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287265","1328287270","1328287261","1328287860","1328287464","1328287716"],"photo_ids_order":["1328287261","1328287265","1328287270","1328287464","1328287716","1328287860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f2f60d5bd4e5a18b16d9f9becdeffe9.jpg","text":"TemporaryFile(/tmp/multipartBody3669254377349120476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640018289,"filename":"image_12012025_00_57_02_163417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c19de7c088eef6f5f31daafd14fd772.jpg","text":"TemporaryFile(/tmp/multipartBody1233201481277398882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640018289,"filename":"image_12012025_00_57_02_163417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80ce1ef57420021c0d4253dad339af03.jpg","text":"TemporaryFile(/tmp/multipartBody7044361961653889369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640018289,"filename":"image_12012025_00_56_02_960028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de672ecd9d3170f9825b5c35371eb738.jpg","text":"TemporaryFile(/tmp/multipartBody8522952929735005530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640018289,"filename":"image_12012025_00_58_02_305856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/955f30a5f0d25999b809e699049e99bd.jpg","text":"TemporaryFile(/tmp/multipartBody3190038597417671797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640018289,"filename":"image_12012025_00_57_02_163417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/015575a924573c85b5651e069bb3689e.jpg","text":"TemporaryFile(/tmp/multipartBody3470831381551328464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640018289,"filename":"image_12012025_00_57_02_163417_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287270","file1":"1328287265","file0":"1328287261","file4":"1328287716","file5":"1328287860","file3":"1328287464"},"map_files_photo_id_array":[{"photo_id":"1328287860","filename":"file5"},{"photo_id":"1328287270","filename":"file2"},{"photo_id":"1328287716","filename":"file4"},{"photo_id":"1328287265","filename":"file1"},{"photo_id":"1328287261","filename":"file0"},{"photo_id":"1328287464","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287265":["hashtag1","hashtag2"]},{"1328287270":["hashtag1","hashtag2"]},{"1328287261":["hashtag1","hashtag2"]},{"1328287860":["hashtag1","hashtag2"]},{"1328287464":["hashtag1","hashtag2"]},{"1328287716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287265, 1328287270, 1328287261, 1328287860, 1328287464, 1328287716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94519853591919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:00:02.646700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0001.jpg', '/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0002.jpg', '/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0003.jpg', '/home/pi/Desktop/images/12012025/00/59/image_12012025_00_59_02_577436_0000.jpg', '/home/pi/Desktop/images/12012025/00/59/image_12012025_00_59_02_577436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0001.jpg
/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0002.jpg
/home/pi/Desktop/images/12012025/00/58/image_12012025_00_58_02_305856_0003.jpg
/home/pi/Desktop/images/12012025/00/59/image_12012025_00_59_02_577436_0000.jpg
/home/pi/Desktop/images/12012025/00/59/image_12012025_00_59_02_577436_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328287897","1328287882","1328287884","1328287874","1328287877"],"photo_ids_order":["1328287874","1328287877","1328287882","1328287884","1328287897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95d3c8f656ba38992c60cfb4621a4396.jpg","text":"TemporaryFile(/tmp/multipartBody3302100991451018571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640075489,"filename":"image_12012025_00_59_02_577436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a0ae6aaeda17c518821e41c4a67a44a.jpg","text":"TemporaryFile(/tmp/multipartBody4461598593903245384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640075489,"filename":"image_12012025_00_58_02_305856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1665b12f9ecf410878231a792a5cf05e.jpg","text":"TemporaryFile(/tmp/multipartBody5478956348938458660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640075489,"filename":"image_12012025_00_59_02_577436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5f74ca80c4bf0dcb46c093d8a2161bf.jpg","text":"TemporaryFile(/tmp/multipartBody2259741961515162401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640075489,"filename":"image_12012025_00_58_02_305856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2e19f80580ff8af76706728f55f4c62.jpg","text":"TemporaryFile(/tmp/multipartBody7069802675489001226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640075489,"filename":"image_12012025_00_58_02_305856_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328287882","file1":"1328287877","file0":"1328287874","file4":"1328287897","file3":"1328287884"},"map_files_photo_id_array":[{"photo_id":"1328287882","filename":"file2"},{"photo_id":"1328287897","filename":"file4"},{"photo_id":"1328287877","filename":"file1"},{"photo_id":"1328287874","filename":"file0"},{"photo_id":"1328287884","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328287897":["hashtag1","hashtag2"]},{"1328287882":["hashtag1","hashtag2"]},{"1328287884":["hashtag1","hashtag2"]},{"1328287874":["hashtag1","hashtag2"]},{"1328287877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328287897, 1328287882, 1328287884, 1328287874, 1328287877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.97312355041504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:01:03.213055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/00/59/image_12012025_00_59_02_577436_0003.jpg', '/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0000.jpg', '/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0001.jpg', '/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/00/59/image_12012025_00_59_02_577436_0003.jpg
/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0000.jpg
/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0001.jpg
/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328288228","1328288250","1328288255","1328288237"],"photo_ids_order":["1328288228","1328288237","1328288250","1328288255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/382fda41312b6734bdb281db9b79bbea.jpg","text":"TemporaryFile(/tmp/multipartBody6457703702407522363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640133825,"filename":"image_12012025_00_59_02_577436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/825bc530e6a79ce68e2170735526bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody5849286957774397073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640133825,"filename":"image_12012025_01_00_02_757224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b861381042a88ca4cede95fb75fb961f.jpg","text":"TemporaryFile(/tmp/multipartBody6132079124555369404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640133825,"filename":"image_12012025_01_00_02_757224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04f3869bd8978caa5580b63ed8d69c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4560348237976668533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640133825,"filename":"image_12012025_01_00_02_757224_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328288250","file1":"1328288237","file0":"1328288228","file3":"1328288255"},"map_files_photo_id_array":[{"photo_id":"1328288250","filename":"file2"},{"photo_id":"1328288237","filename":"file1"},{"photo_id":"1328288228","filename":"file0"},{"photo_id":"1328288255","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328288228":["hashtag1","hashtag2"]},{"1328288250":["hashtag1","hashtag2"]},{"1328288255":["hashtag1","hashtag2"]},{"1328288237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328288228, 1328288250, 1328288255, 1328288237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.626619815826416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:02:02.574194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0003.jpg', '/home/pi/Desktop/images/12012025/01/01/image_12012025_01_01_02_427572_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0003.jpg
/home/pi/Desktop/images/12012025/01/01/image_12012025_01_01_02_427572_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.19986891746521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:02:22.192338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0003.jpg', '/home/pi/Desktop/images/12012025/01/01/image_12012025_01_01_02_427572_0000.jpg', '/home/pi/Desktop/images/12012025/01/01/image_12012025_01_01_02_427572_0003.jpg', '/home/pi/Desktop/images/12012025/01/02/image_12012025_01_02_03_002679_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/00/image_12012025_01_00_02_757224_0003.jpg
/home/pi/Desktop/images/12012025/01/01/image_12012025_01_01_02_427572_0000.jpg
/home/pi/Desktop/images/12012025/01/01/image_12012025_01_01_02_427572_0003.jpg
/home/pi/Desktop/images/12012025/01/02/image_12012025_01_02_03_002679_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328288411","1328288413","1328288406","1328288409"],"photo_ids_order":["1328288406","1328288409","1328288411","1328288413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e19412d446f039ee13db1b6c4cd45afc.jpg","text":"TemporaryFile(/tmp/multipartBody7193559564326711371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640212712,"filename":"image_12012025_01_01_02_427572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/258e7d07744c9ed98e6003352e346b27.jpg","text":"TemporaryFile(/tmp/multipartBody864929467675806899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640212712,"filename":"image_12012025_01_02_03_002679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ee1c85e5d0dc69ff30d35974399cd9a.jpg","text":"TemporaryFile(/tmp/multipartBody7674234843647640115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640212712,"filename":"image_12012025_01_00_02_757224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5328897271ba0a4c1cf9d3ebde874525.jpg","text":"TemporaryFile(/tmp/multipartBody1568105947039316988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640212712,"filename":"image_12012025_01_01_02_427572_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328288411","file1":"1328288409","file0":"1328288406","file3":"1328288413"},"map_files_photo_id_array":[{"photo_id":"1328288411","filename":"file2"},{"photo_id":"1328288409","filename":"file1"},{"photo_id":"1328288406","filename":"file0"},{"photo_id":"1328288413","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328288411":["hashtag1","hashtag2"]},{"1328288413":["hashtag1","hashtag2"]},{"1328288406":["hashtag1","hashtag2"]},{"1328288409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328288411, 1328288413, 1328288406, 1328288409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16253995895386 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-12 01:03:21.847178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/02/image_12012025_01_02_03_002679_0002.jpg', '/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0000.jpg', '/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/02/image_12012025_01_02_03_002679_0002.jpg
/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0000.jpg
/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328288425","1328288434","1328288422"],"photo_ids_order":["1328288422","1328288425","1328288434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51b4ca4211530a02fc782af8817cbccf.jpg","text":"TemporaryFile(/tmp/multipartBody8947958654942779491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640269909,"filename":"image_12012025_01_03_02_624541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb692983619b419d29a539e59c2d9e50.jpg","text":"TemporaryFile(/tmp/multipartBody2763529800377021068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640269909,"filename":"image_12012025_01_03_02_624541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/734aeccbd94e4d78cb3d1df7b4177197.jpg","text":"TemporaryFile(/tmp/multipartBody2794976585632413779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640269909,"filename":"image_12012025_01_02_03_002679_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328288434","file1":"1328288425","file0":"1328288422"},"map_files_photo_id_array":[{"photo_id":"1328288434","filename":"file2"},{"photo_id":"1328288425","filename":"file1"},{"photo_id":"1328288422","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328288425":["hashtag1","hashtag2"]},{"1328288434":["hashtag1","hashtag2"]},{"1328288422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328288425, 1328288434, 1328288422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.770562171936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:04:02.815238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:04:22.427544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0003.jpg', '/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0001.jpg', '/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0003.jpg
/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0001.jpg
/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.667550563812256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:05:02.497699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0003.jpg', '/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0001.jpg', '/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/03/image_12012025_01_03_02_624541_0003.jpg
/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0001.jpg
/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328288463","1328288462","1328288465"],"photo_ids_order":["1328288462","1328288463","1328288465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a4fa226cf9b737ed8934d3c88b6bea8.jpg","text":"TemporaryFile(/tmp/multipartBody990494411118413638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640370642,"filename":"image_12012025_01_04_02_260228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0056d4dc6ffa97e3a0d682d910622c22.jpg","text":"TemporaryFile(/tmp/multipartBody8123724130863188478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640370642,"filename":"image_12012025_01_03_02_624541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f3b9a1463840c83ace4e307cfea3e42.jpg","text":"TemporaryFile(/tmp/multipartBody5141288790308248501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640370642,"filename":"image_12012025_01_04_02_260228_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328288465","file1":"1328288463","file0":"1328288462"},"map_files_photo_id_array":[{"photo_id":"1328288465","filename":"file2"},{"photo_id":"1328288463","filename":"file1"},{"photo_id":"1328288462","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328288463":["hashtag1","hashtag2"]},{"1328288462":["hashtag1","hashtag2"]},{"1328288465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328288463, 1328288462, 1328288465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.615301847457886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:06:03.022805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/04/image_12012025_01_04_02_260228_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328288685"],"photo_id":"1328288685","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba866e5071aeced25b229ffc5bbd8f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6486258455333555598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640426155,"filename":"image_12012025_01_04_02_260228_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328288685"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328288685"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.85876488685608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:06:22.604545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/05/image_12012025_01_05_02_760496_0001.jpg', '/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0000.jpg', '/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0001.jpg', '/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/05/image_12012025_01_05_02_760496_0001.jpg
/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0000.jpg
/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0001.jpg
/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328289622","1328289616","1328289619","1328289612"],"photo_ids_order":["1328289612","1328289616","1328289619","1328289622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d9da737de6a5e0445919979be4c9853.jpg","text":"TemporaryFile(/tmp/multipartBody2830203818135009920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640453138,"filename":"image_12012025_01_06_02_261775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ded75ede05d976b89fa355dd7dd827a3.jpg","text":"TemporaryFile(/tmp/multipartBody6639253616037984263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640453138,"filename":"image_12012025_01_06_02_261775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd87ec700c8bb8d317fd42353e07bef6.jpg","text":"TemporaryFile(/tmp/multipartBody1321926547950429450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640453138,"filename":"image_12012025_01_06_02_261775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb285d9f94e61e10cb5f25e411956892.jpg","text":"TemporaryFile(/tmp/multipartBody5879666855533673460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640453138,"filename":"image_12012025_01_05_02_760496_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328289619","file1":"1328289616","file0":"1328289612","file3":"1328289622"},"map_files_photo_id_array":[{"photo_id":"1328289619","filename":"file2"},{"photo_id":"1328289616","filename":"file1"},{"photo_id":"1328289612","filename":"file0"},{"photo_id":"1328289622","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328289622":["hashtag1","hashtag2"]},{"1328289616":["hashtag1","hashtag2"]},{"1328289619":["hashtag1","hashtag2"]},{"1328289612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328289622, 1328289616, 1328289619, 1328289612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65345478057861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:07:02.622957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:07:22.132143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0003.jpg', '/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0000.jpg', '/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0001.jpg', '/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/06/image_12012025_01_06_02_261775_0003.jpg
/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0000.jpg
/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0001.jpg
/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328289957","1328289890","1328289953","1328289892"],"photo_ids_order":["1328289890","1328289892","1328289953","1328289957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f3ad1192d65f0159f4e9813f18418f3.jpg","text":"TemporaryFile(/tmp/multipartBody1997960577264123112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640512698,"filename":"image_12012025_01_07_02_985531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/553e3652407ffa985acde152cfdaecca.jpg","text":"TemporaryFile(/tmp/multipartBody7484788685603388292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640512698,"filename":"image_12012025_01_06_02_261775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/716bf8dee4ab44fbba8c2d9c433997a9.jpg","text":"TemporaryFile(/tmp/multipartBody571442390938029238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640512698,"filename":"image_12012025_01_07_02_985531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19aaaeddc231d6228245050fb55314ab.jpg","text":"TemporaryFile(/tmp/multipartBody2709277833452221102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640512698,"filename":"image_12012025_01_07_02_985531_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328289953","file1":"1328289892","file0":"1328289890","file3":"1328289957"},"map_files_photo_id_array":[{"photo_id":"1328289953","filename":"file2"},{"photo_id":"1328289892","filename":"file1"},{"photo_id":"1328289890","filename":"file0"},{"photo_id":"1328289957","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328289957":["hashtag1","hashtag2"]},{"1328289890":["hashtag1","hashtag2"]},{"1328289953":["hashtag1","hashtag2"]},{"1328289892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328289957, 1328289890, 1328289953, 1328289892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.194467306137085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:08:03.056636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:08:22.650892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0003.jpg', '/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0000.jpg', '/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0001.jpg', '/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/07/image_12012025_01_07_02_985531_0003.jpg
/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0000.jpg
/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0001.jpg
/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328289977","1328289974","1328289967","1328289970"],"photo_ids_order":["1328289967","1328289970","1328289974","1328289977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e052e2b4532a5ef4e146eb79378298a.jpg","text":"TemporaryFile(/tmp/multipartBody4760585772322218093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640573227,"filename":"image_12012025_01_08_02_485016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/beb5f9a9addec83f8175799b1334c191.jpg","text":"TemporaryFile(/tmp/multipartBody3816514392898528995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640573227,"filename":"image_12012025_01_08_02_485016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b57bf88c5136d455bbd4814bb3cfe13.jpg","text":"TemporaryFile(/tmp/multipartBody2255180921575583032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640573227,"filename":"image_12012025_01_07_02_985531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21c171f2be92e832bab181cf18fdc025.jpg","text":"TemporaryFile(/tmp/multipartBody5737460522836443084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640573227,"filename":"image_12012025_01_08_02_485016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328289974","file1":"1328289970","file0":"1328289967","file3":"1328289977"},"map_files_photo_id_array":[{"photo_id":"1328289974","filename":"file2"},{"photo_id":"1328289970","filename":"file1"},{"photo_id":"1328289967","filename":"file0"},{"photo_id":"1328289977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328289977":["hashtag1","hashtag2"]},{"1328289974":["hashtag1","hashtag2"]},{"1328289967":["hashtag1","hashtag2"]},{"1328289970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328289977, 1328289974, 1328289967, 1328289970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06732249259949 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-12 01:09:22.149378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0003.jpg', '/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0000.jpg', '/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0001.jpg', '/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/08/image_12012025_01_08_02_485016_0003.jpg
/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0000.jpg
/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0001.jpg
/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328289990","1328289993","1328289995","1328290001"],"photo_ids_order":["1328289990","1328289993","1328289995","1328290001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f396672861b5f838407e33357dae3f0.jpg","text":"TemporaryFile(/tmp/multipartBody8184096222130312612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640632685,"filename":"image_12012025_01_08_02_485016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e047b6eab7e171dc451ad331e8295923.jpg","text":"TemporaryFile(/tmp/multipartBody7584870455802901436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640632685,"filename":"image_12012025_01_09_03_052151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a296474e9182ce5650430db64c32901f.jpg","text":"TemporaryFile(/tmp/multipartBody4027296685632866289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640632685,"filename":"image_12012025_01_09_03_052151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/301fb807758e56347cf5dcc56235bb34.jpg","text":"TemporaryFile(/tmp/multipartBody4815094732290155453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640632685,"filename":"image_12012025_01_09_03_052151_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328289995","file1":"1328289993","file0":"1328289990","file3":"1328290001"},"map_files_photo_id_array":[{"photo_id":"1328289995","filename":"file2"},{"photo_id":"1328289993","filename":"file1"},{"photo_id":"1328289990","filename":"file0"},{"photo_id":"1328290001","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328289990":["hashtag1","hashtag2"]},{"1328289993":["hashtag1","hashtag2"]},{"1328289995":["hashtag1","hashtag2"]},{"1328290001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328289990, 1328289993, 1328289995, 1328290001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58774781227112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:10:03.208943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:10:22.685360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0003.jpg', '/home/pi/Desktop/images/12012025/01/10/image_12012025_01_10_02_593832_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/09/image_12012025_01_09_03_052151_0003.jpg
/home/pi/Desktop/images/12012025/01/10/image_12012025_01_10_02_593832_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328290042","1328290045"],"photo_ids_order":["1328290042","1328290045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2515fb994c2e11692d868b580251f7f6.jpg","text":"TemporaryFile(/tmp/multipartBody9208665779843464884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640688301,"filename":"image_12012025_01_09_03_052151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12787f60b6a6bcc6e254f2570d2d2ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7026348511424091502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640688301,"filename":"image_12012025_01_10_02_593832_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328290045","file0":"1328290042"},"map_files_photo_id_array":[{"photo_id":"1328290045","filename":"file1"},{"photo_id":"1328290042","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328290042":["hashtag1","hashtag2"]},{"1328290045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328290042, 1328290045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.264978408813477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:11:02.817188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:11:22.210965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/10/image_12012025_01_10_02_593832_0003.jpg', '/home/pi/Desktop/images/12012025/01/11/image_12012025_01_11_03_066736_0000.jpg', '/home/pi/Desktop/images/12012025/01/11/image_12012025_01_11_03_066736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/10/image_12012025_01_10_02_593832_0003.jpg
/home/pi/Desktop/images/12012025/01/11/image_12012025_01_11_03_066736_0000.jpg
/home/pi/Desktop/images/12012025/01/11/image_12012025_01_11_03_066736_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328290063","1328290066","1328290071"],"photo_ids_order":["1328290063","1328290066","1328290071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/896ac9dde7809e2877da00ee8c9acf19.jpg","text":"TemporaryFile(/tmp/multipartBody7142617512504481169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640750261,"filename":"image_12012025_01_10_02_593832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/523d1cc34416d425a2bb0f9a9007a1d5.jpg","text":"TemporaryFile(/tmp/multipartBody1035995539707808557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640750261,"filename":"image_12012025_01_11_03_066736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f76b43bf040b5164a4591c1fd3272005.jpg","text":"TemporaryFile(/tmp/multipartBody198453640173672682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640750261,"filename":"image_12012025_01_11_03_066736_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328290071","file1":"1328290066","file0":"1328290063"},"map_files_photo_id_array":[{"photo_id":"1328290071","filename":"file2"},{"photo_id":"1328290066","filename":"file1"},{"photo_id":"1328290063","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328290063":["hashtag1","hashtag2"]},{"1328290066":["hashtag1","hashtag2"]},{"1328290071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328290063, 1328290066, 1328290071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.977546215057373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:12:02.404386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:12:21.946850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/11/image_12012025_01_11_03_066736_0003.jpg', '/home/pi/Desktop/images/12012025/01/12/image_12012025_01_12_02_635052_0000.jpg', '/home/pi/Desktop/images/12012025/01/12/image_12012025_01_12_02_635052_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/11/image_12012025_01_11_03_066736_0003.jpg
/home/pi/Desktop/images/12012025/01/12/image_12012025_01_12_02_635052_0000.jpg
/home/pi/Desktop/images/12012025/01/12/image_12012025_01_12_02_635052_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328290078","1328290080","1328290076"],"photo_ids_order":["1328290076","1328290078","1328290080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/851793db91e2e492c9ddf668a6c355bd.jpg","text":"TemporaryFile(/tmp/multipartBody7301917612965575257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640809998,"filename":"image_12012025_01_12_02_635052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b454f5753104918e7cf2f2c31d9affa7.jpg","text":"TemporaryFile(/tmp/multipartBody3023567465200548883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640809998,"filename":"image_12012025_01_12_02_635052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e48f2728db2b4f7559a806af41fac2a.jpg","text":"TemporaryFile(/tmp/multipartBody3307361878511692924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640809998,"filename":"image_12012025_01_11_03_066736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328290080","file1":"1328290078","file0":"1328290076"},"map_files_photo_id_array":[{"photo_id":"1328290080","filename":"file2"},{"photo_id":"1328290078","filename":"file1"},{"photo_id":"1328290076","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328290078":["hashtag1","hashtag2"]},{"1328290080":["hashtag1","hashtag2"]},{"1328290076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328290078, 1328290080, 1328290076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.566812992095947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:13:03.073438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:13:22.456692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/12/image_12012025_01_12_02_635052_0003.jpg', '/home/pi/Desktop/images/12012025/01/13/image_12012025_01_13_02_305842_0000.jpg', '/home/pi/Desktop/images/12012025/01/13/image_12012025_01_13_02_305842_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/12/image_12012025_01_12_02_635052_0003.jpg
/home/pi/Desktop/images/12012025/01/13/image_12012025_01_13_02_305842_0000.jpg
/home/pi/Desktop/images/12012025/01/13/image_12012025_01_13_02_305842_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328291121","1328291118","1328291126"],"photo_ids_order":["1328291118","1328291121","1328291126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/342fbca570c702aefd727144eea80902.jpg","text":"TemporaryFile(/tmp/multipartBody8004945260462675389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640870513,"filename":"image_12012025_01_13_02_305842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25fa5347f300f630408af50090cb702d.jpg","text":"TemporaryFile(/tmp/multipartBody4320417993133302122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640870513,"filename":"image_12012025_01_12_02_635052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a0b3aed509ed1bc283bdda207411d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7905845519465436862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640870513,"filename":"image_12012025_01_13_02_305842_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328291126","file1":"1328291121","file0":"1328291118"},"map_files_photo_id_array":[{"photo_id":"1328291126","filename":"file2"},{"photo_id":"1328291121","filename":"file1"},{"photo_id":"1328291118","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328291121":["hashtag1","hashtag2"]},{"1328291118":["hashtag1","hashtag2"]},{"1328291126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328291121, 1328291118, 1328291126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.739959478378296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:14:02.540828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:14:22.037564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/13/image_12012025_01_13_02_305842_0003.jpg', '/home/pi/Desktop/images/12012025/01/14/image_12012025_01_14_02_804592_0000.jpg', '/home/pi/Desktop/images/12012025/01/14/image_12012025_01_14_02_804592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/13/image_12012025_01_13_02_305842_0003.jpg
/home/pi/Desktop/images/12012025/01/14/image_12012025_01_14_02_804592_0000.jpg
/home/pi/Desktop/images/12012025/01/14/image_12012025_01_14_02_804592_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328291431","1328291436","1328291439"],"photo_ids_order":["1328291431","1328291436","1328291439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1e3d461ac6cd4e17138ea5992e2b115.jpg","text":"TemporaryFile(/tmp/multipartBody8893187455797433574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640930133,"filename":"image_12012025_01_13_02_305842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a41b599f7998fce7d48d6bbd361c803.jpg","text":"TemporaryFile(/tmp/multipartBody8618236980986327667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640930133,"filename":"image_12012025_01_14_02_804592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62420af9652eb7e61c6e835aa2190239.jpg","text":"TemporaryFile(/tmp/multipartBody3465457540011270665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640930133,"filename":"image_12012025_01_14_02_804592_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328291439","file1":"1328291436","file0":"1328291431"},"map_files_photo_id_array":[{"photo_id":"1328291439","filename":"file2"},{"photo_id":"1328291436","filename":"file1"},{"photo_id":"1328291431","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328291431":["hashtag1","hashtag2"]},{"1328291436":["hashtag1","hashtag2"]},{"1328291439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328291431, 1328291436, 1328291439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.42606329917908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:15:03.204210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:15:22.555854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/14/image_12012025_01_14_02_804592_0003.jpg', '/home/pi/Desktop/images/12012025/01/15/image_12012025_01_15_02_491812_0000.jpg', '/home/pi/Desktop/images/12012025/01/15/image_12012025_01_15_02_491812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/14/image_12012025_01_14_02_804592_0003.jpg
/home/pi/Desktop/images/12012025/01/15/image_12012025_01_15_02_491812_0000.jpg
/home/pi/Desktop/images/12012025/01/15/image_12012025_01_15_02_491812_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328291462","1328291465","1328291456"],"photo_ids_order":["1328291456","1328291462","1328291465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf166e19aabc4853e9f7f2471ff5d05e.jpg","text":"TemporaryFile(/tmp/multipartBody5839642638210633752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640990660,"filename":"image_12012025_01_15_02_491812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4caaae5614f005dacef8d3cad2256f5.jpg","text":"TemporaryFile(/tmp/multipartBody8722890134976575713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640990660,"filename":"image_12012025_01_15_02_491812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe55b1d4febb8b5c954b3942fe4a7353.jpg","text":"TemporaryFile(/tmp/multipartBody3156631609501528649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736640990660,"filename":"image_12012025_01_14_02_804592_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328291465","file1":"1328291462","file0":"1328291456"},"map_files_photo_id_array":[{"photo_id":"1328291465","filename":"file2"},{"photo_id":"1328291462","filename":"file1"},{"photo_id":"1328291456","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328291462":["hashtag1","hashtag2"]},{"1328291465":["hashtag1","hashtag2"]},{"1328291456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328291462, 1328291465, 1328291456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.497967958450317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:16:02.729046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:16:22.276602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/15/image_12012025_01_15_02_491812_0002.jpg', '/home/pi/Desktop/images/12012025/01/16/image_12012025_01_16_03_067160_0000.jpg', '/home/pi/Desktop/images/12012025/01/16/image_12012025_01_16_03_067160_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/15/image_12012025_01_15_02_491812_0002.jpg
/home/pi/Desktop/images/12012025/01/16/image_12012025_01_16_03_067160_0000.jpg
/home/pi/Desktop/images/12012025/01/16/image_12012025_01_16_03_067160_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328291512","1328291506","1328291509"],"photo_ids_order":["1328291506","1328291509","1328291512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01dc21ec26c14c39f84061b68c24d6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3075036701857760119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641050366,"filename":"image_12012025_01_16_03_067160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9db7cc4aa8782bb82b9f890527218c4.jpg","text":"TemporaryFile(/tmp/multipartBody4492692965935620917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641050366,"filename":"image_12012025_01_15_02_491812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/547da5a45cf63ca908607fb8e68f9544.jpg","text":"TemporaryFile(/tmp/multipartBody4284644202027906388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641050366,"filename":"image_12012025_01_16_03_067160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328291512","file1":"1328291509","file0":"1328291506"},"map_files_photo_id_array":[{"photo_id":"1328291512","filename":"file2"},{"photo_id":"1328291509","filename":"file1"},{"photo_id":"1328291506","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328291512":["hashtag1","hashtag2"]},{"1328291506":["hashtag1","hashtag2"]},{"1328291509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328291512, 1328291506, 1328291509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.80976128578186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:17:02.573673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:17:21.866964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/16/image_12012025_01_16_03_067160_0002.jpg', '/home/pi/Desktop/images/12012025/01/17/image_12012025_01_17_02_760117_0001.jpg', '/home/pi/Desktop/images/12012025/01/17/image_12012025_01_17_02_760117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/16/image_12012025_01_16_03_067160_0002.jpg
/home/pi/Desktop/images/12012025/01/17/image_12012025_01_17_02_760117_0001.jpg
/home/pi/Desktop/images/12012025/01/17/image_12012025_01_17_02_760117_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328291984","1328291975","1328291980"],"photo_ids_order":["1328291975","1328291980","1328291984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4493ea6a048d263c63fc017f415213a.jpg","text":"TemporaryFile(/tmp/multipartBody1400017870322254367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641109922,"filename":"image_12012025_01_17_02_760117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7cdd87c0cde6cd521c3eb9c7f43b659.jpg","text":"TemporaryFile(/tmp/multipartBody4158963090979955925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641109922,"filename":"image_12012025_01_16_03_067160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c94b16d75742eaed3f025d37bb92ab73.jpg","text":"TemporaryFile(/tmp/multipartBody6615635163046133917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641109922,"filename":"image_12012025_01_17_02_760117_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328291984","file1":"1328291980","file0":"1328291975"},"map_files_photo_id_array":[{"photo_id":"1328291984","filename":"file2"},{"photo_id":"1328291980","filename":"file1"},{"photo_id":"1328291975","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328291984":["hashtag1","hashtag2"]},{"1328291975":["hashtag1","hashtag2"]},{"1328291980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328291984, 1328291975, 1328291980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.88389277458191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:18:03.008983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:18:22.613497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/17/image_12012025_01_17_02_760117_0003.jpg', '/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0000.jpg', '/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0001.jpg', '/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/17/image_12012025_01_17_02_760117_0003.jpg
/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0000.jpg
/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0001.jpg
/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292294","1328292299","1328292290","1328292287"],"photo_ids_order":["1328292287","1328292290","1328292294","1328292299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f57f4d573558e22627301d24d0bc6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody8948050742495552894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641173158,"filename":"image_12012025_01_18_02_350234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a440dc0a3f51fb909e3d8e98161778c.jpg","text":"TemporaryFile(/tmp/multipartBody6718438570290504589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641173158,"filename":"image_12012025_01_18_02_350234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59d6f0722561959024c92db230f19615.jpg","text":"TemporaryFile(/tmp/multipartBody6339978983690819885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641173158,"filename":"image_12012025_01_18_02_350234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfe1cc4daffa0c65269d1337a3418ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1758229413195481769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641173158,"filename":"image_12012025_01_17_02_760117_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292294","file1":"1328292290","file0":"1328292287","file3":"1328292299"},"map_files_photo_id_array":[{"photo_id":"1328292294","filename":"file2"},{"photo_id":"1328292290","filename":"file1"},{"photo_id":"1328292287","filename":"file0"},{"photo_id":"1328292299","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292294":["hashtag1","hashtag2"]},{"1328292299":["hashtag1","hashtag2"]},{"1328292290":["hashtag1","hashtag2"]},{"1328292287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292294, 1328292299, 1328292290, 1328292287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67246770858765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:19:02.789579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:19:22.055102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0003.jpg', '/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0000.jpg', '/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0001.jpg', '/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/18/image_12012025_01_18_02_350234_0003.jpg
/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0000.jpg
/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0001.jpg
/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292351","1328292356","1328292347","1328292361"],"photo_ids_order":["1328292347","1328292351","1328292356","1328292361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27e3c5d25f9431704f69007693485685.jpg","text":"TemporaryFile(/tmp/multipartBody1131047931935761884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641232601,"filename":"image_12012025_01_19_03_012861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0da1eb893f94af939c07ae17a4a9bc58.jpg","text":"TemporaryFile(/tmp/multipartBody9210805494606892169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641232601,"filename":"image_12012025_01_19_03_012861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28e16bde390e781dee0ceadc595fc27b.jpg","text":"TemporaryFile(/tmp/multipartBody2061210865938038445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641232601,"filename":"image_12012025_01_18_02_350234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d46d22e1c9d238fbe38d5435e459ab5.jpg","text":"TemporaryFile(/tmp/multipartBody918101567453373267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641232601,"filename":"image_12012025_01_19_03_012861_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292356","file1":"1328292351","file0":"1328292347","file3":"1328292361"},"map_files_photo_id_array":[{"photo_id":"1328292356","filename":"file2"},{"photo_id":"1328292351","filename":"file1"},{"photo_id":"1328292347","filename":"file0"},{"photo_id":"1328292361","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292351":["hashtag1","hashtag2"]},{"1328292356":["hashtag1","hashtag2"]},{"1328292347":["hashtag1","hashtag2"]},{"1328292361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292351, 1328292356, 1328292347, 1328292361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.54020547866821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:20:22.739157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0003.jpg', '/home/pi/Desktop/images/12012025/01/20/image_12012025_01_20_02_501026_0000.jpg', '/home/pi/Desktop/images/12012025/01/20/image_12012025_01_20_02_501026_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/19/image_12012025_01_19_03_012861_0003.jpg
/home/pi/Desktop/images/12012025/01/20/image_12012025_01_20_02_501026_0000.jpg
/home/pi/Desktop/images/12012025/01/20/image_12012025_01_20_02_501026_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292389","1328292386","1328292382"],"photo_ids_order":["1328292382","1328292386","1328292389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0a70633ffc7212ed7619063e00b0623.jpg","text":"TemporaryFile(/tmp/multipartBody3735093393778931754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641290851,"filename":"image_12012025_01_20_02_501026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/688faf984c14006fcc6c8bea2d0f79ee.jpg","text":"TemporaryFile(/tmp/multipartBody3896354956716956743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641290851,"filename":"image_12012025_01_20_02_501026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e4bc41c8f8d5e552c07d40a249a041f.jpg","text":"TemporaryFile(/tmp/multipartBody6117907294263697777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641290851,"filename":"image_12012025_01_19_03_012861_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292389","file1":"1328292386","file0":"1328292382"},"map_files_photo_id_array":[{"photo_id":"1328292389","filename":"file2"},{"photo_id":"1328292386","filename":"file1"},{"photo_id":"1328292382","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292389":["hashtag1","hashtag2"]},{"1328292386":["hashtag1","hashtag2"]},{"1328292382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292389, 1328292386, 1328292382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.111363410949707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:21:02.963781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:21:22.198556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/20/image_12012025_01_20_02_501026_0002.jpg', '/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0000.jpg', '/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0001.jpg', '/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/20/image_12012025_01_20_02_501026_0002.jpg
/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0000.jpg
/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0001.jpg
/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292408","1328292417","1328292397","1328292401"],"photo_ids_order":["1328292397","1328292401","1328292408","1328292417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cca2b637cf8ef1bbfcbb1913ea3686ac.jpg","text":"TemporaryFile(/tmp/multipartBody6302362455172522597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641352739,"filename":"image_12012025_01_21_03_125365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e95681f0c4ccaaa2e0e8c76aadc98bd.jpg","text":"TemporaryFile(/tmp/multipartBody6966048360289411025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641352739,"filename":"image_12012025_01_21_03_125365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e10bc6b2035139c02bc9cf8e6ef10e7.jpg","text":"TemporaryFile(/tmp/multipartBody1728508854830117494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641352739,"filename":"image_12012025_01_20_02_501026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6802ab138e11b13de0bf22a05035964.jpg","text":"TemporaryFile(/tmp/multipartBody1409628451162575056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641352739,"filename":"image_12012025_01_21_03_125365_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292408","file1":"1328292401","file0":"1328292397","file3":"1328292417"},"map_files_photo_id_array":[{"photo_id":"1328292408","filename":"file2"},{"photo_id":"1328292401","filename":"file1"},{"photo_id":"1328292397","filename":"file0"},{"photo_id":"1328292417","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292408":["hashtag1","hashtag2"]},{"1328292417":["hashtag1","hashtag2"]},{"1328292397":["hashtag1","hashtag2"]},{"1328292401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292408, 1328292417, 1328292397, 1328292401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.39663076400757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:22:21.847403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0003.jpg', '/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0000.jpg', '/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0001.jpg', '/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/21/image_12012025_01_21_03_125365_0003.jpg
/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0000.jpg
/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0001.jpg
/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292450","1328292447","1328292455","1328292452"],"photo_ids_order":["1328292447","1328292450","1328292452","1328292455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac76bb481089f53a73425137a371d88a.jpg","text":"TemporaryFile(/tmp/multipartBody22387112621355349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641412384,"filename":"image_12012025_01_22_02_655646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d29c3c126549ef3a3732ea065eb1a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7687167310667692656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641412384,"filename":"image_12012025_01_21_03_125365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/706d69b04e97919eb6b45731919d721d.jpg","text":"TemporaryFile(/tmp/multipartBody8500208260986794220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641412384,"filename":"image_12012025_01_22_02_655646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8a230afaf0208dd2470f345ea2b2d97.jpg","text":"TemporaryFile(/tmp/multipartBody2183940276992673622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641412384,"filename":"image_12012025_01_22_02_655646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292452","file1":"1328292450","file0":"1328292447","file3":"1328292455"},"map_files_photo_id_array":[{"photo_id":"1328292452","filename":"file2"},{"photo_id":"1328292450","filename":"file1"},{"photo_id":"1328292447","filename":"file0"},{"photo_id":"1328292455","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292450":["hashtag1","hashtag2"]},{"1328292447":["hashtag1","hashtag2"]},{"1328292455":["hashtag1","hashtag2"]},{"1328292452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292450, 1328292447, 1328292455, 1328292452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.272329330444336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:23:03.094079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:23:22.362149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0003.jpg', '/home/pi/Desktop/images/12012025/01/23/image_12012025_01_23_02_255895_0000.jpg', '/home/pi/Desktop/images/12012025/01/23/image_12012025_01_23_02_255895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/22/image_12012025_01_22_02_655646_0003.jpg
/home/pi/Desktop/images/12012025/01/23/image_12012025_01_23_02_255895_0000.jpg
/home/pi/Desktop/images/12012025/01/23/image_12012025_01_23_02_255895_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292471","1328292473","1328292469"],"photo_ids_order":["1328292469","1328292471","1328292473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83e39e060ba12456b94a00eb2c5e2ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8397336474697429354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641470427,"filename":"image_12012025_01_23_02_255895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6d107f197f6d5aa4fc8dc9e35968b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5727102470027287803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641470427,"filename":"image_12012025_01_23_02_255895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a0e6b537562bf67d366da7bec264c742.jpg","text":"TemporaryFile(/tmp/multipartBody5749248094394497461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641470427,"filename":"image_12012025_01_22_02_655646_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292473","file1":"1328292471","file0":"1328292469"},"map_files_photo_id_array":[{"photo_id":"1328292473","filename":"file2"},{"photo_id":"1328292471","filename":"file1"},{"photo_id":"1328292469","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292471":["hashtag1","hashtag2"]},{"1328292473":["hashtag1","hashtag2"]},{"1328292469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292471, 1328292473, 1328292469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.55154371261597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:24:02.421490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:24:21.977871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/23/image_12012025_01_23_02_255895_0003.jpg', '/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0000.jpg', '/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0001.jpg', '/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/23/image_12012025_01_23_02_255895_0003.jpg
/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0000.jpg
/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0001.jpg
/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292501","1328292497","1328292485","1328292481"],"photo_ids_order":["1328292481","1328292485","1328292497","1328292501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/40db56af3a78413bb4567bb7ec66f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody4093437257400818882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641532526,"filename":"image_12012025_01_24_02_752778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b716431faf1c8a99750c4757c620dae9.jpg","text":"TemporaryFile(/tmp/multipartBody8389083361091333568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641532526,"filename":"image_12012025_01_24_02_752778_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9e6458ce683320bd9fb5195d3c45275.jpg","text":"TemporaryFile(/tmp/multipartBody8134980763807229433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641532526,"filename":"image_12012025_01_24_02_752778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77137000e129400e6db9f4ef30f96703.jpg","text":"TemporaryFile(/tmp/multipartBody3406275674708104563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641532526,"filename":"image_12012025_01_23_02_255895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292497","file1":"1328292485","file0":"1328292481","file3":"1328292501"},"map_files_photo_id_array":[{"photo_id":"1328292497","filename":"file2"},{"photo_id":"1328292485","filename":"file1"},{"photo_id":"1328292481","filename":"file0"},{"photo_id":"1328292501","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292501":["hashtag1","hashtag2"]},{"1328292497":["hashtag1","hashtag2"]},{"1328292485":["hashtag1","hashtag2"]},{"1328292481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292501, 1328292497, 1328292485, 1328292481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23327565193176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:25:03.225321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:25:22.522003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0003.jpg', '/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0000.jpg', '/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0001.jpg', '/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/24/image_12012025_01_24_02_752778_0003.jpg
/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0000.jpg
/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0001.jpg
/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292530","1328292524","1328292533","1328292527"],"photo_ids_order":["1328292524","1328292527","1328292530","1328292533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bef2448e48c96128a4b5aea810478b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1510957729728918635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641593075,"filename":"image_12012025_01_25_02_382504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f2639ab9f5b8a0434d3607a61583b46.jpg","text":"TemporaryFile(/tmp/multipartBody3690853345442293754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641593075,"filename":"image_12012025_01_24_02_752778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/356ce6645f53a0ae167f9c2b2d848074.jpg","text":"TemporaryFile(/tmp/multipartBody7364146384637886674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641593075,"filename":"image_12012025_01_25_02_382504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/852db1bc10493dddba1082588b5d1c55.jpg","text":"TemporaryFile(/tmp/multipartBody5484563796616959289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641593075,"filename":"image_12012025_01_25_02_382504_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292530","file1":"1328292527","file0":"1328292524","file3":"1328292533"},"map_files_photo_id_array":[{"photo_id":"1328292530","filename":"file2"},{"photo_id":"1328292527","filename":"file1"},{"photo_id":"1328292524","filename":"file0"},{"photo_id":"1328292533","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292530":["hashtag1","hashtag2"]},{"1328292524":["hashtag1","hashtag2"]},{"1328292533":["hashtag1","hashtag2"]},{"1328292527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292530, 1328292524, 1328292533, 1328292527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20975375175476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:26:22.160805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0003.jpg', '/home/pi/Desktop/images/12012025/01/26/image_12012025_01_26_02_936746_0000.jpg', '/home/pi/Desktop/images/12012025/01/26/image_12012025_01_26_02_936746_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/25/image_12012025_01_25_02_382504_0003.jpg
/home/pi/Desktop/images/12012025/01/26/image_12012025_01_26_02_936746_0000.jpg
/home/pi/Desktop/images/12012025/01/26/image_12012025_01_26_02_936746_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292543","1328292540","1328292545"],"photo_ids_order":["1328292540","1328292543","1328292545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68c0bcde7124382cd7c78abbed8ecfeb.jpg","text":"TemporaryFile(/tmp/multipartBody6906419874636123697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641650249,"filename":"image_12012025_01_26_02_936746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63ea9ef54569bf62f4e9e835dc13e306.jpg","text":"TemporaryFile(/tmp/multipartBody3208825924374762362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641650249,"filename":"image_12012025_01_25_02_382504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3740587774335f7c504ff95a73f1f8a8.jpg","text":"TemporaryFile(/tmp/multipartBody14247024765852652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641650249,"filename":"image_12012025_01_26_02_936746_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292545","file1":"1328292543","file0":"1328292540"},"map_files_photo_id_array":[{"photo_id":"1328292545","filename":"file2"},{"photo_id":"1328292543","filename":"file1"},{"photo_id":"1328292540","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292543":["hashtag1","hashtag2"]},{"1328292540":["hashtag1","hashtag2"]},{"1328292545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292543, 1328292540, 1328292545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.44015622138977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:27:03.361452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:27:22.619995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/26/image_12012025_01_26_02_936746_0003.jpg', '/home/pi/Desktop/images/12012025/01/27/image_12012025_01_27_02_519018_0001.jpg', '/home/pi/Desktop/images/12012025/01/27/image_12012025_01_27_02_519018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/26/image_12012025_01_26_02_936746_0003.jpg
/home/pi/Desktop/images/12012025/01/27/image_12012025_01_27_02_519018_0001.jpg
/home/pi/Desktop/images/12012025/01/27/image_12012025_01_27_02_519018_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328292564","1328292559","1328292562"],"photo_ids_order":["1328292559","1328292562","1328292564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7bae119f53ff48b44599aa8a976a89d.jpg","text":"TemporaryFile(/tmp/multipartBody4877284039270357141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641710674,"filename":"image_12012025_01_27_02_519018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6caf3c995cfaae3c8e8604faab033ea.jpg","text":"TemporaryFile(/tmp/multipartBody2418640189235194878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641710674,"filename":"image_12012025_01_26_02_936746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f37cf62256f3a34cae5d6d4e5d9aae9.jpg","text":"TemporaryFile(/tmp/multipartBody7747264059480102307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641710674,"filename":"image_12012025_01_27_02_519018_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328292564","file1":"1328292562","file0":"1328292559"},"map_files_photo_id_array":[{"photo_id":"1328292564","filename":"file2"},{"photo_id":"1328292562","filename":"file1"},{"photo_id":"1328292559","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328292564":["hashtag1","hashtag2"]},{"1328292559":["hashtag1","hashtag2"]},{"1328292562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328292564, 1328292559, 1328292562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.789198637008667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:28:02.736107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:28:22.365825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/27/image_12012025_01_27_02_519018_0003.jpg', '/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0000.jpg', '/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0001.jpg', '/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/27/image_12012025_01_27_02_519018_0003.jpg
/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0000.jpg
/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0001.jpg
/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328293425","1328293428","1328293422","1328293432"],"photo_ids_order":["1328293422","1328293425","1328293428","1328293432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/915e8d3c26b4f2a26b844e09bce33aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3343310073102921929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641772824,"filename":"image_12012025_01_28_03_009391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08b49a617f83247a43b16ecae7cb711a.jpg","text":"TemporaryFile(/tmp/multipartBody8807600752028703822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641772824,"filename":"image_12012025_01_28_03_009391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4cc95e7ca127575a442d85506314bb8b.jpg","text":"TemporaryFile(/tmp/multipartBody168156868797673035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641772824,"filename":"image_12012025_01_27_02_519018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05244b48194fae1c68eab588485528a5.jpg","text":"TemporaryFile(/tmp/multipartBody2929254135921692758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641772824,"filename":"image_12012025_01_28_03_009391_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328293428","file1":"1328293425","file0":"1328293422","file3":"1328293432"},"map_files_photo_id_array":[{"photo_id":"1328293428","filename":"file2"},{"photo_id":"1328293425","filename":"file1"},{"photo_id":"1328293422","filename":"file0"},{"photo_id":"1328293432","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328293425":["hashtag1","hashtag2"]},{"1328293428":["hashtag1","hashtag2"]},{"1328293422":["hashtag1","hashtag2"]},{"1328293432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328293425, 1328293428, 1328293422, 1328293432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61617970466614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:29:02.385241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:29:21.719079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0003.jpg', '/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0000.jpg', '/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0001.jpg', '/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/28/image_12012025_01_28_03_009391_0003.jpg
/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0000.jpg
/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0001.jpg
/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328293715","1328293718","1328293723","1328293720"],"photo_ids_order":["1328293715","1328293718","1328293720","1328293723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5fd729ea72a8d3f7622f88b9733ebbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1502885954108482916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641832006,"filename":"image_12012025_01_28_03_009391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3432304567c821e2abeb08b229f7c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4898267610646130766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641832006,"filename":"image_12012025_01_29_02_678837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52c8a8caf11164921466e8b1bafefbac.jpg","text":"TemporaryFile(/tmp/multipartBody5401754140761388371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641832006,"filename":"image_12012025_01_29_02_678837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87ce558ce999d613b33961e9bee32184.jpg","text":"TemporaryFile(/tmp/multipartBody1730615206459068384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641832006,"filename":"image_12012025_01_29_02_678837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328293720","file1":"1328293718","file0":"1328293715","file3":"1328293723"},"map_files_photo_id_array":[{"photo_id":"1328293720","filename":"file2"},{"photo_id":"1328293718","filename":"file1"},{"photo_id":"1328293715","filename":"file0"},{"photo_id":"1328293723","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328293715":["hashtag1","hashtag2"]},{"1328293718":["hashtag1","hashtag2"]},{"1328293723":["hashtag1","hashtag2"]},{"1328293720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328293715, 1328293718, 1328293723, 1328293720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22282147407532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:30:02.677950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:30:22.321020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0003.jpg', '/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0000.jpg', '/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0001.jpg', '/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/29/image_12012025_01_29_02_678837_0003.jpg
/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0000.jpg
/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0001.jpg
/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328293766","1328293760","1328293797","1328293776"],"photo_ids_order":["1328293760","1328293766","1328293776","1328293797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4bf3e1941d95b022c2a87d2c39751518.jpg","text":"TemporaryFile(/tmp/multipartBody4515571614015903014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641892721,"filename":"image_12012025_01_30_02_129743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8cd595972924e8edc3b5ac71d2cd97df.jpg","text":"TemporaryFile(/tmp/multipartBody171379165591086640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641892721,"filename":"image_12012025_01_29_02_678837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd68690d07c741521a4649a743aad856.jpg","text":"TemporaryFile(/tmp/multipartBody4165041098889746670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641892721,"filename":"image_12012025_01_30_02_129743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24b2efb06d5980b24b05b28b6833d4af.jpg","text":"TemporaryFile(/tmp/multipartBody4357671974699975091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641892721,"filename":"image_12012025_01_30_02_129743_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328293776","file1":"1328293766","file0":"1328293760","file3":"1328293797"},"map_files_photo_id_array":[{"photo_id":"1328293776","filename":"file2"},{"photo_id":"1328293766","filename":"file1"},{"photo_id":"1328293760","filename":"file0"},{"photo_id":"1328293797","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328293766":["hashtag1","hashtag2"]},{"1328293760":["hashtag1","hashtag2"]},{"1328293797":["hashtag1","hashtag2"]},{"1328293776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328293766, 1328293760, 1328293797, 1328293776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.32352352142334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:31:21.965583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0003.jpg', '/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0000.jpg', '/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0001.jpg', '/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/30/image_12012025_01_30_02_129743_0003.jpg
/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0000.jpg
/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0001.jpg
/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328293914","1328293917","1328293911","1328293909"],"photo_ids_order":["1328293909","1328293911","1328293914","1328293917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1ae5d3a63e5d683f800064680e567340.jpg","text":"TemporaryFile(/tmp/multipartBody4045931610887413880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641952270,"filename":"image_12012025_01_31_02_801377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/598cf337a0aad3962ceb76981180b6df.jpg","text":"TemporaryFile(/tmp/multipartBody521590876828815117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641952270,"filename":"image_12012025_01_31_02_801377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0516cd85008862423b1c0323d54fb62.jpg","text":"TemporaryFile(/tmp/multipartBody3317866567160668023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641952270,"filename":"image_12012025_01_31_02_801377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c0a80eecc777e589cd7e53288dcb392.jpg","text":"TemporaryFile(/tmp/multipartBody1398316140924357640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736641952270,"filename":"image_12012025_01_30_02_129743_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328293914","file1":"1328293911","file0":"1328293909","file3":"1328293917"},"map_files_photo_id_array":[{"photo_id":"1328293914","filename":"file2"},{"photo_id":"1328293911","filename":"file1"},{"photo_id":"1328293909","filename":"file0"},{"photo_id":"1328293917","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328293914":["hashtag1","hashtag2"]},{"1328293917":["hashtag1","hashtag2"]},{"1328293911":["hashtag1","hashtag2"]},{"1328293909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328293914, 1328293917, 1328293911, 1328293909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31067252159119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:32:22.484601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0003.jpg', '/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0000.jpg', '/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0001.jpg', '/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/31/image_12012025_01_31_02_801377_0003.jpg
/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0000.jpg
/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0001.jpg
/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328293931","1328293925","1328293928","1328293922"],"photo_ids_order":["1328293922","1328293925","1328293928","1328293931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/141329a4ff1463cf6031460991f112e3.jpg","text":"TemporaryFile(/tmp/multipartBody5050970279935722724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642012665,"filename":"image_12012025_01_32_02_321858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98c8600c3f2579a5aa63896a74e69b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6627151087230555129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642012665,"filename":"image_12012025_01_32_02_321858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42e4240cdaba6205bf8c3b1abd4799cc.jpg","text":"TemporaryFile(/tmp/multipartBody5115591989719474224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642012665,"filename":"image_12012025_01_32_02_321858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ffece403c104556587f87f65b5418ca.jpg","text":"TemporaryFile(/tmp/multipartBody7150634244093625543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642012665,"filename":"image_12012025_01_31_02_801377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328293928","file1":"1328293925","file0":"1328293922","file3":"1328293931"},"map_files_photo_id_array":[{"photo_id":"1328293928","filename":"file2"},{"photo_id":"1328293925","filename":"file1"},{"photo_id":"1328293922","filename":"file0"},{"photo_id":"1328293931","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328293931":["hashtag1","hashtag2"]},{"1328293925":["hashtag1","hashtag2"]},{"1328293928":["hashtag1","hashtag2"]},{"1328293922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328293931, 1328293925, 1328293928, 1328293922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.660489559173584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:33:02.511109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:33:21.885647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0003.jpg', '/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0000.jpg', '/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0001.jpg', '/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/32/image_12012025_01_32_02_321858_0003.jpg
/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0000.jpg
/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0001.jpg
/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328294660","1328294671","1328294665","1328294668"],"photo_ids_order":["1328294660","1328294665","1328294668","1328294671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db7416fbbe37cf3c75d9352ae8c87448.jpg","text":"TemporaryFile(/tmp/multipartBody3887657583996027874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642072174,"filename":"image_12012025_01_32_02_321858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8fe0eae1074ba928d4f42f3803417ce.jpg","text":"TemporaryFile(/tmp/multipartBody3029932971919291436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642072174,"filename":"image_12012025_01_33_02_827537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df8fc34253e332299d9cdc564a404dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8628217006659403757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642072174,"filename":"image_12012025_01_33_02_827537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e075e5320578db6648daaa4eb500761d.jpg","text":"TemporaryFile(/tmp/multipartBody4972443734832306286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642072174,"filename":"image_12012025_01_33_02_827537_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328294668","file1":"1328294665","file0":"1328294660","file3":"1328294671"},"map_files_photo_id_array":[{"photo_id":"1328294668","filename":"file2"},{"photo_id":"1328294665","filename":"file1"},{"photo_id":"1328294660","filename":"file0"},{"photo_id":"1328294671","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328294660":["hashtag1","hashtag2"]},{"1328294671":["hashtag1","hashtag2"]},{"1328294665":["hashtag1","hashtag2"]},{"1328294668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328294660, 1328294671, 1328294665, 1328294668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.602060079574585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:34:02.911381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:34:22.543796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0003.jpg', '/home/pi/Desktop/images/12012025/01/34/image_12012025_01_34_02_299594_0000.jpg', '/home/pi/Desktop/images/12012025/01/34/image_12012025_01_34_02_299594_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/33/image_12012025_01_33_02_827537_0003.jpg
/home/pi/Desktop/images/12012025/01/34/image_12012025_01_34_02_299594_0000.jpg
/home/pi/Desktop/images/12012025/01/34/image_12012025_01_34_02_299594_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328294993","1328295052","1328295040"],"photo_ids_order":["1328294993","1328295040","1328295052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e0af53d09f930747c74006fdd6caabe2.jpg","text":"TemporaryFile(/tmp/multipartBody6651209590554779175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642130492,"filename":"image_12012025_01_33_02_827537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe6a952b40de743cc1bff8f558342841.jpg","text":"TemporaryFile(/tmp/multipartBody1613811796842122304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642130492,"filename":"image_12012025_01_34_02_299594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/058015f47e1cd41ab0743432fda1d0e9.jpg","text":"TemporaryFile(/tmp/multipartBody4636606662146022913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642130492,"filename":"image_12012025_01_34_02_299594_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295052","file1":"1328295040","file0":"1328294993"},"map_files_photo_id_array":[{"photo_id":"1328295052","filename":"file2"},{"photo_id":"1328295040","filename":"file1"},{"photo_id":"1328294993","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328294993":["hashtag1","hashtag2"]},{"1328295052":["hashtag1","hashtag2"]},{"1328295040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328294993, 1328295052, 1328295040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.95466423034668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:35:02.807225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:35:22.026750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/34/image_12012025_01_34_02_299594_0003.jpg', '/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0000.jpg', '/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0001.jpg', '/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/34/image_12012025_01_34_02_299594_0003.jpg
/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0000.jpg
/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0001.jpg
/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295233","1328295235","1328295226","1328295230"],"photo_ids_order":["1328295226","1328295230","1328295233","1328295235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60f2d4bd4d7ea6627eac530e8b66880a.jpg","text":"TemporaryFile(/tmp/multipartBody3613314482682707505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642192346,"filename":"image_12012025_01_35_02_929065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/652b3d4972d63bb73b90e30eca8a1b03.jpg","text":"TemporaryFile(/tmp/multipartBody1382256290861891937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642192346,"filename":"image_12012025_01_35_02_929065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f1df446cdc473ccd5a7dbcfdef12971f.jpg","text":"TemporaryFile(/tmp/multipartBody1804111045421519851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642192346,"filename":"image_12012025_01_34_02_299594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8dc54b085733940480f3789e8bcff460.jpg","text":"TemporaryFile(/tmp/multipartBody690458432371333686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642192346,"filename":"image_12012025_01_35_02_929065_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295233","file1":"1328295230","file0":"1328295226","file3":"1328295235"},"map_files_photo_id_array":[{"photo_id":"1328295233","filename":"file2"},{"photo_id":"1328295230","filename":"file1"},{"photo_id":"1328295226","filename":"file0"},{"photo_id":"1328295235","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295233":["hashtag1","hashtag2"]},{"1328295235":["hashtag1","hashtag2"]},{"1328295226":["hashtag1","hashtag2"]},{"1328295230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295233, 1328295235, 1328295226, 1328295230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70335388183594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:36:03.094621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:36:22.645996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0003.jpg', '/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0000.jpg', '/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0001.jpg', '/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/35/image_12012025_01_35_02_929065_0003.jpg
/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0000.jpg
/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0001.jpg
/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295271","1328295274","1328295364","1328295368"],"photo_ids_order":["1328295271","1328295274","1328295364","1328295368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/449d9913c8e0973ae4bdda890cbc6d2a.jpg","text":"TemporaryFile(/tmp/multipartBody87523034649918885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642252865,"filename":"image_12012025_01_35_02_929065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eef5eb141fe3041b651b0aa73116d3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2145139498332178507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642252865,"filename":"image_12012025_01_36_02_417703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5025aae7c208430d5b814622edd00ea.jpg","text":"TemporaryFile(/tmp/multipartBody2246574971542121732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642252865,"filename":"image_12012025_01_36_02_417703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b026dee3af772bae0debcaed7ce1b77c.jpg","text":"TemporaryFile(/tmp/multipartBody9130508209000366767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642252865,"filename":"image_12012025_01_36_02_417703_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295364","file1":"1328295274","file0":"1328295271","file3":"1328295368"},"map_files_photo_id_array":[{"photo_id":"1328295364","filename":"file2"},{"photo_id":"1328295274","filename":"file1"},{"photo_id":"1328295271","filename":"file0"},{"photo_id":"1328295368","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295271":["hashtag1","hashtag2"]},{"1328295274":["hashtag1","hashtag2"]},{"1328295364":["hashtag1","hashtag2"]},{"1328295368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295271, 1328295274, 1328295364, 1328295368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.9078426361084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:37:22.236600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0003.jpg', '/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0000.jpg', '/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0001.jpg', '/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/36/image_12012025_01_36_02_417703_0003.jpg
/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0000.jpg
/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0001.jpg
/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295391","1328295388","1328295380","1328295383"],"photo_ids_order":["1328295380","1328295383","1328295388","1328295391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e5835072807ff217ce21696a16c44ad.jpg","text":"TemporaryFile(/tmp/multipartBody1429842377564603757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642312611,"filename":"image_12012025_01_37_03_031977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78c71bf431581beba1bf6b8b2a479c08.jpg","text":"TemporaryFile(/tmp/multipartBody3447008401284551686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642312611,"filename":"image_12012025_01_37_03_031977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d94e35fb9b705c1f775bd2f8d325afad.jpg","text":"TemporaryFile(/tmp/multipartBody6594198789323983240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642312611,"filename":"image_12012025_01_36_02_417703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/419a87dbf52c300735782cd59a6f4da1.jpg","text":"TemporaryFile(/tmp/multipartBody3699243727574123367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642312611,"filename":"image_12012025_01_37_03_031977_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295388","file1":"1328295383","file0":"1328295380","file3":"1328295391"},"map_files_photo_id_array":[{"photo_id":"1328295388","filename":"file2"},{"photo_id":"1328295383","filename":"file1"},{"photo_id":"1328295380","filename":"file0"},{"photo_id":"1328295391","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295391":["hashtag1","hashtag2"]},{"1328295388":["hashtag1","hashtag2"]},{"1328295380":["hashtag1","hashtag2"]},{"1328295383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295391, 1328295388, 1328295380, 1328295383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.37395763397217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:38:21.989969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0003.jpg', '/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0000.jpg', '/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0001.jpg', '/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/37/image_12012025_01_37_03_031977_0003.jpg
/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0000.jpg
/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0001.jpg
/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295397","1328295409","1328295400","1328295405"],"photo_ids_order":["1328295397","1328295400","1328295405","1328295409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59e168468f943c14fdb4f1068ef1aabe.jpg","text":"TemporaryFile(/tmp/multipartBody3440404380829794272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642372628,"filename":"image_12012025_01_37_03_031977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/470fbb288684179ee06ff3ed4cab09cb.jpg","text":"TemporaryFile(/tmp/multipartBody1438724858997405096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642372628,"filename":"image_12012025_01_38_02_716460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/93467f90dd694a624cd4a0a8c07677ba.jpg","text":"TemporaryFile(/tmp/multipartBody5972455907909800566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642372628,"filename":"image_12012025_01_38_02_716460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a34b3ac891db183531c7a2a0016ac550.jpg","text":"TemporaryFile(/tmp/multipartBody4404302929254021703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642372628,"filename":"image_12012025_01_38_02_716460_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295405","file1":"1328295400","file0":"1328295397","file3":"1328295409"},"map_files_photo_id_array":[{"photo_id":"1328295405","filename":"file2"},{"photo_id":"1328295400","filename":"file1"},{"photo_id":"1328295397","filename":"file0"},{"photo_id":"1328295409","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295397":["hashtag1","hashtag2"]},{"1328295409":["hashtag1","hashtag2"]},{"1328295400":["hashtag1","hashtag2"]},{"1328295405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295397, 1328295409, 1328295400, 1328295405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.421210289001465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:39:03.073362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:39:22.373517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0003.jpg', '/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0000.jpg', '/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0001.jpg', '/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/38/image_12012025_01_38_02_716460_0003.jpg
/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0000.jpg
/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0001.jpg
/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295452","1328295481","1328295462","1328295464"],"photo_ids_order":["1328295452","1328295462","1328295464","1328295481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db7cef7e767467c9b1e3bad0c1446fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1544369274779148811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642432718,"filename":"image_12012025_01_38_02_716460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82ff28e26c55a3386fe1350929b61c51.jpg","text":"TemporaryFile(/tmp/multipartBody8593804565967016712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642432718,"filename":"image_12012025_01_39_02_293038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a703a6271485cd4f5b1999f84763a6b.jpg","text":"TemporaryFile(/tmp/multipartBody1970310113990416622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642432718,"filename":"image_12012025_01_39_02_293038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e4ea5926f3097ee6a97b5df4e3be5b7.jpg","text":"TemporaryFile(/tmp/multipartBody4760368501178621298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642432718,"filename":"image_12012025_01_39_02_293038_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295464","file1":"1328295462","file0":"1328295452","file3":"1328295481"},"map_files_photo_id_array":[{"photo_id":"1328295464","filename":"file2"},{"photo_id":"1328295462","filename":"file1"},{"photo_id":"1328295452","filename":"file0"},{"photo_id":"1328295481","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295452":["hashtag1","hashtag2"]},{"1328295481":["hashtag1","hashtag2"]},{"1328295462":["hashtag1","hashtag2"]},{"1328295464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295452, 1328295481, 1328295462, 1328295464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2454948425293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:40:02.481338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:40:22.039771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0003.jpg', '/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0000.jpg', '/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0001.jpg', '/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0003.jpg
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0000.jpg
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0001.jpg
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.918962478637695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:41:03.085910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0003.jpg', '/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0000.jpg', '/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0001.jpg', '/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/39/image_12012025_01_39_02_293038_0003.jpg
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0000.jpg
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0001.jpg
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295595","1328295604","1328295597","1328295600"],"photo_ids_order":["1328295595","1328295597","1328295600","1328295604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/023f348fbf9219331e9ffb097b5bd2c7.jpg","text":"TemporaryFile(/tmp/multipartBody5817789740360998490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642533462,"filename":"image_12012025_01_39_02_293038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1211d6ac9777daeb56764b17fc43a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5746769351177446314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642533462,"filename":"image_12012025_01_40_02_794927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/219c0da05039eca70146dc0a280220d6.jpg","text":"TemporaryFile(/tmp/multipartBody5791914792168121941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642533462,"filename":"image_12012025_01_40_02_794927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff39eba495619ae11bcef5c19bd55e9b.jpg","text":"TemporaryFile(/tmp/multipartBody720884460695648695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642533462,"filename":"image_12012025_01_40_02_794927_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295600","file1":"1328295597","file0":"1328295595","file3":"1328295604"},"map_files_photo_id_array":[{"photo_id":"1328295600","filename":"file2"},{"photo_id":"1328295597","filename":"file1"},{"photo_id":"1328295595","filename":"file0"},{"photo_id":"1328295604","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295595":["hashtag1","hashtag2"]},{"1328295604":["hashtag1","hashtag2"]},{"1328295597":["hashtag1","hashtag2"]},{"1328295600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295595, 1328295604, 1328295597, 1328295600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37768054008484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:42:02.567031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0003.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0000.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0001.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0003.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0000.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0001.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.990301132202148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:42:22.264018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0003.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0000.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0001.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0002.jpg', '/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0003.jpg', '/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/40/image_12012025_01_40_02_794927_0003.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0000.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0001.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0002.jpg
/home/pi/Desktop/images/12012025/01/41/image_12012025_01_41_02_350111_0003.jpg
/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295658","1328295652","1328295654","1328295656","1328295635","1328295620"],"photo_ids_order":["1328295620","1328295635","1328295652","1328295654","1328295656","1328295658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30141dc9463704b9fc073f4c5be54287.jpg","text":"TemporaryFile(/tmp/multipartBody8007582367638462744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642617449,"filename":"image_12012025_01_42_02_935053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0bd6d08d68285e66fc2fcc2702abe855.jpg","text":"TemporaryFile(/tmp/multipartBody4176319490588960970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642617449,"filename":"image_12012025_01_41_02_350111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be098e8f816a608db53a1220a3aad5b8.jpg","text":"TemporaryFile(/tmp/multipartBody8850849431019691880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642617449,"filename":"image_12012025_01_41_02_350111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c01acafb2a4ec233d55a013d78430b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6673816849303158838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642617449,"filename":"image_12012025_01_41_02_350111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e4842077b31de2f19baac66139addbe.jpg","text":"TemporaryFile(/tmp/multipartBody6479063039314277375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642617449,"filename":"image_12012025_01_41_02_350111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b5beaf6bdf6554410d79b98f7bed863.jpg","text":"TemporaryFile(/tmp/multipartBody4752932671307948505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642617449,"filename":"image_12012025_01_40_02_794927_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295652","file1":"1328295635","file0":"1328295620","file4":"1328295656","file5":"1328295658","file3":"1328295654"},"map_files_photo_id_array":[{"photo_id":"1328295658","filename":"file5"},{"photo_id":"1328295652","filename":"file2"},{"photo_id":"1328295656","filename":"file4"},{"photo_id":"1328295635","filename":"file1"},{"photo_id":"1328295620","filename":"file0"},{"photo_id":"1328295654","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295658":["hashtag1","hashtag2"]},{"1328295652":["hashtag1","hashtag2"]},{"1328295654":["hashtag1","hashtag2"]},{"1328295656":["hashtag1","hashtag2"]},{"1328295635":["hashtag1","hashtag2"]},{"1328295620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295658, 1328295652, 1328295654, 1328295656, 1328295635, 1328295620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.60108780860901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:43:21.725306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0001.jpg', '/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0002.jpg', '/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0003.jpg', '/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0000.jpg', '/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0001.jpg', '/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0001.jpg
/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0002.jpg
/home/pi/Desktop/images/12012025/01/42/image_12012025_01_42_02_935053_0003.jpg
/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0000.jpg
/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0001.jpg
/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_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":["1328295676","1328295667","1328295663","1328295671","1328295665","1328295668"],"photo_ids_order":["1328295663","1328295665","1328295667","1328295668","1328295671","1328295676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e3198be9bd5e0bb06c93c406d01a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody8380244191867353274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642676970,"filename":"image_12012025_01_43_02_617597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a0ac4f8d51806faf28d33a63d5144fa.jpg","text":"TemporaryFile(/tmp/multipartBody3635620149870875090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642676970,"filename":"image_12012025_01_42_02_935053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3966aa1b81a42da01f9c3aa63583450a.jpg","text":"TemporaryFile(/tmp/multipartBody6398301132139973430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642676970,"filename":"image_12012025_01_42_02_935053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/939c96b5190c8a0d7f492b5427906b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4038395865559204506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642676970,"filename":"image_12012025_01_43_02_617597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8d91c3a9e9069d5a88c0bbd0115ed3a.jpg","text":"TemporaryFile(/tmp/multipartBody3703686459014581585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642676970,"filename":"image_12012025_01_42_02_935053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4baa6587409e1d00aed78b894b3226eb.jpg","text":"TemporaryFile(/tmp/multipartBody470657898433086133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642676970,"filename":"image_12012025_01_43_02_617597_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295667","file1":"1328295665","file0":"1328295663","file4":"1328295671","file5":"1328295676","file3":"1328295668"},"map_files_photo_id_array":[{"photo_id":"1328295676","filename":"file5"},{"photo_id":"1328295667","filename":"file2"},{"photo_id":"1328295671","filename":"file4"},{"photo_id":"1328295665","filename":"file1"},{"photo_id":"1328295663","filename":"file0"},{"photo_id":"1328295668","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295676":["hashtag1","hashtag2"]},{"1328295667":["hashtag1","hashtag2"]},{"1328295663":["hashtag1","hashtag2"]},{"1328295671":["hashtag1","hashtag2"]},{"1328295665":["hashtag1","hashtag2"]},{"1328295668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295676, 1328295667, 1328295663, 1328295671, 1328295665, 1328295668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.023120403289795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:45:03.365483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0003.jpg', '/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0000.jpg', '/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0001.jpg', '/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/43/image_12012025_01_43_02_617597_0003.jpg
/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0000.jpg
/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0001.jpg
/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295704","1328295707","1328295709","1328295702"],"photo_ids_order":["1328295702","1328295704","1328295707","1328295709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5942b05a99400cb229d814a339069398.jpg","text":"TemporaryFile(/tmp/multipartBody9171029648519268052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642773867,"filename":"image_12012025_01_44_02_112991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d08047b80c8e3d575139ae8e432a667.jpg","text":"TemporaryFile(/tmp/multipartBody5643217209203611722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642773867,"filename":"image_12012025_01_44_02_112991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d005c225e0263cc84e98d8bc9ada5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6168674026509219493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642773867,"filename":"image_12012025_01_44_02_112991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e377f5c88b8a64e23c6d220475b4e3e9.jpg","text":"TemporaryFile(/tmp/multipartBody5399568684034985864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642773867,"filename":"image_12012025_01_43_02_617597_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295707","file1":"1328295704","file0":"1328295702","file3":"1328295709"},"map_files_photo_id_array":[{"photo_id":"1328295707","filename":"file2"},{"photo_id":"1328295704","filename":"file1"},{"photo_id":"1328295702","filename":"file0"},{"photo_id":"1328295709","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295704":["hashtag1","hashtag2"]},{"1328295707":["hashtag1","hashtag2"]},{"1328295709":["hashtag1","hashtag2"]},{"1328295702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295704, 1328295707, 1328295709, 1328295702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67657971382141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:46:02.748126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0003.jpg', '/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0000.jpg', '/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0001.jpg', '/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/44/image_12012025_01_44_02_112991_0003.jpg
/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0000.jpg
/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0001.jpg
/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295751","1328295747","1328295746","1328295749"],"photo_ids_order":["1328295746","1328295747","1328295749","1328295751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d147a6dd1d18b2b1111206c348221fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7784493259248833243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642833059,"filename":"image_12012025_01_45_02_597856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a053b9e6988a04c2be0c277200fe0c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4798218473741965025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642833059,"filename":"image_12012025_01_45_02_597856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df61de8a78426077875b00d3f75beff3.jpg","text":"TemporaryFile(/tmp/multipartBody6674036967484803814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642833059,"filename":"image_12012025_01_44_02_112991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7fd7fea53f62bd75026191d151e67d8.jpg","text":"TemporaryFile(/tmp/multipartBody1166019601717343680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642833059,"filename":"image_12012025_01_45_02_597856_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295749","file1":"1328295747","file0":"1328295746","file3":"1328295751"},"map_files_photo_id_array":[{"photo_id":"1328295749","filename":"file2"},{"photo_id":"1328295747","filename":"file1"},{"photo_id":"1328295746","filename":"file0"},{"photo_id":"1328295751","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295751":["hashtag1","hashtag2"]},{"1328295747":["hashtag1","hashtag2"]},{"1328295746":["hashtag1","hashtag2"]},{"1328295749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295751, 1328295747, 1328295746, 1328295749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58868050575256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:47:02.606371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0003.jpg', '/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0000.jpg', '/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0001.jpg', '/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/45/image_12012025_01_45_02_597856_0003.jpg
/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0000.jpg
/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0001.jpg
/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328295760","1328295762","1328295759","1328295764"],"photo_ids_order":["1328295759","1328295760","1328295762","1328295764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4dd8fffdf793894bfd4ba679a61e1f5.jpg","text":"TemporaryFile(/tmp/multipartBody6799956350814506388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642893151,"filename":"image_12012025_01_46_03_095715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f68ab78bd07d05e2863060a6d21bd4d3.jpg","text":"TemporaryFile(/tmp/multipartBody4004938696364368757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642893151,"filename":"image_12012025_01_46_03_095715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aaf862c351d2d92a7b2a9e79141456c1.jpg","text":"TemporaryFile(/tmp/multipartBody3302050462815986572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642893151,"filename":"image_12012025_01_45_02_597856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4db2a9f1a1a7e7bd5785a4769da5fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody2674182402114830240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642893151,"filename":"image_12012025_01_46_03_095715_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328295762","file1":"1328295760","file0":"1328295759","file3":"1328295764"},"map_files_photo_id_array":[{"photo_id":"1328295762","filename":"file2"},{"photo_id":"1328295760","filename":"file1"},{"photo_id":"1328295759","filename":"file0"},{"photo_id":"1328295764","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328295760":["hashtag1","hashtag2"]},{"1328295762":["hashtag1","hashtag2"]},{"1328295759":["hashtag1","hashtag2"]},{"1328295764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328295760, 1328295762, 1328295759, 1328295764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.382789850234985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:48:02.950087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0003.jpg', '/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0000.jpg', '/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0001.jpg', '/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/46/image_12012025_01_46_03_095715_0003.jpg
/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0000.jpg
/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0001.jpg
/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328296432","1328296429","1328296434","1328296430"],"photo_ids_order":["1328296429","1328296430","1328296432","1328296434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/110664fbe87176a5621f70342d7c1659.jpg","text":"TemporaryFile(/tmp/multipartBody260618494405582894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642953407,"filename":"image_12012025_01_47_02_706737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5730e38330b1242032022d4e3e3ce08.jpg","text":"TemporaryFile(/tmp/multipartBody6807980120901187199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642953407,"filename":"image_12012025_01_46_03_095715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62188b56fb2a287a3f4e450bc6fe19e3.jpg","text":"TemporaryFile(/tmp/multipartBody7247329148480531865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642953407,"filename":"image_12012025_01_47_02_706737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab713823119fc7f8d076732fad6c5ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7581334434905677259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736642953407,"filename":"image_12012025_01_47_02_706737_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328296432","file1":"1328296430","file0":"1328296429","file3":"1328296434"},"map_files_photo_id_array":[{"photo_id":"1328296432","filename":"file2"},{"photo_id":"1328296430","filename":"file1"},{"photo_id":"1328296429","filename":"file0"},{"photo_id":"1328296434","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328296432":["hashtag1","hashtag2"]},{"1328296429":["hashtag1","hashtag2"]},{"1328296434":["hashtag1","hashtag2"]},{"1328296430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328296432, 1328296429, 1328296434, 1328296430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68297982215881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:49:02.609754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0003.jpg', '/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0000.jpg', '/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0001.jpg', '/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/47/image_12012025_01_47_02_706737_0003.jpg
/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0000.jpg
/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0001.jpg
/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328296780","1328296794","1328296790","1328296792"],"photo_ids_order":["1328296780","1328296790","1328296792","1328296794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f77c69a8cba96965aad1e96d871fc705.jpg","text":"TemporaryFile(/tmp/multipartBody3306724695405861075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643012946,"filename":"image_12012025_01_47_02_706737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9da7dffc4b5b1e960bd1049f7b51f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3948500356200266042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643012946,"filename":"image_12012025_01_48_02_279533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/99ffcd1d1009d8dc8d9900a7339d6474.jpg","text":"TemporaryFile(/tmp/multipartBody8102311871119757251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643012946,"filename":"image_12012025_01_48_02_279533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01870f476d84b95fd90dff92d139169c.jpg","text":"TemporaryFile(/tmp/multipartBody6874479548844882030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643012946,"filename":"image_12012025_01_48_02_279533_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328296792","file1":"1328296790","file0":"1328296780","file3":"1328296794"},"map_files_photo_id_array":[{"photo_id":"1328296792","filename":"file2"},{"photo_id":"1328296790","filename":"file1"},{"photo_id":"1328296780","filename":"file0"},{"photo_id":"1328296794","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328296780":["hashtag1","hashtag2"]},{"1328296794":["hashtag1","hashtag2"]},{"1328296790":["hashtag1","hashtag2"]},{"1328296792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328296780, 1328296794, 1328296790, 1328296792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00956916809082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:50:02.179047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0003.jpg', '/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0000.jpg', '/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0001.jpg', '/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/48/image_12012025_01_48_02_279533_0003.jpg
/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0000.jpg
/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0001.jpg
/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328296830","1328296821","1328296824","1328296826"],"photo_ids_order":["1328296821","1328296824","1328296826","1328296830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7960144c98c67182eb1565689135ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody4670510469665427092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643072621,"filename":"image_12012025_01_49_02_916310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9735580d6c76cc22439f01e2150b48b2.jpg","text":"TemporaryFile(/tmp/multipartBody3374920535558360004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643072621,"filename":"image_12012025_01_48_02_279533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81319e69b868f4e03bf78fc0d6495f20.jpg","text":"TemporaryFile(/tmp/multipartBody6828321681785062692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643072621,"filename":"image_12012025_01_49_02_916310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ef764fa343cb95b1ca79fbda4d1daf6.jpg","text":"TemporaryFile(/tmp/multipartBody8105867700163698409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643072621,"filename":"image_12012025_01_49_02_916310_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328296826","file1":"1328296824","file0":"1328296821","file3":"1328296830"},"map_files_photo_id_array":[{"photo_id":"1328296826","filename":"file2"},{"photo_id":"1328296824","filename":"file1"},{"photo_id":"1328296821","filename":"file0"},{"photo_id":"1328296830","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328296830":["hashtag1","hashtag2"]},{"1328296821":["hashtag1","hashtag2"]},{"1328296824":["hashtag1","hashtag2"]},{"1328296826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328296830, 1328296821, 1328296824, 1328296826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.88054633140564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:51:02.849538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0003.jpg', '/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0000.jpg', '/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0001.jpg', '/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/49/image_12012025_01_49_02_916310_0003.jpg
/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0000.jpg
/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0001.jpg
/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328296867","1328296866","1328296883","1328296865"],"photo_ids_order":["1328296865","1328296866","1328296867","1328296883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a444134d4f606be60777be81672ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody233568039460790966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643133193,"filename":"image_12012025_01_50_02_449005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76623198ec1b50ecbfa4e43215b6a41d.jpg","text":"TemporaryFile(/tmp/multipartBody2827755119194037003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643133193,"filename":"image_12012025_01_50_02_449005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/310927beb5737d944ff29533a5bdea12.jpg","text":"TemporaryFile(/tmp/multipartBody2346746561423569695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643133193,"filename":"image_12012025_01_50_02_449005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cf3bb5833e1aee5547462bdcba37a04.jpg","text":"TemporaryFile(/tmp/multipartBody5832470257794082741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643133193,"filename":"image_12012025_01_49_02_916310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328296867","file1":"1328296866","file0":"1328296865","file3":"1328296883"},"map_files_photo_id_array":[{"photo_id":"1328296867","filename":"file2"},{"photo_id":"1328296866","filename":"file1"},{"photo_id":"1328296865","filename":"file0"},{"photo_id":"1328296883","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328296867":["hashtag1","hashtag2"]},{"1328296866":["hashtag1","hashtag2"]},{"1328296883":["hashtag1","hashtag2"]},{"1328296865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328296867, 1328296866, 1328296883, 1328296865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67800235748291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:52:02.330649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0003.jpg', '/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0000.jpg', '/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0001.jpg', '/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/50/image_12012025_01_50_02_449005_0003.jpg
/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0000.jpg
/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0001.jpg
/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328297002","1328297001","1328297004","1328297006"],"photo_ids_order":["1328297001","1328297002","1328297004","1328297006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e523d793ae69cdb901adaa53679f450.jpg","text":"TemporaryFile(/tmp/multipartBody1022806773298839155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643192670,"filename":"image_12012025_01_51_02_188249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39f595cb6f3a2cea4487dc62d47c6b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4543622105353817445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643192670,"filename":"image_12012025_01_50_02_449005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a4d3fb964c1637a7ef9c2a93ed643a7.jpg","text":"TemporaryFile(/tmp/multipartBody5580850047596458356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643192670,"filename":"image_12012025_01_51_02_188249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9e7644cecb74c349d198ea90a2899eb.jpg","text":"TemporaryFile(/tmp/multipartBody5883621118235948825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643192670,"filename":"image_12012025_01_51_02_188249_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328297004","file1":"1328297002","file0":"1328297001","file3":"1328297006"},"map_files_photo_id_array":[{"photo_id":"1328297004","filename":"file2"},{"photo_id":"1328297002","filename":"file1"},{"photo_id":"1328297001","filename":"file0"},{"photo_id":"1328297006","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328297002":["hashtag1","hashtag2"]},{"1328297001":["hashtag1","hashtag2"]},{"1328297004":["hashtag1","hashtag2"]},{"1328297006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328297002, 1328297001, 1328297004, 1328297006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78798484802246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:53:02.974512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0003.jpg', '/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0000.jpg', '/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0001.jpg', '/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/51/image_12012025_01_51_02_188249_0003.jpg
/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0000.jpg
/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0001.jpg
/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328297020","1328297016","1328297018","1328297015"],"photo_ids_order":["1328297015","1328297016","1328297018","1328297020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23c295aced6e8e181673d01cc04c6639.jpg","text":"TemporaryFile(/tmp/multipartBody8014046939985932135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643253460,"filename":"image_12012025_01_52_02_636845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6a6beb0c4321bcc8a0267ee89ee3d34.jpg","text":"TemporaryFile(/tmp/multipartBody2997768172359275927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643253460,"filename":"image_12012025_01_52_02_636845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/847897e5826e5fd8cf65df83d8a3fdcf.jpg","text":"TemporaryFile(/tmp/multipartBody3874726776165068898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643253460,"filename":"image_12012025_01_52_02_636845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72568f09da5465ade505c73d440e7ed8.jpg","text":"TemporaryFile(/tmp/multipartBody3002088543396530668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643253460,"filename":"image_12012025_01_51_02_188249_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328297018","file1":"1328297016","file0":"1328297015","file3":"1328297020"},"map_files_photo_id_array":[{"photo_id":"1328297018","filename":"file2"},{"photo_id":"1328297016","filename":"file1"},{"photo_id":"1328297015","filename":"file0"},{"photo_id":"1328297020","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328297020":["hashtag1","hashtag2"]},{"1328297016":["hashtag1","hashtag2"]},{"1328297018":["hashtag1","hashtag2"]},{"1328297015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328297020, 1328297016, 1328297018, 1328297015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.717142820358276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:54:02.578440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0003.jpg', '/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0000.jpg', '/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0001.jpg', '/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/52/image_12012025_01_52_02_636845_0003.jpg
/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0000.jpg
/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0001.jpg
/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328298201","1328298199","1328298203","1328298198"],"photo_ids_order":["1328298198","1328298199","1328298201","1328298203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ded64d1f52139d1c97141d75e225a3d3.jpg","text":"TemporaryFile(/tmp/multipartBody1246487862405206321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643313059,"filename":"image_12012025_01_53_02_338617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b879362efa4927e45e4457696d0fdaf.jpg","text":"TemporaryFile(/tmp/multipartBody7080626483228485060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643313059,"filename":"image_12012025_01_53_02_338617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca39217f5bb0716b1fb8e49facf8ca75.jpg","text":"TemporaryFile(/tmp/multipartBody2434115756385041772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643313059,"filename":"image_12012025_01_53_02_338617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d72f6df57bc8ad50c524e4de4b159081.jpg","text":"TemporaryFile(/tmp/multipartBody1634331501699185827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643313059,"filename":"image_12012025_01_52_02_636845_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328298201","file1":"1328298199","file0":"1328298198","file3":"1328298203"},"map_files_photo_id_array":[{"photo_id":"1328298201","filename":"file2"},{"photo_id":"1328298199","filename":"file1"},{"photo_id":"1328298198","filename":"file0"},{"photo_id":"1328298203","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328298201":["hashtag1","hashtag2"]},{"1328298199":["hashtag1","hashtag2"]},{"1328298203":["hashtag1","hashtag2"]},{"1328298198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328298201, 1328298199, 1328298203, 1328298198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1195924282074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:55:03.240307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0003.jpg', '/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0000.jpg', '/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0001.jpg', '/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/53/image_12012025_01_53_02_338617_0003.jpg
/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0000.jpg
/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0001.jpg
/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328298507","1328298371","1328298499","1328298535"],"photo_ids_order":["1328298371","1328298499","1328298507","1328298535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecb7292ff1c60d3c02b3803735fe0d37.jpg","text":"TemporaryFile(/tmp/multipartBody5576579804430050858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643373614,"filename":"image_12012025_01_54_02_835748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6fe67fa3d1b1118e28578ac664dd9660.jpg","text":"TemporaryFile(/tmp/multipartBody7020057912388555877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643373614,"filename":"image_12012025_01_53_02_338617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3037af55335ad6f8145453516d7acd94.jpg","text":"TemporaryFile(/tmp/multipartBody1648010258811279703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643373614,"filename":"image_12012025_01_54_02_835748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f51f7c13e31964209d242374b7c5a88.jpg","text":"TemporaryFile(/tmp/multipartBody3494037490534765298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643373614,"filename":"image_12012025_01_54_02_835748_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328298507","file1":"1328298499","file0":"1328298371","file3":"1328298535"},"map_files_photo_id_array":[{"photo_id":"1328298507","filename":"file2"},{"photo_id":"1328298499","filename":"file1"},{"photo_id":"1328298371","filename":"file0"},{"photo_id":"1328298535","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328298507":["hashtag1","hashtag2"]},{"1328298371":["hashtag1","hashtag2"]},{"1328298499":["hashtag1","hashtag2"]},{"1328298535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328298507, 1328298371, 1328298499, 1328298535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.42033648490906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:56:02.593473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0003.jpg', '/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0000.jpg', '/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0001.jpg', '/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/54/image_12012025_01_54_02_835748_0003.jpg
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0000.jpg
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0001.jpg
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328298612","1328298625","1328298628","1328298613"],"photo_ids_order":["1328298612","1328298613","1328298625","1328298628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d1776256e8e545f6200cd40c8cf0888.jpg","text":"TemporaryFile(/tmp/multipartBody4363884489431718540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643433020,"filename":"image_12012025_01_54_02_835748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/566a9753a61f37b7b701dc61f35142ef.jpg","text":"TemporaryFile(/tmp/multipartBody4658575650957013186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643433020,"filename":"image_12012025_01_55_02_492547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e43933721d95092d9e276b1e7bdcd0e.jpg","text":"TemporaryFile(/tmp/multipartBody716127568253579102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643433020,"filename":"image_12012025_01_55_02_492547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/867ca9e6df8800860d366432f266d048.jpg","text":"TemporaryFile(/tmp/multipartBody5547604956268756574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643433020,"filename":"image_12012025_01_55_02_492547_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328298625","file1":"1328298613","file0":"1328298612","file3":"1328298628"},"map_files_photo_id_array":[{"photo_id":"1328298625","filename":"file2"},{"photo_id":"1328298613","filename":"file1"},{"photo_id":"1328298612","filename":"file0"},{"photo_id":"1328298628","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328298612":["hashtag1","hashtag2"]},{"1328298625":["hashtag1","hashtag2"]},{"1328298628":["hashtag1","hashtag2"]},{"1328298613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328298612, 1328298625, 1328298628, 1328298613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.16787624359131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 01:57:03.409683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.929537057876587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:57:22.642221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0003.jpg', '/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0003.jpg
/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_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-12 01:59:03.172518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0003.jpg', '/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0003.jpg
/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_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.797064542770386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 01:59:22.470189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg', '/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0003.jpg', '/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/55/image_12012025_01_55_02_492547_0003.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0000.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0001.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0002.jpg
/home/pi/Desktop/images/12012025/01/56/image_12012025_01_56_03_009075_0003.jpg
/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328298731","1328298713","1328298722","1328298715","1328298709","1328298718"],"photo_ids_order":["1328298709","1328298713","1328298715","1328298718","1328298722","1328298731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0e8148e97306bae7d85ce700934837b.jpg","text":"TemporaryFile(/tmp/multipartBody2169375039797142094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643637625,"filename":"image_12012025_01_57_02_540188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d45af98e30ca220b130d325682fa9db.jpg","text":"TemporaryFile(/tmp/multipartBody8515613430136664208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643637625,"filename":"image_12012025_01_56_03_009075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eeb569ddbabf6aac6f1ae9bcba9905de.jpg","text":"TemporaryFile(/tmp/multipartBody6869183585728769900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643637625,"filename":"image_12012025_01_56_03_009075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9c9a1593727604764f4747e79f91747.jpg","text":"TemporaryFile(/tmp/multipartBody938129966465216004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643637625,"filename":"image_12012025_01_56_03_009075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b325e9ad784ac8dd75efc59f34096b8.jpg","text":"TemporaryFile(/tmp/multipartBody5168789176383098082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643637625,"filename":"image_12012025_01_55_02_492547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/512cf3c1491e0de5a2e4a634f470d729.jpg","text":"TemporaryFile(/tmp/multipartBody2996410601656450382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643637625,"filename":"image_12012025_01_56_03_009075_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328298715","file1":"1328298713","file0":"1328298709","file4":"1328298722","file5":"1328298731","file3":"1328298718"},"map_files_photo_id_array":[{"photo_id":"1328298731","filename":"file5"},{"photo_id":"1328298715","filename":"file2"},{"photo_id":"1328298722","filename":"file4"},{"photo_id":"1328298713","filename":"file1"},{"photo_id":"1328298709","filename":"file0"},{"photo_id":"1328298718","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328298731":["hashtag1","hashtag2"]},{"1328298713":["hashtag1","hashtag2"]},{"1328298722":["hashtag1","hashtag2"]},{"1328298715":["hashtag1","hashtag2"]},{"1328298709":["hashtag1","hashtag2"]},{"1328298718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328298731, 1328298713, 1328298722, 1328298715, 1328298709, 1328298718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45597529411316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:00:21.990338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0001.jpg', '/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0002.jpg', '/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0003.jpg', '/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0000.jpg', '/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0001.jpg', '/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0001.jpg
/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0002.jpg
/home/pi/Desktop/images/12012025/01/57/image_12012025_01_57_02_540188_0003.jpg
/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0000.jpg
/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0001.jpg
/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328299562","1328299592","1328299594","1328299579","1328299566","1328299563"],"photo_ids_order":["1328299562","1328299563","1328299566","1328299579","1328299592","1328299594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02fd013f3429ba8be11d0218c81d04b0.jpg","text":"TemporaryFile(/tmp/multipartBody3607634337831139993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643697074,"filename":"image_12012025_01_57_02_540188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e60f0c84b59534e75cdf8516cf635824.jpg","text":"TemporaryFile(/tmp/multipartBody6614577392333064615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643697074,"filename":"image_12012025_01_58_03_030329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1307869f8dc4894ad15c9ab9fa3c12fb.jpg","text":"TemporaryFile(/tmp/multipartBody9170497978142381948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643697074,"filename":"image_12012025_01_58_03_030329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57c917868bbdd7c49de4b5162b40dbe6.jpg","text":"TemporaryFile(/tmp/multipartBody1238034091500998555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643697074,"filename":"image_12012025_01_58_03_030329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aafb546b2d05c9c356ce52feb7bbfdb3.jpg","text":"TemporaryFile(/tmp/multipartBody4557136517220626798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643697074,"filename":"image_12012025_01_57_02_540188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c7dab20ca3f309b912a7d19db3d9d79.jpg","text":"TemporaryFile(/tmp/multipartBody8284386022402290275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643697074,"filename":"image_12012025_01_57_02_540188_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328299566","file1":"1328299563","file0":"1328299562","file4":"1328299592","file5":"1328299594","file3":"1328299579"},"map_files_photo_id_array":[{"photo_id":"1328299594","filename":"file5"},{"photo_id":"1328299566","filename":"file2"},{"photo_id":"1328299592","filename":"file4"},{"photo_id":"1328299563","filename":"file1"},{"photo_id":"1328299562","filename":"file0"},{"photo_id":"1328299579","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328299562":["hashtag1","hashtag2"]},{"1328299592":["hashtag1","hashtag2"]},{"1328299594":["hashtag1","hashtag2"]},{"1328299579":["hashtag1","hashtag2"]},{"1328299566":["hashtag1","hashtag2"]},{"1328299563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328299562, 1328299592, 1328299594, 1328299579, 1328299566, 1328299563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39046907424927 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:01:22.613759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0003.jpg', '/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0000.jpg', '/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0001.jpg', '/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0002.jpg', '/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0003.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/01/58/image_12012025_01_58_03_030329_0003.jpg
/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0000.jpg
/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0001.jpg
/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0002.jpg
/home/pi/Desktop/images/12012025/01/59/image_12012025_01_59_02_667684_0003.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328299895","1328299897","1328299901","1328299893","1328299899","1328299890"],"photo_ids_order":["1328299890","1328299893","1328299895","1328299897","1328299899","1328299901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/caedeb6508d2f082ea1c601956b47366.jpg","text":"TemporaryFile(/tmp/multipartBody5379672938410653568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643757767,"filename":"image_12012025_01_59_02_667684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5883cb25b767c2b7881322720537bce.jpg","text":"TemporaryFile(/tmp/multipartBody6541228388155246811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643757767,"filename":"image_12012025_01_59_02_667684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/021ab2ef24e3db663e4b3cf518fb7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody193197388391612300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643757767,"filename":"image_12012025_02_00_02_809680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b9023edd7c689504ec58b389e63d86b.jpg","text":"TemporaryFile(/tmp/multipartBody5225656510907849129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643757767,"filename":"image_12012025_01_59_02_667684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f24e5aacf0b173496738174b1c875c2.jpg","text":"TemporaryFile(/tmp/multipartBody4719405523288736638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643757767,"filename":"image_12012025_01_59_02_667684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e17108b16cc693eb076d09f3dcd390b0.jpg","text":"TemporaryFile(/tmp/multipartBody2204560217311387779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643757767,"filename":"image_12012025_01_58_03_030329_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328299895","file1":"1328299893","file0":"1328299890","file4":"1328299899","file5":"1328299901","file3":"1328299897"},"map_files_photo_id_array":[{"photo_id":"1328299901","filename":"file5"},{"photo_id":"1328299895","filename":"file2"},{"photo_id":"1328299899","filename":"file4"},{"photo_id":"1328299893","filename":"file1"},{"photo_id":"1328299890","filename":"file0"},{"photo_id":"1328299897","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328299895":["hashtag1","hashtag2"]},{"1328299897":["hashtag1","hashtag2"]},{"1328299901":["hashtag1","hashtag2"]},{"1328299893":["hashtag1","hashtag2"]},{"1328299899":["hashtag1","hashtag2"]},{"1328299890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328299895, 1328299897, 1328299901, 1328299893, 1328299899, 1328299890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.406840085983276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:02:22.162664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0001.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0002.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0003.jpg', '/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0000.jpg', '/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0001.jpg', '/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0001.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0002.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_02_809680_0003.jpg
/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0000.jpg
/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0001.jpg
/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328299920","1328299922","1328299916","1328299925","1328299912","1328299923"],"photo_ids_order":["1328299912","1328299916","1328299920","1328299922","1328299923","1328299925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c77c22824bb6abfaa4dc7e761b1738f0.jpg","text":"TemporaryFile(/tmp/multipartBody2883567811804655981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643817363,"filename":"image_12012025_02_00_02_809680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/007ab776e442f918051b1de414ca6de6.jpg","text":"TemporaryFile(/tmp/multipartBody1516714196640806649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643817363,"filename":"image_12012025_02_01_02_475832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85e0d5049e2c6a83beba58667bcf9ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7547142061370783249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643817363,"filename":"image_12012025_02_00_02_809680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9cfcc97b3082e61b1232fb7d68524aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3292640866922456138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643817363,"filename":"image_12012025_02_01_02_475832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91565975ffe0b894e0fe0f33a3be35bf.jpg","text":"TemporaryFile(/tmp/multipartBody5870442442551216271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643817363,"filename":"image_12012025_02_00_02_809680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18655aa694aac690be859fa9fdf1ec3d.jpg","text":"TemporaryFile(/tmp/multipartBody9067082671737836681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643817363,"filename":"image_12012025_02_01_02_475832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328299920","file1":"1328299916","file0":"1328299912","file4":"1328299923","file5":"1328299925","file3":"1328299922"},"map_files_photo_id_array":[{"photo_id":"1328299925","filename":"file5"},{"photo_id":"1328299920","filename":"file2"},{"photo_id":"1328299923","filename":"file4"},{"photo_id":"1328299916","filename":"file1"},{"photo_id":"1328299912","filename":"file0"},{"photo_id":"1328299922","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328299920":["hashtag1","hashtag2"]},{"1328299922":["hashtag1","hashtag2"]},{"1328299916":["hashtag1","hashtag2"]},{"1328299925":["hashtag1","hashtag2"]},{"1328299912":["hashtag1","hashtag2"]},{"1328299923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328299920, 1328299922, 1328299916, 1328299925, 1328299912, 1328299923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95483064651489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:03:22.639256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0003.jpg', '/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0000.jpg', '/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0001.jpg', '/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0002.jpg', '/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0003.jpg', '/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/01/image_12012025_02_01_02_475832_0003.jpg
/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0000.jpg
/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0001.jpg
/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0002.jpg
/home/pi/Desktop/images/12012025/02/02/image_12012025_02_02_03_048188_0003.jpg
/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328299967","1328299964","1328299966","1328299948","1328299933","1328299962"],"photo_ids_order":["1328299933","1328299948","1328299962","1328299964","1328299966","1328299967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12dc033ca2cc79212d4138032f217187.jpg","text":"TemporaryFile(/tmp/multipartBody4530377205069796109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643877834,"filename":"image_12012025_02_03_02_538128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/546813c528bfcc3c7d067b1d30f8129e.jpg","text":"TemporaryFile(/tmp/multipartBody5515828283205487631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643877834,"filename":"image_12012025_02_02_03_048188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc2d6565be59dde0e8d9611212e1d662.jpg","text":"TemporaryFile(/tmp/multipartBody862160418831967389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643877834,"filename":"image_12012025_02_02_03_048188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f63322de37f8b158df41eb63077fc46d.jpg","text":"TemporaryFile(/tmp/multipartBody250109563668234021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643877834,"filename":"image_12012025_02_02_03_048188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4dbd4af190569736281fc8f50093d59.jpg","text":"TemporaryFile(/tmp/multipartBody1512844117927514656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643877834,"filename":"image_12012025_02_01_02_475832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05582c6cb2d48f80d52aab90dd658639.jpg","text":"TemporaryFile(/tmp/multipartBody2298018908826866304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643877834,"filename":"image_12012025_02_02_03_048188_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328299962","file1":"1328299948","file0":"1328299933","file4":"1328299966","file5":"1328299967","file3":"1328299964"},"map_files_photo_id_array":[{"photo_id":"1328299967","filename":"file5"},{"photo_id":"1328299962","filename":"file2"},{"photo_id":"1328299966","filename":"file4"},{"photo_id":"1328299948","filename":"file1"},{"photo_id":"1328299933","filename":"file0"},{"photo_id":"1328299964","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328299967":["hashtag1","hashtag2"]},{"1328299964":["hashtag1","hashtag2"]},{"1328299966":["hashtag1","hashtag2"]},{"1328299948":["hashtag1","hashtag2"]},{"1328299933":["hashtag1","hashtag2"]},{"1328299962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328299967, 1328299964, 1328299966, 1328299948, 1328299933, 1328299962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.77156901359558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:04:22.159815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0001.jpg', '/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0002.jpg', '/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0003.jpg', '/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0000.jpg', '/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0001.jpg', '/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0001.jpg
/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0002.jpg
/home/pi/Desktop/images/12012025/02/03/image_12012025_02_03_02_538128_0003.jpg
/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0000.jpg
/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0001.jpg
/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328300714","1328299973","1328300470","1328300937","1328300211","1328299977"],"photo_ids_order":["1328299973","1328299977","1328300211","1328300470","1328300714","1328300937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0442c447ba235aea292b4d4252e916a4.jpg","text":"TemporaryFile(/tmp/multipartBody6220934152743948377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643937250,"filename":"image_12012025_02_04_03_053822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04b20e1cfbb5fd444c4244d032e494d3.jpg","text":"TemporaryFile(/tmp/multipartBody3599047668297454678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643937250,"filename":"image_12012025_02_03_02_538128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91e7151bd218e64c91f4782daa64c854.jpg","text":"TemporaryFile(/tmp/multipartBody3262367252245062292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643937250,"filename":"image_12012025_02_04_03_053822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e80731494d5fe7abcc7402404da4211a.jpg","text":"TemporaryFile(/tmp/multipartBody8092272770306818946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643937250,"filename":"image_12012025_02_04_03_053822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4eeb19b668c0da27b6569e4da66b7742.jpg","text":"TemporaryFile(/tmp/multipartBody3155351490133610762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643937250,"filename":"image_12012025_02_03_02_538128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/385c8af72fd7eee87ffe81a37cd33c46.jpg","text":"TemporaryFile(/tmp/multipartBody8761171712954302526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643937250,"filename":"image_12012025_02_03_02_538128_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328300211","file1":"1328299977","file0":"1328299973","file4":"1328300714","file5":"1328300937","file3":"1328300470"},"map_files_photo_id_array":[{"photo_id":"1328300937","filename":"file5"},{"photo_id":"1328300211","filename":"file2"},{"photo_id":"1328300714","filename":"file4"},{"photo_id":"1328299977","filename":"file1"},{"photo_id":"1328299973","filename":"file0"},{"photo_id":"1328300470","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328300714":["hashtag1","hashtag2"]},{"1328299973":["hashtag1","hashtag2"]},{"1328300470":["hashtag1","hashtag2"]},{"1328300937":["hashtag1","hashtag2"]},{"1328300211":["hashtag1","hashtag2"]},{"1328299977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328300714, 1328299973, 1328300470, 1328300937, 1328300211, 1328299977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.40536952018738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:05:22.675342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0003.jpg', '/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0000.jpg', '/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0001.jpg', '/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/04/image_12012025_02_04_03_053822_0003.jpg
/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0000.jpg
/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0001.jpg
/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301151","1328301160","1328301154","1328301157"],"photo_ids_order":["1328301151","1328301154","1328301157","1328301160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9a9230769a3af6649f69cf3dd0ec6a0.jpg","text":"TemporaryFile(/tmp/multipartBody8468309031903243483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643993024,"filename":"image_12012025_02_04_03_053822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d10f284bd9d195d5d411c11796997cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4683956613706231046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643993024,"filename":"image_12012025_02_05_02_548225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e75d9b0ce63a30775f61e53c16bbba9.jpg","text":"TemporaryFile(/tmp/multipartBody3079772581389931356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643993024,"filename":"image_12012025_02_05_02_548225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45b98032d3d6d5472554f28f1d25a6e6.jpg","text":"TemporaryFile(/tmp/multipartBody3808931090572651751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736643993024,"filename":"image_12012025_02_05_02_548225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301157","file1":"1328301154","file0":"1328301151","file3":"1328301160"},"map_files_photo_id_array":[{"photo_id":"1328301157","filename":"file2"},{"photo_id":"1328301154","filename":"file1"},{"photo_id":"1328301151","filename":"file0"},{"photo_id":"1328301160","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301151":["hashtag1","hashtag2"]},{"1328301160":["hashtag1","hashtag2"]},{"1328301154":["hashtag1","hashtag2"]},{"1328301157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301151, 1328301160, 1328301154, 1328301157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.770851373672485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:06:02.702863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:06:22.273580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0003.jpg', '/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0000.jpg', '/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0001.jpg', '/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0003.jpg
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0000.jpg
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0001.jpg
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.007143497467041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:07:02.483233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0003.jpg', '/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0000.jpg', '/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0001.jpg', '/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/05/image_12012025_02_05_02_548225_0003.jpg
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0000.jpg
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0001.jpg
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301517","1328301522","1328301516","1328301519"],"photo_ids_order":["1328301516","1328301517","1328301519","1328301522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71db239784398fe07714a188d503a12b.jpg","text":"TemporaryFile(/tmp/multipartBody1004800800946932062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644092924,"filename":"image_12012025_02_06_03_179317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/967c4525b8fb89765f9ba8246984b976.jpg","text":"TemporaryFile(/tmp/multipartBody6199306719799200875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644092924,"filename":"image_12012025_02_06_03_179317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d44bb524f794bb0abd39010853f25963.jpg","text":"TemporaryFile(/tmp/multipartBody1413004218652983622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644092924,"filename":"image_12012025_02_05_02_548225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/276e5a859baf2e0dc5c753d4051fc03c.jpg","text":"TemporaryFile(/tmp/multipartBody937082445694217493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644092924,"filename":"image_12012025_02_06_03_179317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301519","file1":"1328301517","file0":"1328301516","file3":"1328301522"},"map_files_photo_id_array":[{"photo_id":"1328301519","filename":"file2"},{"photo_id":"1328301517","filename":"file1"},{"photo_id":"1328301516","filename":"file0"},{"photo_id":"1328301522","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301517":["hashtag1","hashtag2"]},{"1328301522":["hashtag1","hashtag2"]},{"1328301516":["hashtag1","hashtag2"]},{"1328301519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301517, 1328301522, 1328301516, 1328301519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.8844051361084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:08:02.786882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0003.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0000.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0001.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0003.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0000.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0001.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.021541833877563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:08:22.448355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0003.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0000.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0001.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0002.jpg', '/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0003.jpg', '/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/06/image_12012025_02_06_03_179317_0003.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0000.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0001.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0002.jpg
/home/pi/Desktop/images/12012025/02/07/image_12012025_02_07_02_702026_0003.jpg
/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301541","1328301547","1328301549","1328301543","1328301545","1328301539"],"photo_ids_order":["1328301539","1328301541","1328301543","1328301545","1328301547","1328301549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f084947fffe9b0dc7104b9bd6f9bce1.jpg","text":"TemporaryFile(/tmp/multipartBody2732437988804102283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644177704,"filename":"image_12012025_02_07_02_702026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b78b064380ddde78af83bd9b41799b9.jpg","text":"TemporaryFile(/tmp/multipartBody783676696502551653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644177704,"filename":"image_12012025_02_07_02_702026_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74696278c75176aa76de20d551dd4414.jpg","text":"TemporaryFile(/tmp/multipartBody5036823014308464501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644177704,"filename":"image_12012025_02_08_02_227559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10f2c9cc3db5d591f09fa357a200efb0.jpg","text":"TemporaryFile(/tmp/multipartBody4673592172713433788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644177704,"filename":"image_12012025_02_07_02_702026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b46fdf6c81e2f972157f81fb7b4e3779.jpg","text":"TemporaryFile(/tmp/multipartBody7326182224461907875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644177704,"filename":"image_12012025_02_07_02_702026_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d80309235810ef2dd601bdf593e7333.jpg","text":"TemporaryFile(/tmp/multipartBody3590607264160099124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644177704,"filename":"image_12012025_02_06_03_179317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301543","file1":"1328301541","file0":"1328301539","file4":"1328301547","file5":"1328301549","file3":"1328301545"},"map_files_photo_id_array":[{"photo_id":"1328301549","filename":"file5"},{"photo_id":"1328301543","filename":"file2"},{"photo_id":"1328301547","filename":"file4"},{"photo_id":"1328301541","filename":"file1"},{"photo_id":"1328301539","filename":"file0"},{"photo_id":"1328301545","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301541":["hashtag1","hashtag2"]},{"1328301547":["hashtag1","hashtag2"]},{"1328301549":["hashtag1","hashtag2"]},{"1328301543":["hashtag1","hashtag2"]},{"1328301545":["hashtag1","hashtag2"]},{"1328301539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301541, 1328301547, 1328301549, 1328301543, 1328301545, 1328301539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.807230710983276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:09:21.958561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0001.jpg', '/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0002.jpg', '/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0003.jpg', '/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0000.jpg', '/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0001.jpg', '/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0001.jpg
/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0002.jpg
/home/pi/Desktop/images/12012025/02/08/image_12012025_02_08_02_227559_0003.jpg
/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0000.jpg
/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0001.jpg
/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301901","1328301759","1328301867","1328301756","1328301903","1328301905"],"photo_ids_order":["1328301756","1328301759","1328301867","1328301901","1328301903","1328301905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc284704bd33e8fd10498970bb4c943b.jpg","text":"TemporaryFile(/tmp/multipartBody1136034378804979212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644237116,"filename":"image_12012025_02_09_02_814354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0da79f3c97c7b0c4ade757a4f5cc243f.jpg","text":"TemporaryFile(/tmp/multipartBody8095509057870218106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644237116,"filename":"image_12012025_02_08_02_227559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7b3067dc4fc6cd1be85986875f86367.jpg","text":"TemporaryFile(/tmp/multipartBody1671047511636225556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644237116,"filename":"image_12012025_02_08_02_227559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a048e6d0c4bf55c7f1039c5d2487277a.jpg","text":"TemporaryFile(/tmp/multipartBody4599277712407770368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644237116,"filename":"image_12012025_02_08_02_227559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/218dd75d2a6ca04b1e86f53e17615740.jpg","text":"TemporaryFile(/tmp/multipartBody1692907164474047224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644237116,"filename":"image_12012025_02_09_02_814354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a43abbf4ec484b556ca536fd513e67c0.jpg","text":"TemporaryFile(/tmp/multipartBody5313411114335803634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644237116,"filename":"image_12012025_02_09_02_814354_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301867","file1":"1328301759","file0":"1328301756","file4":"1328301903","file5":"1328301905","file3":"1328301901"},"map_files_photo_id_array":[{"photo_id":"1328301905","filename":"file5"},{"photo_id":"1328301867","filename":"file2"},{"photo_id":"1328301903","filename":"file4"},{"photo_id":"1328301759","filename":"file1"},{"photo_id":"1328301756","filename":"file0"},{"photo_id":"1328301901","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301901":["hashtag1","hashtag2"]},{"1328301759":["hashtag1","hashtag2"]},{"1328301867":["hashtag1","hashtag2"]},{"1328301756":["hashtag1","hashtag2"]},{"1328301903":["hashtag1","hashtag2"]},{"1328301905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301901, 1328301759, 1328301867, 1328301756, 1328301903, 1328301905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.126744747161865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:10:22.565631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0003.jpg', '/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0000.jpg', '/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0001.jpg', '/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/09/image_12012025_02_09_02_814354_0003.jpg
/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0000.jpg
/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0001.jpg
/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301913","1328301910","1328301920","1328301917"],"photo_ids_order":["1328301910","1328301913","1328301917","1328301920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf4d0ab33606c10a5e09428f0ebf5855.jpg","text":"TemporaryFile(/tmp/multipartBody2391572592830838164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644292957,"filename":"image_12012025_02_10_02_416481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7193a3151d6039cb2cd4a273391280e6.jpg","text":"TemporaryFile(/tmp/multipartBody658893110890460315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644292957,"filename":"image_12012025_02_09_02_814354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2c3f1a2b9cebda799b4d903c308a308.jpg","text":"TemporaryFile(/tmp/multipartBody8477823021823589679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644292957,"filename":"image_12012025_02_10_02_416481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6801eb990459679422141a0ffcf01a0.jpg","text":"TemporaryFile(/tmp/multipartBody3905212420072485879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644292957,"filename":"image_12012025_02_10_02_416481_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301917","file1":"1328301913","file0":"1328301910","file3":"1328301920"},"map_files_photo_id_array":[{"photo_id":"1328301917","filename":"file2"},{"photo_id":"1328301913","filename":"file1"},{"photo_id":"1328301910","filename":"file0"},{"photo_id":"1328301920","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301913":["hashtag1","hashtag2"]},{"1328301910":["hashtag1","hashtag2"]},{"1328301920":["hashtag1","hashtag2"]},{"1328301917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301913, 1328301910, 1328301920, 1328301917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.700506925582886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:11:22.117665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0003.jpg', '/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0000.jpg', '/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0001.jpg', '/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/10/image_12012025_02_10_02_416481_0003.jpg
/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0000.jpg
/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0001.jpg
/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301934","1328301936","1328301929","1328301932"],"photo_ids_order":["1328301929","1328301932","1328301934","1328301936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65c695c629a011dd7f1e653be3a92cd8.jpg","text":"TemporaryFile(/tmp/multipartBody8708226950030913273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644352556,"filename":"image_12012025_02_11_02_920114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbc81baabd41969864a8786c04df5570.jpg","text":"TemporaryFile(/tmp/multipartBody4950134009129082140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644352556,"filename":"image_12012025_02_11_02_920114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/908ab41cf41572abc9f2817f5606190f.jpg","text":"TemporaryFile(/tmp/multipartBody3129775189610884070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644352556,"filename":"image_12012025_02_10_02_416481_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6a16b642c9ba699ebd548fb53ebefe3.jpg","text":"TemporaryFile(/tmp/multipartBody8144028670109795820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644352556,"filename":"image_12012025_02_11_02_920114_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301934","file1":"1328301932","file0":"1328301929","file3":"1328301936"},"map_files_photo_id_array":[{"photo_id":"1328301934","filename":"file2"},{"photo_id":"1328301932","filename":"file1"},{"photo_id":"1328301929","filename":"file0"},{"photo_id":"1328301936","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301934":["hashtag1","hashtag2"]},{"1328301936":["hashtag1","hashtag2"]},{"1328301929":["hashtag1","hashtag2"]},{"1328301932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301934, 1328301936, 1328301929, 1328301932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4954297542572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:12:02.988574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:12:22.541183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0003.jpg', '/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0000.jpg', '/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0001.jpg', '/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0003.jpg
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0000.jpg
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0001.jpg
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.884159326553345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:13:02.750115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0003.jpg', '/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0000.jpg', '/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0001.jpg', '/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/11/image_12012025_02_11_02_920114_0003.jpg
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0000.jpg
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0001.jpg
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328301975","1328301978","1328301980","1328301976"],"photo_ids_order":["1328301975","1328301976","1328301978","1328301980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/200a082e6a27b143507439a44a4f0d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2476873892008183888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644453084,"filename":"image_12012025_02_11_02_920114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9443dedbdd31b5cb26f0a74f06938976.jpg","text":"TemporaryFile(/tmp/multipartBody2884015162475401060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644453084,"filename":"image_12012025_02_12_02_452982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a801856d4be2bbebd508f5c497d844a2.jpg","text":"TemporaryFile(/tmp/multipartBody8833662917902007067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644453084,"filename":"image_12012025_02_12_02_452982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e5549326f19658579cd022d2bd30e47.jpg","text":"TemporaryFile(/tmp/multipartBody3362338465778152980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644453084,"filename":"image_12012025_02_12_02_452982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328301978","file1":"1328301976","file0":"1328301975","file3":"1328301980"},"map_files_photo_id_array":[{"photo_id":"1328301978","filename":"file2"},{"photo_id":"1328301976","filename":"file1"},{"photo_id":"1328301975","filename":"file0"},{"photo_id":"1328301980","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328301975":["hashtag1","hashtag2"]},{"1328301978":["hashtag1","hashtag2"]},{"1328301980":["hashtag1","hashtag2"]},{"1328301976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328301975, 1328301978, 1328301980, 1328301976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99458861351013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:14:02.950823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0003.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0000.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0001.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0003.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0000.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0001.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.916386127471924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:14:22.679555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0003.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0000.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0001.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0002.jpg', '/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0003.jpg', '/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/12/image_12012025_02_12_02_452982_0003.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0000.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0001.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0002.jpg
/home/pi/Desktop/images/12012025/02/13/image_12012025_02_13_02_961749_0003.jpg
/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328302012","1328302015","1328302009","1328302005","1328302019","1328302007"],"photo_ids_order":["1328302005","1328302007","1328302009","1328302012","1328302015","1328302019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/602a00c197b88edb093d83cfe46a1cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2384936840291771602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644537830,"filename":"image_12012025_02_13_02_961749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4adb2a62f895a9edef51d240afd42e6.jpg","text":"TemporaryFile(/tmp/multipartBody2943019775452761273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644537830,"filename":"image_12012025_02_13_02_961749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa90993ff0de734c995971775eb52193.jpg","text":"TemporaryFile(/tmp/multipartBody4796665064307749983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644537830,"filename":"image_12012025_02_13_02_961749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00e66bfce8377c691db9d3f51057f044.jpg","text":"TemporaryFile(/tmp/multipartBody7935784963648566460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644537830,"filename":"image_12012025_02_12_02_452982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fe91aa62147a76d63208128e8900215.jpg","text":"TemporaryFile(/tmp/multipartBody4136011570483236467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644537830,"filename":"image_12012025_02_14_02_449242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b560ef4401b69a44e51587b918d7ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody889649602319850536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644537830,"filename":"image_12012025_02_13_02_961749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328302009","file1":"1328302007","file0":"1328302005","file4":"1328302015","file5":"1328302019","file3":"1328302012"},"map_files_photo_id_array":[{"photo_id":"1328302019","filename":"file5"},{"photo_id":"1328302009","filename":"file2"},{"photo_id":"1328302015","filename":"file4"},{"photo_id":"1328302007","filename":"file1"},{"photo_id":"1328302005","filename":"file0"},{"photo_id":"1328302012","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328302012":["hashtag1","hashtag2"]},{"1328302015":["hashtag1","hashtag2"]},{"1328302009":["hashtag1","hashtag2"]},{"1328302005":["hashtag1","hashtag2"]},{"1328302019":["hashtag1","hashtag2"]},{"1328302007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328302012, 1328302015, 1328302009, 1328302005, 1328302019, 1328302007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03314685821533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:15:22.184177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0001.jpg', '/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0002.jpg', '/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0003.jpg', '/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0000.jpg', '/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0001.jpg', '/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0001.jpg
/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0002.jpg
/home/pi/Desktop/images/12012025/02/14/image_12012025_02_14_02_449242_0003.jpg
/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0000.jpg
/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0001.jpg
/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328302033","1328302086","1328302029","1328302067","1328302037","1328302084"],"photo_ids_order":["1328302029","1328302033","1328302037","1328302067","1328302084","1328302086"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aafc6aace6ddbdfc38edb84340162cee.jpg","text":"TemporaryFile(/tmp/multipartBody2007169760343122422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644597263,"filename":"image_12012025_02_14_02_449242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bdf9f5003f8cb66f1c2815ff2e75207.jpg","text":"TemporaryFile(/tmp/multipartBody2580972162235500212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644597263,"filename":"image_12012025_02_15_03_056004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/609115a8efb490383d0d2c5967b726b4.jpg","text":"TemporaryFile(/tmp/multipartBody8146238561088796451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644597263,"filename":"image_12012025_02_14_02_449242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc341e4060eec9a46a433b195f54e5fb.jpg","text":"TemporaryFile(/tmp/multipartBody5544802021235149066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644597263,"filename":"image_12012025_02_15_03_056004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98953e177ed6ab4bc674427d72f74d47.jpg","text":"TemporaryFile(/tmp/multipartBody567049660957012637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644597263,"filename":"image_12012025_02_14_02_449242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f8bebc25d18ad45fa473dbe7f099ede.jpg","text":"TemporaryFile(/tmp/multipartBody6267562440764658372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644597263,"filename":"image_12012025_02_15_03_056004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328302037","file1":"1328302033","file0":"1328302029","file4":"1328302084","file5":"1328302086","file3":"1328302067"},"map_files_photo_id_array":[{"photo_id":"1328302086","filename":"file5"},{"photo_id":"1328302037","filename":"file2"},{"photo_id":"1328302084","filename":"file4"},{"photo_id":"1328302033","filename":"file1"},{"photo_id":"1328302029","filename":"file0"},{"photo_id":"1328302067","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328302033":["hashtag1","hashtag2"]},{"1328302086":["hashtag1","hashtag2"]},{"1328302029":["hashtag1","hashtag2"]},{"1328302067":["hashtag1","hashtag2"]},{"1328302037":["hashtag1","hashtag2"]},{"1328302084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328302033, 1328302086, 1328302029, 1328302067, 1328302037, 1328302084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.37778663635254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:16:22.668566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0003.jpg', '/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0000.jpg', '/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0001.jpg', '/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/15/image_12012025_02_15_03_056004_0003.jpg
/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0000.jpg
/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0001.jpg
/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328302208","1328302100","1328302189","1328302096"],"photo_ids_order":["1328302096","1328302100","1328302189","1328302208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/684db95713d6041e6636f34c2c2adb72.jpg","text":"TemporaryFile(/tmp/multipartBody6191223511706548402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644652904,"filename":"image_12012025_02_16_02_525467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6248646bb419a436a4732e328675cf25.jpg","text":"TemporaryFile(/tmp/multipartBody8382466100845863956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644652904,"filename":"image_12012025_02_16_02_525467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53a1f7dbbc18907b3ebbcc644c926752.jpg","text":"TemporaryFile(/tmp/multipartBody3598821457046244202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644652904,"filename":"image_12012025_02_16_02_525467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd0507456e890e1a7ce0221863eaa6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5076355711169353108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644652904,"filename":"image_12012025_02_15_03_056004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328302189","file1":"1328302100","file0":"1328302096","file3":"1328302208"},"map_files_photo_id_array":[{"photo_id":"1328302189","filename":"file2"},{"photo_id":"1328302100","filename":"file1"},{"photo_id":"1328302096","filename":"file0"},{"photo_id":"1328302208","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328302208":["hashtag1","hashtag2"]},{"1328302100":["hashtag1","hashtag2"]},{"1328302189":["hashtag1","hashtag2"]},{"1328302096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328302208, 1328302100, 1328302189, 1328302096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76996946334839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:17:02.703542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:17:22.173873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0003.jpg', '/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0000.jpg', '/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0001.jpg', '/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/16/image_12012025_02_16_02_525467_0003.jpg
/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0000.jpg
/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0001.jpg
/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328302642","1328302890","1328302455","1328303131"],"photo_ids_order":["1328302455","1328302642","1328302890","1328303131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82c20923663f1c25ee140f4d9d01f94a.jpg","text":"TemporaryFile(/tmp/multipartBody1962139686845307529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644712494,"filename":"image_12012025_02_17_03_058423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d91abcbee688454d56399131c8b3eb12.jpg","text":"TemporaryFile(/tmp/multipartBody5193927128275049088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644712494,"filename":"image_12012025_02_17_03_058423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1fbc9877d8a352dc61e8f83b5fbbb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7780712937874868213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644712494,"filename":"image_12012025_02_16_02_525467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/731d6ea8dd51b83c13f711ee4da6a25e.jpg","text":"TemporaryFile(/tmp/multipartBody4978082492390551016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644712494,"filename":"image_12012025_02_17_03_058423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328302890","file1":"1328302642","file0":"1328302455","file3":"1328303131"},"map_files_photo_id_array":[{"photo_id":"1328302890","filename":"file2"},{"photo_id":"1328302642","filename":"file1"},{"photo_id":"1328302455","filename":"file0"},{"photo_id":"1328303131","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328302642":["hashtag1","hashtag2"]},{"1328302890":["hashtag1","hashtag2"]},{"1328302455":["hashtag1","hashtag2"]},{"1328303131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328302642, 1328302890, 1328302455, 1328303131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19985818862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:18:02.398544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:18:21.843173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0003.jpg', '/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0000.jpg', '/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0001.jpg', '/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0003.jpg
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0000.jpg
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0001.jpg
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.901520729064941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:19:02.936871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0003.jpg', '/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0000.jpg', '/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0001.jpg', '/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/17/image_12012025_02_17_03_058423_0003.jpg
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0000.jpg
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0001.jpg
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303496","1328303494","1328303499","1328303490"],"photo_ids_order":["1328303490","1328303494","1328303496","1328303499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f9ec611ae780d93483f9083af6699d4.jpg","text":"TemporaryFile(/tmp/multipartBody4594529744841737604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644813337,"filename":"image_12012025_02_18_02_625443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d45359b624203f272e66cab6ad1afa9.jpg","text":"TemporaryFile(/tmp/multipartBody7070280589889790699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644813337,"filename":"image_12012025_02_18_02_625443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95531a659cbabfd5daeffcb2936fa2fa.jpg","text":"TemporaryFile(/tmp/multipartBody8877221158930049781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644813337,"filename":"image_12012025_02_18_02_625443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db63bc90d348d02d4d98c1c4d6ea69b8.jpg","text":"TemporaryFile(/tmp/multipartBody7295494616831481174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644813337,"filename":"image_12012025_02_17_03_058423_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303496","file1":"1328303494","file0":"1328303490","file3":"1328303499"},"map_files_photo_id_array":[{"photo_id":"1328303496","filename":"file2"},{"photo_id":"1328303494","filename":"file1"},{"photo_id":"1328303490","filename":"file0"},{"photo_id":"1328303499","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303496":["hashtag1","hashtag2"]},{"1328303494":["hashtag1","hashtag2"]},{"1328303499":["hashtag1","hashtag2"]},{"1328303490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303496, 1328303494, 1328303499, 1328303490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14881873130798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:20:02.522347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0003.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0000.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0001.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0003.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0000.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0001.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.924829006195068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:20:22.051199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0003.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0000.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0001.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0002.jpg', '/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0003.jpg', '/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/18/image_12012025_02_18_02_625443_0003.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0000.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0001.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0002.jpg
/home/pi/Desktop/images/12012025/02/19/image_12012025_02_19_02_255634_0003.jpg
/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303580","1328303582","1328303588","1328303590","1328303584","1328303586"],"photo_ids_order":["1328303580","1328303582","1328303584","1328303586","1328303588","1328303590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a6bd91b12d0d84776b4c113de320972d.jpg","text":"TemporaryFile(/tmp/multipartBody712781120721230698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644897190,"filename":"image_12012025_02_18_02_625443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06c662aa166ade50da996e5ea08f742c.jpg","text":"TemporaryFile(/tmp/multipartBody4391758281890379808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644897190,"filename":"image_12012025_02_19_02_255634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/406ea24c060fa243ca229d7cf314094b.jpg","text":"TemporaryFile(/tmp/multipartBody4711480331490521026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644897190,"filename":"image_12012025_02_19_02_255634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a0f89b859bb2de92c86e458b4d69288.jpg","text":"TemporaryFile(/tmp/multipartBody3898936897098807149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644897190,"filename":"image_12012025_02_20_02_772209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9c16cdbb60cdcc32dde4d7f3eddfe43.jpg","text":"TemporaryFile(/tmp/multipartBody2058919247739848012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644897190,"filename":"image_12012025_02_19_02_255634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e234a8397aec88cf9871a69f2d35c379.jpg","text":"TemporaryFile(/tmp/multipartBody6205357989523952986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644897190,"filename":"image_12012025_02_19_02_255634_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303584","file1":"1328303582","file0":"1328303580","file4":"1328303588","file5":"1328303590","file3":"1328303586"},"map_files_photo_id_array":[{"photo_id":"1328303590","filename":"file5"},{"photo_id":"1328303584","filename":"file2"},{"photo_id":"1328303588","filename":"file4"},{"photo_id":"1328303582","filename":"file1"},{"photo_id":"1328303580","filename":"file0"},{"photo_id":"1328303586","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303580":["hashtag1","hashtag2"]},{"1328303582":["hashtag1","hashtag2"]},{"1328303588":["hashtag1","hashtag2"]},{"1328303590":["hashtag1","hashtag2"]},{"1328303584":["hashtag1","hashtag2"]},{"1328303586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303580, 1328303582, 1328303588, 1328303590, 1328303584, 1328303586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.80199980735779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:21:22.583433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0001.jpg', '/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0002.jpg', '/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0003.jpg', '/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0000.jpg', '/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0001.jpg', '/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0001.jpg
/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0002.jpg
/home/pi/Desktop/images/12012025/02/20/image_12012025_02_20_02_772209_0003.jpg
/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0000.jpg
/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0001.jpg
/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303622","1328303628","1328303627","1328303624","1328303618","1328303620"],"photo_ids_order":["1328303618","1328303620","1328303622","1328303624","1328303627","1328303628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d5cfe2f99a1c4f75364d93bb1770544.jpg","text":"TemporaryFile(/tmp/multipartBody9107902776467491911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644957710,"filename":"image_12012025_02_20_02_772209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f790691da5d1cb881fc0fefedcaf168.jpg","text":"TemporaryFile(/tmp/multipartBody6484024989999520953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644957710,"filename":"image_12012025_02_21_02_455077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/963d3d53dab1af9d53bd405eaf024234.jpg","text":"TemporaryFile(/tmp/multipartBody3715576857461662733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644957710,"filename":"image_12012025_02_21_02_455077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7cfa66b7a8a8ca71d19f40a85d5fbb0.jpg","text":"TemporaryFile(/tmp/multipartBody370085896033046707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644957710,"filename":"image_12012025_02_21_02_455077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36d240685353aeb149b0f67d8e5cea6a.jpg","text":"TemporaryFile(/tmp/multipartBody8622452640358970103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644957710,"filename":"image_12012025_02_20_02_772209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd8f838e32058069f5958a032031378a.jpg","text":"TemporaryFile(/tmp/multipartBody1098238721475042194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736644957710,"filename":"image_12012025_02_20_02_772209_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303622","file1":"1328303620","file0":"1328303618","file4":"1328303627","file5":"1328303628","file3":"1328303624"},"map_files_photo_id_array":[{"photo_id":"1328303628","filename":"file5"},{"photo_id":"1328303622","filename":"file2"},{"photo_id":"1328303627","filename":"file4"},{"photo_id":"1328303620","filename":"file1"},{"photo_id":"1328303618","filename":"file0"},{"photo_id":"1328303624","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303622":["hashtag1","hashtag2"]},{"1328303628":["hashtag1","hashtag2"]},{"1328303627":["hashtag1","hashtag2"]},{"1328303624":["hashtag1","hashtag2"]},{"1328303618":["hashtag1","hashtag2"]},{"1328303620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303622, 1328303628, 1328303627, 1328303624, 1328303618, 1328303620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.70841836929321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:22:22.139557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0003.jpg', '/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0000.jpg', '/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0001.jpg', '/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/21/image_12012025_02_21_02_455077_0003.jpg
/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0000.jpg
/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0001.jpg
/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303640","1328303637","1328303631","1328303633"],"photo_ids_order":["1328303631","1328303633","1328303637","1328303640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4944c1710db19a8cd1f4a71686df3b84.jpg","text":"TemporaryFile(/tmp/multipartBody1101446736890026657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645012487,"filename":"image_12012025_02_22_02_974985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b22fb6b8dc595d142a0639f431a0153.jpg","text":"TemporaryFile(/tmp/multipartBody2734900089324973129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645012487,"filename":"image_12012025_02_22_02_974985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f16a92e754d66dd72469e4df446b091.jpg","text":"TemporaryFile(/tmp/multipartBody8701626456218817425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645012487,"filename":"image_12012025_02_21_02_455077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f8ecfd318fb9727ce135d2f3f4bef04.jpg","text":"TemporaryFile(/tmp/multipartBody5307166641239591284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645012487,"filename":"image_12012025_02_22_02_974985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303637","file1":"1328303633","file0":"1328303631","file3":"1328303640"},"map_files_photo_id_array":[{"photo_id":"1328303637","filename":"file2"},{"photo_id":"1328303633","filename":"file1"},{"photo_id":"1328303631","filename":"file0"},{"photo_id":"1328303640","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303640":["hashtag1","hashtag2"]},{"1328303637":["hashtag1","hashtag2"]},{"1328303631":["hashtag1","hashtag2"]},{"1328303633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303640, 1328303637, 1328303631, 1328303633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22396898269653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:23:03.127054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:23:22.523667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0003.jpg', '/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0000.jpg', '/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0001.jpg', '/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/22/image_12012025_02_22_02_974985_0003.jpg
/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0000.jpg
/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0001.jpg
/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303652","1328303658","1328303654","1328303656"],"photo_ids_order":["1328303652","1328303654","1328303656","1328303658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5687a6327d6feecce123284ca3c4707.jpg","text":"TemporaryFile(/tmp/multipartBody5137845211103610364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645072693,"filename":"image_12012025_02_22_02_974985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae8c99c9fe226fd1c6434d61bcddd2e4.jpg","text":"TemporaryFile(/tmp/multipartBody5008382297898207074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645072693,"filename":"image_12012025_02_23_02_459163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a087d790fad56e972a077706b1c40a8.jpg","text":"TemporaryFile(/tmp/multipartBody7728558297135529108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645072693,"filename":"image_12012025_02_23_02_459163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d29f21d984f1ece450326118e4c8454.jpg","text":"TemporaryFile(/tmp/multipartBody6355402358723649686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645072693,"filename":"image_12012025_02_23_02_459163_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303656","file1":"1328303654","file0":"1328303652","file3":"1328303658"},"map_files_photo_id_array":[{"photo_id":"1328303656","filename":"file2"},{"photo_id":"1328303654","filename":"file1"},{"photo_id":"1328303652","filename":"file0"},{"photo_id":"1328303658","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303652":["hashtag1","hashtag2"]},{"1328303658":["hashtag1","hashtag2"]},{"1328303654":["hashtag1","hashtag2"]},{"1328303656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303652, 1328303658, 1328303654, 1328303656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48890924453735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:24:22.172115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0003.jpg', '/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0000.jpg', '/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0001.jpg', '/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/23/image_12012025_02_23_02_459163_0003.jpg
/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0000.jpg
/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0001.jpg
/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303690","1328303687","1328303677","1328303722"],"photo_ids_order":["1328303677","1328303687","1328303690","1328303722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59c3ef2e2216941877c54d6ee10657ec.jpg","text":"TemporaryFile(/tmp/multipartBody3182379574180953711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645132393,"filename":"image_12012025_02_24_02_897095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c13f72e6491ba8d0ff6c29bafe3f5164.jpg","text":"TemporaryFile(/tmp/multipartBody7663751929420526244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645132393,"filename":"image_12012025_02_24_02_897095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/530be032c04369bec6472e37319f27a3.jpg","text":"TemporaryFile(/tmp/multipartBody7895296129291688362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645132393,"filename":"image_12012025_02_23_02_459163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1daf1ec5538fb5a452b3f28a766148b.jpg","text":"TemporaryFile(/tmp/multipartBody8146162516318218149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645132393,"filename":"image_12012025_02_24_02_897095_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303690","file1":"1328303687","file0":"1328303677","file3":"1328303722"},"map_files_photo_id_array":[{"photo_id":"1328303690","filename":"file2"},{"photo_id":"1328303687","filename":"file1"},{"photo_id":"1328303677","filename":"file0"},{"photo_id":"1328303722","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303690":["hashtag1","hashtag2"]},{"1328303687":["hashtag1","hashtag2"]},{"1328303677":["hashtag1","hashtag2"]},{"1328303722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303690, 1328303687, 1328303677, 1328303722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.113168239593506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:25:03.181227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:25:22.571432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0003.jpg', '/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0000.jpg', '/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0001.jpg', '/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/24/image_12012025_02_24_02_897095_0003.jpg
/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0000.jpg
/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0001.jpg
/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303873","1328303876","1328303879","1328303870"],"photo_ids_order":["1328303870","1328303873","1328303876","1328303879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5916841cf96ac78ae4327f851e759f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8461148422851623298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645193059,"filename":"image_12012025_02_25_02_530105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e77381e13b86bfe91dca0bd39ab996c3.jpg","text":"TemporaryFile(/tmp/multipartBody5942199858879224155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645193059,"filename":"image_12012025_02_25_02_530105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e47f552fc9377ee3bc6b3b59c587157e.jpg","text":"TemporaryFile(/tmp/multipartBody971914946555077466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645193059,"filename":"image_12012025_02_25_02_530105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/326fc32e8d510a2bce6385f3f44f5108.jpg","text":"TemporaryFile(/tmp/multipartBody3574626233686158195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645193059,"filename":"image_12012025_02_24_02_897095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303876","file1":"1328303873","file0":"1328303870","file3":"1328303879"},"map_files_photo_id_array":[{"photo_id":"1328303876","filename":"file2"},{"photo_id":"1328303873","filename":"file1"},{"photo_id":"1328303870","filename":"file0"},{"photo_id":"1328303879","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303873":["hashtag1","hashtag2"]},{"1328303876":["hashtag1","hashtag2"]},{"1328303879":["hashtag1","hashtag2"]},{"1328303870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303873, 1328303876, 1328303879, 1328303870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56557035446167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:26:02.686928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:26:22.206072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0003.jpg', '/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0000.jpg', '/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0001.jpg', '/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0003.jpg
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0000.jpg
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0001.jpg
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.918113470077515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:27:03.321246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0003.jpg', '/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0000.jpg', '/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0001.jpg', '/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/25/image_12012025_02_25_02_530105_0003.jpg
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0000.jpg
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0001.jpg
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328303901","1328303900","1328303899","1328303903"],"photo_ids_order":["1328303899","1328303900","1328303901","1328303903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3d5af865e305618e82e5009fd53ff98.jpg","text":"TemporaryFile(/tmp/multipartBody3613277982033969103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645293689,"filename":"image_12012025_02_26_02_989699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e56a513428407a970e475c620a641e7.jpg","text":"TemporaryFile(/tmp/multipartBody3025262920509997176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645293689,"filename":"image_12012025_02_26_02_989699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8e0a5a3680d68aa9e6d850af5ef8133.jpg","text":"TemporaryFile(/tmp/multipartBody1450034834412259898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645293689,"filename":"image_12012025_02_25_02_530105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9675793a3aa9120101c329b3df558f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5901633391976583052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645293689,"filename":"image_12012025_02_26_02_989699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328303901","file1":"1328303900","file0":"1328303899","file3":"1328303903"},"map_files_photo_id_array":[{"photo_id":"1328303901","filename":"file2"},{"photo_id":"1328303900","filename":"file1"},{"photo_id":"1328303899","filename":"file0"},{"photo_id":"1328303903","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328303901":["hashtag1","hashtag2"]},{"1328303900":["hashtag1","hashtag2"]},{"1328303899":["hashtag1","hashtag2"]},{"1328303903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328303901, 1328303900, 1328303899, 1328303903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22197866439819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:28:02.708257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0003.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0000.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0001.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0003.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0000.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0001.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.073816299438477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:28:22.278035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0003.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0000.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0001.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0002.jpg', '/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0003.jpg', '/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/26/image_12012025_02_26_02_989699_0003.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0000.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0001.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0002.jpg
/home/pi/Desktop/images/12012025/02/27/image_12012025_02_27_02_577172_0003.jpg
/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328304813","1328304524","1328304265","1328304046","1328303935","1328303938"],"photo_ids_order":["1328303935","1328303938","1328304046","1328304265","1328304524","1328304813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2a0036a2f847cde681a09b52810aa43.jpg","text":"TemporaryFile(/tmp/multipartBody5093036451169407584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645377559,"filename":"image_12012025_02_28_03_110645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ae39e3c0f0a958f8cf6019fc9d2aa50.jpg","text":"TemporaryFile(/tmp/multipartBody3122099691751060341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645377559,"filename":"image_12012025_02_27_02_577172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e98e634bd84e548d93c389b7b6771d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2125765638546837256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645377559,"filename":"image_12012025_02_27_02_577172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c2885010026e2ff40ea5373f8c8a772.jpg","text":"TemporaryFile(/tmp/multipartBody370533458366247505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645377559,"filename":"image_12012025_02_27_02_577172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d44789abb7d9a974fdcd61140f89afc5.jpg","text":"TemporaryFile(/tmp/multipartBody631807515078080944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645377559,"filename":"image_12012025_02_26_02_989699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/000276370d013412db29cb82d5d5812b.jpg","text":"TemporaryFile(/tmp/multipartBody6781908922492178344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645377559,"filename":"image_12012025_02_27_02_577172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328304046","file1":"1328303938","file0":"1328303935","file4":"1328304524","file5":"1328304813","file3":"1328304265"},"map_files_photo_id_array":[{"photo_id":"1328304813","filename":"file5"},{"photo_id":"1328304046","filename":"file2"},{"photo_id":"1328304524","filename":"file4"},{"photo_id":"1328303938","filename":"file1"},{"photo_id":"1328303935","filename":"file0"},{"photo_id":"1328304265","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328304813":["hashtag1","hashtag2"]},{"1328304524":["hashtag1","hashtag2"]},{"1328304265":["hashtag1","hashtag2"]},{"1328304046":["hashtag1","hashtag2"]},{"1328303935":["hashtag1","hashtag2"]},{"1328303938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328304813, 1328304524, 1328304265, 1328304046, 1328303935, 1328303938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.95674777030945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:29:21.889088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0001.jpg', '/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0002.jpg', '/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0003.jpg', '/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0000.jpg', '/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0001.jpg', '/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0001.jpg
/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0002.jpg
/home/pi/Desktop/images/12012025/02/28/image_12012025_02_28_03_110645_0003.jpg
/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0000.jpg
/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0001.jpg
/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_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":["1328304968","1328305243","1328305203","1328305196","1328305008","1328304966"],"photo_ids_order":["1328304966","1328304968","1328305008","1328305196","1328305203","1328305243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07982a39fc44eb95806fcc58faf281ea.jpg","text":"TemporaryFile(/tmp/multipartBody2914908546675853893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645437070,"filename":"image_12012025_02_28_03_110645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/059e3914a185c24ae916e32d56427b31.jpg","text":"TemporaryFile(/tmp/multipartBody7024831974306714480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645437070,"filename":"image_12012025_02_29_02_704815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8dd5d900caa33a75be7bc21526c3628.jpg","text":"TemporaryFile(/tmp/multipartBody1641897546887185595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645437070,"filename":"image_12012025_02_29_02_704815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f087f6641f3c55a15c57a0b1728464b.jpg","text":"TemporaryFile(/tmp/multipartBody6334636148110987794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645437070,"filename":"image_12012025_02_29_02_704815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d1acbf8a2fa674afa99c7a7f01d986a.jpg","text":"TemporaryFile(/tmp/multipartBody1740605726193106874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645437070,"filename":"image_12012025_02_28_03_110645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5800647f1c269e5e32395395c258b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7496795336192440609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645437070,"filename":"image_12012025_02_28_03_110645_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328305008","file1":"1328304968","file0":"1328304966","file4":"1328305203","file5":"1328305243","file3":"1328305196"},"map_files_photo_id_array":[{"photo_id":"1328305243","filename":"file5"},{"photo_id":"1328305008","filename":"file2"},{"photo_id":"1328305203","filename":"file4"},{"photo_id":"1328304968","filename":"file1"},{"photo_id":"1328304966","filename":"file0"},{"photo_id":"1328305196","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328304968":["hashtag1","hashtag2"]},{"1328305243":["hashtag1","hashtag2"]},{"1328305203":["hashtag1","hashtag2"]},{"1328305196":["hashtag1","hashtag2"]},{"1328305008":["hashtag1","hashtag2"]},{"1328304966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328304968, 1328305243, 1328305203, 1328305196, 1328305008, 1328304966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.19822072982788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:31:02.549928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0003.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0000.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0001.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0003.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0000.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0001.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.045387029647827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:31:21.967289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0003.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0000.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0001.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0002.jpg', '/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0003.jpg', '/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/29/image_12012025_02_29_02_704815_0003.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0000.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0001.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0002.jpg
/home/pi/Desktop/images/12012025/02/30/image_12012025_02_30_02_297632_0003.jpg
/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328305979","1328305973","1328305981","1328305975","1328305977","1328305971"],"photo_ids_order":["1328305971","1328305973","1328305975","1328305977","1328305979","1328305981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0dd2c095a34ee621a3bfaf7bca2afa04.jpg","text":"TemporaryFile(/tmp/multipartBody6644276723885402865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645557173,"filename":"image_12012025_02_30_02_297632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1dbeb3d479f5886bd455caa9846dc4f9.jpg","text":"TemporaryFile(/tmp/multipartBody1667687790263523879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645557173,"filename":"image_12012025_02_30_02_297632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/033a6698990090f1a49125847c22df6f.jpg","text":"TemporaryFile(/tmp/multipartBody3543174046605413828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645557173,"filename":"image_12012025_02_31_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/12/b704b6c6e239989c5911ba773326f31d.jpg","text":"TemporaryFile(/tmp/multipartBody5951330254777254907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645557173,"filename":"image_12012025_02_30_02_297632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebe736b3d3c17f7b54d0422d1da70d03.jpg","text":"TemporaryFile(/tmp/multipartBody5663498486093148303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645557173,"filename":"image_12012025_02_30_02_297632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22e09dcd533a11508f656e8f213ed5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6716656195587832739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645557173,"filename":"image_12012025_02_29_02_704815_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328305975","file1":"1328305973","file0":"1328305971","file4":"1328305979","file5":"1328305981","file3":"1328305977"},"map_files_photo_id_array":[{"photo_id":"1328305981","filename":"file5"},{"photo_id":"1328305975","filename":"file2"},{"photo_id":"1328305979","filename":"file4"},{"photo_id":"1328305973","filename":"file1"},{"photo_id":"1328305971","filename":"file0"},{"photo_id":"1328305977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328305979":["hashtag1","hashtag2"]},{"1328305973":["hashtag1","hashtag2"]},{"1328305981":["hashtag1","hashtag2"]},{"1328305975":["hashtag1","hashtag2"]},{"1328305977":["hashtag1","hashtag2"]},{"1328305971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328305979, 1328305973, 1328305981, 1328305975, 1328305977, 1328305971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.88508701324463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:32:22.746874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0001.jpg', '/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0002.jpg', '/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0003.jpg', '/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0000.jpg', '/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0001.jpg', '/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0001.jpg
/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0002.jpg
/home/pi/Desktop/images/12012025/02/31/image_12012025_02_31_02_863947_0003.jpg
/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0000.jpg
/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0001.jpg
/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328306296","1328306218","1328306343","1328306337","1328306310","1328306340"],"photo_ids_order":["1328306218","1328306296","1328306310","1328306337","1328306340","1328306343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e86c1285be9782b634b137d22559097.jpg","text":"TemporaryFile(/tmp/multipartBody1987059126146348442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645617964,"filename":"image_12012025_02_31_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/12/aa8bdb0d8bfd8d7496923cb57af00784.jpg","text":"TemporaryFile(/tmp/multipartBody8233394351541003249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645617964,"filename":"image_12012025_02_31_02_863947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14eb9652cb506968d16d1d7b485d1d74.jpg","text":"TemporaryFile(/tmp/multipartBody6061676651868891743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645617964,"filename":"image_12012025_02_32_02_346821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f1de8369a4aa0e136cfb979ba6523f0.jpg","text":"TemporaryFile(/tmp/multipartBody2516142329373160562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645617964,"filename":"image_12012025_02_32_02_346821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/edf02dd3a528f0c3993f440809345585.jpg","text":"TemporaryFile(/tmp/multipartBody7360062850534600030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645617964,"filename":"image_12012025_02_31_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/12/2c4be533aff34dcb2a217d5d3a7f3852.jpg","text":"TemporaryFile(/tmp/multipartBody3048488569495611000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645617964,"filename":"image_12012025_02_32_02_346821_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328306310","file1":"1328306296","file0":"1328306218","file4":"1328306340","file5":"1328306343","file3":"1328306337"},"map_files_photo_id_array":[{"photo_id":"1328306343","filename":"file5"},{"photo_id":"1328306310","filename":"file2"},{"photo_id":"1328306340","filename":"file4"},{"photo_id":"1328306296","filename":"file1"},{"photo_id":"1328306218","filename":"file0"},{"photo_id":"1328306337","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328306296":["hashtag1","hashtag2"]},{"1328306218":["hashtag1","hashtag2"]},{"1328306343":["hashtag1","hashtag2"]},{"1328306337":["hashtag1","hashtag2"]},{"1328306310":["hashtag1","hashtag2"]},{"1328306340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328306296, 1328306218, 1328306343, 1328306337, 1328306310, 1328306340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.445720195770264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:33:22.270642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0003.jpg', '/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0000.jpg', '/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0001.jpg', '/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/32/image_12012025_02_32_02_346821_0003.jpg
/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0000.jpg
/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0001.jpg
/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328306440","1328306434","1328306460","1328306447"],"photo_ids_order":["1328306434","1328306440","1328306447","1328306460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfd2c4d252ca3251e8304f634a8faac8.jpg","text":"TemporaryFile(/tmp/multipartBody3035745955972143721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645672659,"filename":"image_12012025_02_33_03_133978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcdcc48c2e6740b4e0f57384cd1fdab5.jpg","text":"TemporaryFile(/tmp/multipartBody777247674198549704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645672659,"filename":"image_12012025_02_32_02_346821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14335d5d863729ac55cdf77f368db3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3914430449845032322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645672659,"filename":"image_12012025_02_33_03_133978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c70924ba6d1c25d0abe5b9baf5da098.jpg","text":"TemporaryFile(/tmp/multipartBody3868692952931826452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645672659,"filename":"image_12012025_02_33_03_133978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328306447","file1":"1328306440","file0":"1328306434","file3":"1328306460"},"map_files_photo_id_array":[{"photo_id":"1328306447","filename":"file2"},{"photo_id":"1328306440","filename":"file1"},{"photo_id":"1328306434","filename":"file0"},{"photo_id":"1328306460","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328306440":["hashtag1","hashtag2"]},{"1328306434":["hashtag1","hashtag2"]},{"1328306460":["hashtag1","hashtag2"]},{"1328306447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328306440, 1328306434, 1328306460, 1328306447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.95282340049744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:34:21.784187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0003.jpg', '/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0000.jpg', '/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0001.jpg', '/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/33/image_12012025_02_33_03_133978_0003.jpg
/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0000.jpg
/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0001.jpg
/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328306473","1328306466","1328306469","1328306610"],"photo_ids_order":["1328306466","1328306469","1328306473","1328306610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0abbcae856f8ad6db7935d0d434d658.jpg","text":"TemporaryFile(/tmp/multipartBody3145815495075502652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645732129,"filename":"image_12012025_02_34_02_654916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88febb1cbe3a871c4484fb6b47086f94.jpg","text":"TemporaryFile(/tmp/multipartBody2649206820888729408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645732129,"filename":"image_12012025_02_33_03_133978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/451b57b14eb1809b5b10ec1992132e24.jpg","text":"TemporaryFile(/tmp/multipartBody5512289844551924848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645732129,"filename":"image_12012025_02_34_02_654916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/570fb29d5cc662619016c0f01f9f33e8.jpg","text":"TemporaryFile(/tmp/multipartBody8441778667084951951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645732129,"filename":"image_12012025_02_34_02_654916_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328306473","file1":"1328306469","file0":"1328306466","file3":"1328306610"},"map_files_photo_id_array":[{"photo_id":"1328306473","filename":"file2"},{"photo_id":"1328306469","filename":"file1"},{"photo_id":"1328306466","filename":"file0"},{"photo_id":"1328306610","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328306473":["hashtag1","hashtag2"]},{"1328306466":["hashtag1","hashtag2"]},{"1328306469":["hashtag1","hashtag2"]},{"1328306610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328306473, 1328306466, 1328306469, 1328306610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42126226425171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:35:02.887077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:35:22.242500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0003.jpg', '/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0000.jpg', '/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0001.jpg', '/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/34/image_12012025_02_34_02_654916_0003.jpg
/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0000.jpg
/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0001.jpg
/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328307550","1328307558","1328307561","1328307554"],"photo_ids_order":["1328307550","1328307554","1328307558","1328307561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2513550b19769562e06f5187b743eb23.jpg","text":"TemporaryFile(/tmp/multipartBody7116971257603013926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645792506,"filename":"image_12012025_02_34_02_654916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f71b10f48e464963653f4f40516663e5.jpg","text":"TemporaryFile(/tmp/multipartBody6798406190988369702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645792506,"filename":"image_12012025_02_35_02_138692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7692f431f7c16551553ed5163e519baa.jpg","text":"TemporaryFile(/tmp/multipartBody8102845647313279302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645792506,"filename":"image_12012025_02_35_02_138692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/439d0d8485d75f3a02deefe3cdb3f08f.jpg","text":"TemporaryFile(/tmp/multipartBody7410318492700237304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645792506,"filename":"image_12012025_02_35_02_138692_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328307558","file1":"1328307554","file0":"1328307550","file3":"1328307561"},"map_files_photo_id_array":[{"photo_id":"1328307558","filename":"file2"},{"photo_id":"1328307554","filename":"file1"},{"photo_id":"1328307550","filename":"file0"},{"photo_id":"1328307561","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328307550":["hashtag1","hashtag2"]},{"1328307558":["hashtag1","hashtag2"]},{"1328307561":["hashtag1","hashtag2"]},{"1328307554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328307550, 1328307558, 1328307561, 1328307554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68252182006836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:36:21.867910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0003.jpg', '/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0000.jpg', '/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0001.jpg', '/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0003.jpg
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0000.jpg
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0001.jpg
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.874530553817749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:37:02.945993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0003.jpg', '/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0000.jpg', '/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0001.jpg', '/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/35/image_12012025_02_35_02_138692_0003.jpg
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0000.jpg
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0001.jpg
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328308074","1328308076","1328308072","1328308078"],"photo_ids_order":["1328308072","1328308074","1328308076","1328308078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/038e0278b01172a11bfdbbd97f972523.jpg","text":"TemporaryFile(/tmp/multipartBody310130867773735948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645893301,"filename":"image_12012025_02_36_02_677448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a67bfc5191d8cb9231ec3e347c2376a.jpg","text":"TemporaryFile(/tmp/multipartBody866966206875875766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645893301,"filename":"image_12012025_02_36_02_677448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dea34dfde9e2216100bc5b5122548894.jpg","text":"TemporaryFile(/tmp/multipartBody8410447996405928924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645893301,"filename":"image_12012025_02_35_02_138692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa0c4d242367ddd371c1b98556e78064.jpg","text":"TemporaryFile(/tmp/multipartBody1112155498784564126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645893301,"filename":"image_12012025_02_36_02_677448_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328308076","file1":"1328308074","file0":"1328308072","file3":"1328308078"},"map_files_photo_id_array":[{"photo_id":"1328308076","filename":"file2"},{"photo_id":"1328308074","filename":"file1"},{"photo_id":"1328308072","filename":"file0"},{"photo_id":"1328308078","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328308074":["hashtag1","hashtag2"]},{"1328308076":["hashtag1","hashtag2"]},{"1328308072":["hashtag1","hashtag2"]},{"1328308078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328308074, 1328308076, 1328308072, 1328308078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.346574783325195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:38:02.507735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0003.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0000.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0001.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0003.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0000.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0001.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.043760061264038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:38:22.062284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0003.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0000.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0001.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0002.jpg', '/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0003.jpg', '/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/36/image_12012025_02_36_02_677448_0003.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0000.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0001.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0002.jpg
/home/pi/Desktop/images/12012025/02/37/image_12012025_02_37_02_194302_0003.jpg
/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328308260","1328308262","1328308256","1328308250","1328308253","1328308258"],"photo_ids_order":["1328308250","1328308253","1328308256","1328308258","1328308260","1328308262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6dce510dae10b8d24531d67b02921c6a.jpg","text":"TemporaryFile(/tmp/multipartBody4911376140328318033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645977315,"filename":"image_12012025_02_37_02_194302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c943072621b6509c69b40d157836cb07.jpg","text":"TemporaryFile(/tmp/multipartBody6052640632060910855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645977315,"filename":"image_12012025_02_38_02_782317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5605a97a52c8d510556d1b0778ceb7a.jpg","text":"TemporaryFile(/tmp/multipartBody203423743302268309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645977315,"filename":"image_12012025_02_37_02_194302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aef18dec0dfa9e1d58164a6651ca53a8.jpg","text":"TemporaryFile(/tmp/multipartBody7632313813390427414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645977315,"filename":"image_12012025_02_36_02_677448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbab21ade25ac2abd6637c9e600c4cdf.jpg","text":"TemporaryFile(/tmp/multipartBody527452428411882686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645977315,"filename":"image_12012025_02_37_02_194302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8ceb04656a1b681c757d9e08b64eb6e.jpg","text":"TemporaryFile(/tmp/multipartBody2042720586790893186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736645977315,"filename":"image_12012025_02_37_02_194302_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328308256","file1":"1328308253","file0":"1328308250","file4":"1328308260","file5":"1328308262","file3":"1328308258"},"map_files_photo_id_array":[{"photo_id":"1328308262","filename":"file5"},{"photo_id":"1328308256","filename":"file2"},{"photo_id":"1328308260","filename":"file4"},{"photo_id":"1328308253","filename":"file1"},{"photo_id":"1328308250","filename":"file0"},{"photo_id":"1328308258","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328308260":["hashtag1","hashtag2"]},{"1328308262":["hashtag1","hashtag2"]},{"1328308256":["hashtag1","hashtag2"]},{"1328308250":["hashtag1","hashtag2"]},{"1328308253":["hashtag1","hashtag2"]},{"1328308258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328308260, 1328308262, 1328308256, 1328308250, 1328308253, 1328308258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.885127544403076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:39:22.504093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0001.jpg', '/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0002.jpg', '/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0003.jpg', '/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0000.jpg', '/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0001.jpg', '/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0001.jpg
/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0002.jpg
/home/pi/Desktop/images/12012025/02/38/image_12012025_02_38_02_782317_0003.jpg
/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0000.jpg
/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0001.jpg
/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328308296","1328308292","1328308289","1328308294","1328308267","1328308282"],"photo_ids_order":["1328308267","1328308282","1328308289","1328308292","1328308294","1328308296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e670d5807410e0c67c914483ba3385cf.jpg","text":"TemporaryFile(/tmp/multipartBody7117251337842963783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646037663,"filename":"image_12012025_02_39_02_401855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e64ce328435e2bff0d83d359421ffb6.jpg","text":"TemporaryFile(/tmp/multipartBody2459203759754042927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646037663,"filename":"image_12012025_02_39_02_401855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28faddb320bdc06139ab7ed8c18408fe.jpg","text":"TemporaryFile(/tmp/multipartBody1003749007116585894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646037663,"filename":"image_12012025_02_38_02_782317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a8a01d466034a0562d90cd88c3edf92.jpg","text":"TemporaryFile(/tmp/multipartBody1224922270548366794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646037663,"filename":"image_12012025_02_39_02_401855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/927c0d4273e1a382c4df967a6ac18e37.jpg","text":"TemporaryFile(/tmp/multipartBody6984919520542845483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646037663,"filename":"image_12012025_02_38_02_782317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3b6914ed736bc76d7f015a7734f8a2a.jpg","text":"TemporaryFile(/tmp/multipartBody1296055878637184806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646037663,"filename":"image_12012025_02_38_02_782317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328308289","file1":"1328308282","file0":"1328308267","file4":"1328308294","file5":"1328308296","file3":"1328308292"},"map_files_photo_id_array":[{"photo_id":"1328308296","filename":"file5"},{"photo_id":"1328308289","filename":"file2"},{"photo_id":"1328308294","filename":"file4"},{"photo_id":"1328308282","filename":"file1"},{"photo_id":"1328308267","filename":"file0"},{"photo_id":"1328308292","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328308296":["hashtag1","hashtag2"]},{"1328308292":["hashtag1","hashtag2"]},{"1328308289":["hashtag1","hashtag2"]},{"1328308294":["hashtag1","hashtag2"]},{"1328308267":["hashtag1","hashtag2"]},{"1328308282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328308296, 1328308292, 1328308289, 1328308294, 1328308267, 1328308282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64276695251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:40:22.122372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0003.jpg', '/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0000.jpg', '/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0001.jpg', '/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/39/image_12012025_02_39_02_401855_0003.jpg
/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0000.jpg
/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0001.jpg
/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328308303","1328308306","1328308299","1328308301"],"photo_ids_order":["1328308299","1328308301","1328308303","1328308306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87bc6db2f78dafbd68779139573215d5.jpg","text":"TemporaryFile(/tmp/multipartBody2031424503075771574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646092366,"filename":"image_12012025_02_40_02_985553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/682e3ef40e022837c190172f5cc3cb11.jpg","text":"TemporaryFile(/tmp/multipartBody2838289341530503888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646092366,"filename":"image_12012025_02_40_02_985553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aab6c964fbed1bbf496cffeb2f2f154f.jpg","text":"TemporaryFile(/tmp/multipartBody8092405228186152071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646092366,"filename":"image_12012025_02_39_02_401855_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd0a681497ba21e4bcdf6ebc8b9ecc2e.jpg","text":"TemporaryFile(/tmp/multipartBody1326076137197781401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646092366,"filename":"image_12012025_02_40_02_985553_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328308303","file1":"1328308301","file0":"1328308299","file3":"1328308306"},"map_files_photo_id_array":[{"photo_id":"1328308303","filename":"file2"},{"photo_id":"1328308301","filename":"file1"},{"photo_id":"1328308299","filename":"file0"},{"photo_id":"1328308306","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328308303":["hashtag1","hashtag2"]},{"1328308306":["hashtag1","hashtag2"]},{"1328308299":["hashtag1","hashtag2"]},{"1328308301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328308303, 1328308306, 1328308299, 1328308301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.227864503860474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:41:03.217544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:41:22.662796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0003.jpg', '/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0000.jpg', '/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0001.jpg', '/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/40/image_12012025_02_40_02_985553_0003.jpg
/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0000.jpg
/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0001.jpg
/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328308323","1328308319","1328308316","1328308321"],"photo_ids_order":["1328308316","1328308319","1328308321","1328308323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cfc9526e192de8ded98760a8bda888bf.jpg","text":"TemporaryFile(/tmp/multipartBody8755415250395876794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646152990,"filename":"image_12012025_02_41_02_559941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7ce642113a9225daaec0057c411e055.jpg","text":"TemporaryFile(/tmp/multipartBody3917619668854501421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646152990,"filename":"image_12012025_02_41_02_559941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19b237e86a030ee9a0bdd76daff0c88e.jpg","text":"TemporaryFile(/tmp/multipartBody4341390844136116226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646152990,"filename":"image_12012025_02_40_02_985553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5823b0a6847bf22d5ec87f38a00a6cac.jpg","text":"TemporaryFile(/tmp/multipartBody7467577085345623557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646152990,"filename":"image_12012025_02_41_02_559941_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328308321","file1":"1328308319","file0":"1328308316","file3":"1328308323"},"map_files_photo_id_array":[{"photo_id":"1328308321","filename":"file2"},{"photo_id":"1328308319","filename":"file1"},{"photo_id":"1328308316","filename":"file0"},{"photo_id":"1328308323","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328308323":["hashtag1","hashtag2"]},{"1328308319":["hashtag1","hashtag2"]},{"1328308316":["hashtag1","hashtag2"]},{"1328308321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328308323, 1328308319, 1328308316, 1328308321)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.32592844963074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:42:22.428289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0003.jpg', '/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0000.jpg', '/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0001.jpg', '/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0003.jpg
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0000.jpg
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0001.jpg
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.005441904067993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:43:02.603101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0003.jpg', '/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0000.jpg', '/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0001.jpg', '/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/41/image_12012025_02_41_02_559941_0003.jpg
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0000.jpg
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0001.jpg
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328308339","1328308344","1328308340","1328308343"],"photo_ids_order":["1328308339","1328308340","1328308343","1328308344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7d6c9051e525b745d53b72573dd4e21.jpg","text":"TemporaryFile(/tmp/multipartBody4955696727890117733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646253070,"filename":"image_12012025_02_41_02_559941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2c98488717778ce061580d14abd2afe.jpg","text":"TemporaryFile(/tmp/multipartBody6304761917786428073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646253070,"filename":"image_12012025_02_42_03_072715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/951e29c9e53558c94e3dac50aa1e60ae.jpg","text":"TemporaryFile(/tmp/multipartBody3252351334506922896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646253070,"filename":"image_12012025_02_42_03_072715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d63707214ab945ef2379d2fc7f5c7fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2814939659496620539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646253070,"filename":"image_12012025_02_42_03_072715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328308343","file1":"1328308340","file0":"1328308339","file3":"1328308344"},"map_files_photo_id_array":[{"photo_id":"1328308343","filename":"file2"},{"photo_id":"1328308340","filename":"file1"},{"photo_id":"1328308339","filename":"file0"},{"photo_id":"1328308344","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328308339":["hashtag1","hashtag2"]},{"1328308344":["hashtag1","hashtag2"]},{"1328308340":["hashtag1","hashtag2"]},{"1328308343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328308339, 1328308344, 1328308340, 1328308343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33998250961304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:44:03.076030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0003.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0000.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0001.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0003.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0000.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0001.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.076547861099243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:44:22.642134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0003.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0000.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0001.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0002.jpg', '/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0003.jpg', '/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/42/image_12012025_02_42_03_072715_0003.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0000.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0001.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0002.jpg
/home/pi/Desktop/images/12012025/02/43/image_12012025_02_43_02_855942_0003.jpg
/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328309216","1328309117","1328309215","1328308858","1328308630","1328309212"],"photo_ids_order":["1328308630","1328308858","1328309117","1328309212","1328309215","1328309216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42c0db29fa60cff93dc7eaa63122130d.jpg","text":"TemporaryFile(/tmp/multipartBody3586035473784270415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646337881,"filename":"image_12012025_02_44_02_354274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb3db5083221c0240f5e6429dd0684db.jpg","text":"TemporaryFile(/tmp/multipartBody9109257216124364397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646337881,"filename":"image_12012025_02_43_02_855942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ac6afdb36969af471fa6e03fad511ec.jpg","text":"TemporaryFile(/tmp/multipartBody6856853605263246189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646337881,"filename":"image_12012025_02_43_02_855942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8919ec1434147b7bb68b11d84e040032.jpg","text":"TemporaryFile(/tmp/multipartBody5629916026170925998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646337881,"filename":"image_12012025_02_43_02_855942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/325313611435f6abae5a2dcb140333c5.jpg","text":"TemporaryFile(/tmp/multipartBody7888382423082173339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646337881,"filename":"image_12012025_02_42_03_072715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a6f45cedf91126d38fd1428cc451131.jpg","text":"TemporaryFile(/tmp/multipartBody6338760030320345089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646337881,"filename":"image_12012025_02_43_02_855942_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328309117","file1":"1328308858","file0":"1328308630","file4":"1328309215","file5":"1328309216","file3":"1328309212"},"map_files_photo_id_array":[{"photo_id":"1328309216","filename":"file5"},{"photo_id":"1328309117","filename":"file2"},{"photo_id":"1328309215","filename":"file4"},{"photo_id":"1328308858","filename":"file1"},{"photo_id":"1328308630","filename":"file0"},{"photo_id":"1328309212","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328309216":["hashtag1","hashtag2"]},{"1328309117":["hashtag1","hashtag2"]},{"1328309215":["hashtag1","hashtag2"]},{"1328308858":["hashtag1","hashtag2"]},{"1328308630":["hashtag1","hashtag2"]},{"1328309212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328309216, 1328309117, 1328309215, 1328308858, 1328308630, 1328309212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.854328632354736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:45:22.262142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0001.jpg', '/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0002.jpg', '/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0003.jpg', '/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0000.jpg', '/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0001.jpg', '/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0001.jpg
/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0002.jpg
/home/pi/Desktop/images/12012025/02/44/image_12012025_02_44_02_354274_0003.jpg
/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0000.jpg
/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0001.jpg
/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328309232","1328309226","1328309222","1328309228","1328309230","1328309224"],"photo_ids_order":["1328309222","1328309224","1328309226","1328309228","1328309230","1328309232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/938a1da93bad4612ac686ba639c9ce80.jpg","text":"TemporaryFile(/tmp/multipartBody4535438672802464748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646397409,"filename":"image_12012025_02_45_03_061670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/869745a6d93f990fce2b261744bf245f.jpg","text":"TemporaryFile(/tmp/multipartBody7255964109710524520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646397409,"filename":"image_12012025_02_44_02_354274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0758287818bd3c34f9adfd9fd7456aea.jpg","text":"TemporaryFile(/tmp/multipartBody5142172203493896584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646397409,"filename":"image_12012025_02_44_02_354274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66c1f584c4e9bf2aca00b867abf7a665.jpg","text":"TemporaryFile(/tmp/multipartBody8271018208183717926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646397409,"filename":"image_12012025_02_45_03_061670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9399703996559725d299cb2118895cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5520316032068534982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646397409,"filename":"image_12012025_02_45_03_061670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57e7ef74e4edc295d4aed66b3f87e478.jpg","text":"TemporaryFile(/tmp/multipartBody1862930724480838140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646397409,"filename":"image_12012025_02_44_02_354274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328309226","file1":"1328309224","file0":"1328309222","file4":"1328309230","file5":"1328309232","file3":"1328309228"},"map_files_photo_id_array":[{"photo_id":"1328309232","filename":"file5"},{"photo_id":"1328309226","filename":"file2"},{"photo_id":"1328309230","filename":"file4"},{"photo_id":"1328309224","filename":"file1"},{"photo_id":"1328309222","filename":"file0"},{"photo_id":"1328309228","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328309232":["hashtag1","hashtag2"]},{"1328309226":["hashtag1","hashtag2"]},{"1328309222":["hashtag1","hashtag2"]},{"1328309228":["hashtag1","hashtag2"]},{"1328309230":["hashtag1","hashtag2"]},{"1328309224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328309232, 1328309226, 1328309222, 1328309228, 1328309230, 1328309224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.574586153030396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:46:22.013660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0003.jpg', '/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0000.jpg', '/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0001.jpg', '/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/45/image_12012025_02_45_03_061670_0003.jpg
/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0000.jpg
/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0001.jpg
/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328309661","1328309569","1328309691","1328309658"],"photo_ids_order":["1328309569","1328309658","1328309661","1328309691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c2bbdcdba95bb2393b680467f7e3740.jpg","text":"TemporaryFile(/tmp/multipartBody2285372341224584058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646452212,"filename":"image_12012025_02_46_02_596187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d27007b0c87d58c381a75526ba25854c.jpg","text":"TemporaryFile(/tmp/multipartBody5183826452016121011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646452212,"filename":"image_12012025_02_45_03_061670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e638e69c4676a8aed165f895ab3e8278.jpg","text":"TemporaryFile(/tmp/multipartBody8057943091836063434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646452212,"filename":"image_12012025_02_46_02_596187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/811dfa0cdb9e9f996c124b5425376b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3038469228434281171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646452212,"filename":"image_12012025_02_46_02_596187_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328309661","file1":"1328309658","file0":"1328309569","file3":"1328309691"},"map_files_photo_id_array":[{"photo_id":"1328309661","filename":"file2"},{"photo_id":"1328309658","filename":"file1"},{"photo_id":"1328309569","filename":"file0"},{"photo_id":"1328309691","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328309661":["hashtag1","hashtag2"]},{"1328309569":["hashtag1","hashtag2"]},{"1328309691":["hashtag1","hashtag2"]},{"1328309658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328309661, 1328309569, 1328309691, 1328309658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.669336557388306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:47:22.482287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0003.jpg', '/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0000.jpg', '/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0001.jpg', '/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/46/image_12012025_02_46_02_596187_0003.jpg
/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0000.jpg
/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0001.jpg
/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328309786","1328309780","1328309782","1328309784"],"photo_ids_order":["1328309780","1328309782","1328309784","1328309786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c643b29413b65666bfb5a8c71f580dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4574899825708067800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646512817,"filename":"image_12012025_02_47_02_331751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebf052f551b62e8c0a59fc71c140b49e.jpg","text":"TemporaryFile(/tmp/multipartBody2888870855093467443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646512817,"filename":"image_12012025_02_46_02_596187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/909747177c75e2f4b687fe988b12cb68.jpg","text":"TemporaryFile(/tmp/multipartBody5624400629197178598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646512817,"filename":"image_12012025_02_47_02_331751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37388eedf639b5109d3b446300b4f7d5.jpg","text":"TemporaryFile(/tmp/multipartBody2157902669450564873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646512817,"filename":"image_12012025_02_47_02_331751_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328309784","file1":"1328309782","file0":"1328309780","file3":"1328309786"},"map_files_photo_id_array":[{"photo_id":"1328309784","filename":"file2"},{"photo_id":"1328309782","filename":"file1"},{"photo_id":"1328309780","filename":"file0"},{"photo_id":"1328309786","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328309786":["hashtag1","hashtag2"]},{"1328309780":["hashtag1","hashtag2"]},{"1328309782":["hashtag1","hashtag2"]},{"1328309784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328309786, 1328309780, 1328309782, 1328309784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1376314163208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:48:02.407726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:48:21.925602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0003.jpg', '/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0000.jpg', '/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0001.jpg', '/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0003.jpg
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0000.jpg
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0001.jpg
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.879920482635498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:49:02.961356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0003.jpg', '/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0000.jpg', '/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0001.jpg', '/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/47/image_12012025_02_47_02_331751_0003.jpg
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0000.jpg
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0001.jpg
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328309808","1328309804","1328309803","1328309806"],"photo_ids_order":["1328309803","1328309804","1328309806","1328309808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bc55312becc4bcca1c8f54fb9a8f76d.jpg","text":"TemporaryFile(/tmp/multipartBody1618558538079925093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646613324,"filename":"image_12012025_02_48_02_848654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ff2be2c9f240de1898be7ced20d2bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1956283049637806186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646613324,"filename":"image_12012025_02_48_02_848654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8e2a5aba4c21f7aed58a84f8177c276.jpg","text":"TemporaryFile(/tmp/multipartBody20172005452402615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646613324,"filename":"image_12012025_02_47_02_331751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b4ea7aa5b6ea1d7a94c5fbd8a1f06de.jpg","text":"TemporaryFile(/tmp/multipartBody1623040928255691705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646613324,"filename":"image_12012025_02_48_02_848654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328309806","file1":"1328309804","file0":"1328309803","file3":"1328309808"},"map_files_photo_id_array":[{"photo_id":"1328309806","filename":"file2"},{"photo_id":"1328309804","filename":"file1"},{"photo_id":"1328309803","filename":"file0"},{"photo_id":"1328309808","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328309808":["hashtag1","hashtag2"]},{"1328309804":["hashtag1","hashtag2"]},{"1328309803":["hashtag1","hashtag2"]},{"1328309806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328309808, 1328309804, 1328309803, 1328309806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51213359832764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:50:02.650033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0003.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0000.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0001.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0003.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0000.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0001.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.036804437637329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:50:22.132596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0003.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0000.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0001.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0002.jpg', '/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0003.jpg', '/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/48/image_12012025_02_48_02_848654_0003.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0000.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0001.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0002.jpg
/home/pi/Desktop/images/12012025/02/49/image_12012025_02_49_02_274039_0003.jpg
/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328311041","1328311014","1328311010","1328311039","1328311012","1328311006"],"photo_ids_order":["1328311006","1328311010","1328311012","1328311014","1328311039","1328311041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4cf6c380756a2dc1db1988c07e2556f3.jpg","text":"TemporaryFile(/tmp/multipartBody3327918287541480661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646697383,"filename":"image_12012025_02_50_02_872473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1fb507c3cc12455f5faa65077b9d7826.jpg","text":"TemporaryFile(/tmp/multipartBody5524213783431871480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646697383,"filename":"image_12012025_02_49_02_274039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bed82fdaa8410644e93c3eb47f1bc2d8.jpg","text":"TemporaryFile(/tmp/multipartBody4176745384287777150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646697383,"filename":"image_12012025_02_49_02_274039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f67a29da4cac519c61aed0eb004d5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1452937759456299403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646697383,"filename":"image_12012025_02_49_02_274039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59e7eb0e61e7024ca1f0291f6480a031.jpg","text":"TemporaryFile(/tmp/multipartBody4500397364050096315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646697383,"filename":"image_12012025_02_49_02_274039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a56760952454b599426e50b48074c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3187854264770940960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646697383,"filename":"image_12012025_02_48_02_848654_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328311012","file1":"1328311010","file0":"1328311006","file4":"1328311039","file5":"1328311041","file3":"1328311014"},"map_files_photo_id_array":[{"photo_id":"1328311041","filename":"file5"},{"photo_id":"1328311012","filename":"file2"},{"photo_id":"1328311039","filename":"file4"},{"photo_id":"1328311010","filename":"file1"},{"photo_id":"1328311006","filename":"file0"},{"photo_id":"1328311014","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328311041":["hashtag1","hashtag2"]},{"1328311014":["hashtag1","hashtag2"]},{"1328311010":["hashtag1","hashtag2"]},{"1328311039":["hashtag1","hashtag2"]},{"1328311012":["hashtag1","hashtag2"]},{"1328311006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328311041, 1328311014, 1328311010, 1328311039, 1328311012, 1328311006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.0954213142395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:51:22.620487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0001.jpg', '/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0002.jpg', '/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0003.jpg', '/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0000.jpg', '/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0001.jpg', '/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0001.jpg
/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0002.jpg
/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_02_872473_0003.jpg
/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0000.jpg
/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0001.jpg
/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328311385","1328311496","1328311469","1328311406","1328311363","1328311408"],"photo_ids_order":["1328311363","1328311385","1328311406","1328311408","1328311469","1328311496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d3c37caaba687514093859a2c09c6210.jpg","text":"TemporaryFile(/tmp/multipartBody1418619301868002413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646757794,"filename":"image_12012025_02_50_02_872473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27c7797edf799c4712335d6128ab36de.jpg","text":"TemporaryFile(/tmp/multipartBody8712622995602169200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646757794,"filename":"image_12012025_02_51_02_488644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1e7f9c3f4491419a42bff4f47341019.jpg","text":"TemporaryFile(/tmp/multipartBody5681811172796649427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646757794,"filename":"image_12012025_02_51_02_488644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d922514b6c3af6f93d5552a39462580.jpg","text":"TemporaryFile(/tmp/multipartBody7894978763011138505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646757794,"filename":"image_12012025_02_50_02_872473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b01a0ddcde1515cff65c0bfa592e6441.jpg","text":"TemporaryFile(/tmp/multipartBody3905597885091370172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646757794,"filename":"image_12012025_02_50_02_872473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/322f71b05e3481bd8696d15489ffd46a.jpg","text":"TemporaryFile(/tmp/multipartBody3404190542871131363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646757794,"filename":"image_12012025_02_51_02_488644_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328311406","file1":"1328311385","file0":"1328311363","file4":"1328311469","file5":"1328311496","file3":"1328311408"},"map_files_photo_id_array":[{"photo_id":"1328311496","filename":"file5"},{"photo_id":"1328311406","filename":"file2"},{"photo_id":"1328311469","filename":"file4"},{"photo_id":"1328311385","filename":"file1"},{"photo_id":"1328311363","filename":"file0"},{"photo_id":"1328311408","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328311385":["hashtag1","hashtag2"]},{"1328311496":["hashtag1","hashtag2"]},{"1328311469":["hashtag1","hashtag2"]},{"1328311406":["hashtag1","hashtag2"]},{"1328311363":["hashtag1","hashtag2"]},{"1328311408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328311385, 1328311496, 1328311469, 1328311406, 1328311363, 1328311408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.02055907249451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:52:22.113478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0003.jpg', '/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0000.jpg', '/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0001.jpg', '/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/51/image_12012025_02_51_02_488644_0003.jpg
/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0000.jpg
/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0001.jpg
/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328311506","1328311509","1328311499","1328311501"],"photo_ids_order":["1328311499","1328311501","1328311506","1328311509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d5f1e2f30c91c31413ed2774b842fb37.jpg","text":"TemporaryFile(/tmp/multipartBody894108471182149244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646812306,"filename":"image_12012025_02_52_02_971783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9bec11db72601f1ac6f444692e41795e.jpg","text":"TemporaryFile(/tmp/multipartBody8633274694022466883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646812306,"filename":"image_12012025_02_52_02_971783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/966f7c062ba6656bbf79c478c889a726.jpg","text":"TemporaryFile(/tmp/multipartBody7196290006927918996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646812306,"filename":"image_12012025_02_51_02_488644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba681a6bd44195c912d12632a97c9a76.jpg","text":"TemporaryFile(/tmp/multipartBody8018676593715942088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646812306,"filename":"image_12012025_02_52_02_971783_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328311506","file1":"1328311501","file0":"1328311499","file3":"1328311509"},"map_files_photo_id_array":[{"photo_id":"1328311506","filename":"file2"},{"photo_id":"1328311501","filename":"file1"},{"photo_id":"1328311499","filename":"file0"},{"photo_id":"1328311509","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328311506":["hashtag1","hashtag2"]},{"1328311509":["hashtag1","hashtag2"]},{"1328311499":["hashtag1","hashtag2"]},{"1328311501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328311506, 1328311509, 1328311499, 1328311501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67887854576111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:53:03.273824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:53:22.540319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0003.jpg', '/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0000.jpg', '/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0001.jpg', '/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/52/image_12012025_02_52_02_971783_0003.jpg
/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0000.jpg
/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0001.jpg
/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328311524","1328311527","1328311521","1328311529"],"photo_ids_order":["1328311521","1328311524","1328311527","1328311529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c44cc5596f7397113d97e64074ff3604.jpg","text":"TemporaryFile(/tmp/multipartBody8000835749233073387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646872924,"filename":"image_12012025_02_53_02_520242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2dcb667fa83d3a33cb3f17f2cddec4d1.jpg","text":"TemporaryFile(/tmp/multipartBody7549366762105489595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646872924,"filename":"image_12012025_02_53_02_520242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08f29363a9f5504187d411123955182c.jpg","text":"TemporaryFile(/tmp/multipartBody4944379502460787504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646872924,"filename":"image_12012025_02_52_02_971783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b01367c1a9e1d95af3845aa59fbfc96.jpg","text":"TemporaryFile(/tmp/multipartBody1211096513282462335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646872924,"filename":"image_12012025_02_53_02_520242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328311527","file1":"1328311524","file0":"1328311521","file3":"1328311529"},"map_files_photo_id_array":[{"photo_id":"1328311527","filename":"file2"},{"photo_id":"1328311524","filename":"file1"},{"photo_id":"1328311521","filename":"file0"},{"photo_id":"1328311529","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328311524":["hashtag1","hashtag2"]},{"1328311527":["hashtag1","hashtag2"]},{"1328311521":["hashtag1","hashtag2"]},{"1328311529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328311524, 1328311527, 1328311521, 1328311529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.4884672164917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:54:22.256066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0003.jpg', '/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0000.jpg', '/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0001.jpg', '/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/53/image_12012025_02_53_02_520242_0003.jpg
/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0000.jpg
/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0001.jpg
/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328311566","1328311562","1328311544","1328311540"],"photo_ids_order":["1328311540","1328311544","1328311562","1328311566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2da3d90bf3c913bd1d700d7193d7acba.jpg","text":"TemporaryFile(/tmp/multipartBody6967809117834008882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646932416,"filename":"image_12012025_02_54_02_974305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f025bfcd4d07173672bab874f90bef24.jpg","text":"TemporaryFile(/tmp/multipartBody4805363804846742124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646932416,"filename":"image_12012025_02_54_02_974305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/818a2881e1b69232fead6a8e0bd75451.jpg","text":"TemporaryFile(/tmp/multipartBody6808208069665515466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646932416,"filename":"image_12012025_02_54_02_974305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4c5713ab5446664cfbc1d0fb2f90bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6452778111919899266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646932416,"filename":"image_12012025_02_53_02_520242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328311562","file1":"1328311544","file0":"1328311540","file3":"1328311566"},"map_files_photo_id_array":[{"photo_id":"1328311562","filename":"file2"},{"photo_id":"1328311544","filename":"file1"},{"photo_id":"1328311540","filename":"file0"},{"photo_id":"1328311566","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328311566":["hashtag1","hashtag2"]},{"1328311562":["hashtag1","hashtag2"]},{"1328311544":["hashtag1","hashtag2"]},{"1328311540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328311566, 1328311562, 1328311544, 1328311540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.279107093811035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:55:02.157758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:55:21.686468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0003.jpg', '/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0000.jpg', '/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0001.jpg', '/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/54/image_12012025_02_54_02_974305_0003.jpg
/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0000.jpg
/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0001.jpg
/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328311578","1328311580","1328311582","1328311575"],"photo_ids_order":["1328311575","1328311578","1328311580","1328311582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/348e1644a3fce84a3746cd61efd62c0a.jpg","text":"TemporaryFile(/tmp/multipartBody7015368575586217412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646992012,"filename":"image_12012025_02_55_02_611540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0511486921bc7d3d77c3bf0d8359c9f4.jpg","text":"TemporaryFile(/tmp/multipartBody4663737468454746390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646992012,"filename":"image_12012025_02_55_02_611540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fcaff2281ae47d02858f4b8b4978f08.jpg","text":"TemporaryFile(/tmp/multipartBody7994523731999691389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646992012,"filename":"image_12012025_02_55_02_611540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54f3be8cafd4498b2c7d09a17ac34040.jpg","text":"TemporaryFile(/tmp/multipartBody437749497687681068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736646992012,"filename":"image_12012025_02_54_02_974305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328311580","file1":"1328311578","file0":"1328311575","file3":"1328311582"},"map_files_photo_id_array":[{"photo_id":"1328311580","filename":"file2"},{"photo_id":"1328311578","filename":"file1"},{"photo_id":"1328311575","filename":"file0"},{"photo_id":"1328311582","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328311578":["hashtag1","hashtag2"]},{"1328311580":["hashtag1","hashtag2"]},{"1328311582":["hashtag1","hashtag2"]},{"1328311575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328311578, 1328311580, 1328311582, 1328311575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.062920570373535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:56:02.769332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:56:22.382254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0003.jpg', '/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0000.jpg', '/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0001.jpg', '/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0003.jpg
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0000.jpg
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0001.jpg
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.989407062530518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:57:02.563341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0003.jpg', '/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0000.jpg', '/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0001.jpg', '/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/55/image_12012025_02_55_02_611540_0003.jpg
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0000.jpg
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0001.jpg
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328312066","1328311976","1328312089","1328312107"],"photo_ids_order":["1328311976","1328312066","1328312089","1328312107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65a25ea4136d6444597a916ce9aeec0b.jpg","text":"TemporaryFile(/tmp/multipartBody9121471651450902911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647092974,"filename":"image_12012025_02_56_02_063036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c21030abb35749e11389868f0352824.jpg","text":"TemporaryFile(/tmp/multipartBody6698857610981962184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647092974,"filename":"image_12012025_02_55_02_611540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/739e0f64634cfae05ff07058a21cd1ee.jpg","text":"TemporaryFile(/tmp/multipartBody8501042801773930109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647092974,"filename":"image_12012025_02_56_02_063036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd09e7ff8041b2571844538ecc037473.jpg","text":"TemporaryFile(/tmp/multipartBody8244629772972535094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647092974,"filename":"image_12012025_02_56_02_063036_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328312089","file1":"1328312066","file0":"1328311976","file3":"1328312107"},"map_files_photo_id_array":[{"photo_id":"1328312089","filename":"file2"},{"photo_id":"1328312066","filename":"file1"},{"photo_id":"1328311976","filename":"file0"},{"photo_id":"1328312107","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328312066":["hashtag1","hashtag2"]},{"1328311976":["hashtag1","hashtag2"]},{"1328312089":["hashtag1","hashtag2"]},{"1328312107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328312066, 1328311976, 1328312089, 1328312107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.07476329803467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 02:59:03.389705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0003.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0000.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0001.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0002.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0003.jpg', '/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0003.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0000.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0001.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0002.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0003.jpg
/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_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.001969575881958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 02:59:22.692768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0003.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0000.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0001.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0002.jpg', '/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0003.jpg', '/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/56/image_12012025_02_56_02_063036_0003.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0000.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0001.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0002.jpg
/home/pi/Desktop/images/12012025/02/57/image_12012025_02_57_02_770600_0003.jpg
/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328312153","1328312164","1328312146","1328312161","1328312149","1328312158"],"photo_ids_order":["1328312146","1328312149","1328312153","1328312158","1328312161","1328312164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db1977e6a25852f5e4e04fb85f58b757.jpg","text":"TemporaryFile(/tmp/multipartBody1981061139759526832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647238061,"filename":"image_12012025_02_57_02_770600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aab32ddbfa60251a32e32b1f85ab56c0.jpg","text":"TemporaryFile(/tmp/multipartBody553470464502777797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647238061,"filename":"image_12012025_02_58_02_258621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e81441f3a091efdf75d315194c507e31.jpg","text":"TemporaryFile(/tmp/multipartBody3543213414189331678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647238061,"filename":"image_12012025_02_56_02_063036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06ca364e9e901571db5c6a8269f19775.jpg","text":"TemporaryFile(/tmp/multipartBody4106492257559881999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647238061,"filename":"image_12012025_02_57_02_770600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f619fd71635128538bb2dc3a7f5fcaec.jpg","text":"TemporaryFile(/tmp/multipartBody3365724822788069306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647238061,"filename":"image_12012025_02_57_02_770600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6130c6b466a139c074e687ee850cc63d.jpg","text":"TemporaryFile(/tmp/multipartBody2498387579709798492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647238061,"filename":"image_12012025_02_57_02_770600_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328312153","file1":"1328312149","file0":"1328312146","file4":"1328312161","file5":"1328312164","file3":"1328312158"},"map_files_photo_id_array":[{"photo_id":"1328312164","filename":"file5"},{"photo_id":"1328312153","filename":"file2"},{"photo_id":"1328312161","filename":"file4"},{"photo_id":"1328312149","filename":"file1"},{"photo_id":"1328312146","filename":"file0"},{"photo_id":"1328312158","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328312153":["hashtag1","hashtag2"]},{"1328312164":["hashtag1","hashtag2"]},{"1328312146":["hashtag1","hashtag2"]},{"1328312161":["hashtag1","hashtag2"]},{"1328312149":["hashtag1","hashtag2"]},{"1328312158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328312153, 1328312164, 1328312146, 1328312161, 1328312149, 1328312158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.279541969299316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:00:22.205447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0001.jpg', '/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0002.jpg', '/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0003.jpg', '/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0000.jpg', '/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0001.jpg', '/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0001.jpg
/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0002.jpg
/home/pi/Desktop/images/12012025/02/58/image_12012025_02_58_02_258621_0003.jpg
/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0000.jpg
/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0001.jpg
/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328312301","1328312546","1328312177","1328312834","1328313109","1328312175"],"photo_ids_order":["1328312175","1328312177","1328312301","1328312546","1328312834","1328313109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7ae3d34ab7de901182ca817fcd114ad.jpg","text":"TemporaryFile(/tmp/multipartBody2876847765887500013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647297246,"filename":"image_12012025_02_58_02_258621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fce931b21a0f6aab492db9974002501.jpg","text":"TemporaryFile(/tmp/multipartBody8243361166672785247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647297246,"filename":"image_12012025_02_59_02_935753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec412002abeb8327d40e60dc4cb514b9.jpg","text":"TemporaryFile(/tmp/multipartBody8094178531537226337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647297246,"filename":"image_12012025_02_58_02_258621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe888ad1122a0fb5e456a61c08a58cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3270470691399209035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647297246,"filename":"image_12012025_02_59_02_935753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1b6ddd802af6c18e2226868c9c45936.jpg","text":"TemporaryFile(/tmp/multipartBody3033620739939712059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647297246,"filename":"image_12012025_02_59_02_935753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2246fc01ede2f4c8075d2a5afa1d87bd.jpg","text":"TemporaryFile(/tmp/multipartBody74353478442577065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647297246,"filename":"image_12012025_02_58_02_258621_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328312301","file1":"1328312177","file0":"1328312175","file4":"1328312834","file5":"1328313109","file3":"1328312546"},"map_files_photo_id_array":[{"photo_id":"1328313109","filename":"file5"},{"photo_id":"1328312301","filename":"file2"},{"photo_id":"1328312834","filename":"file4"},{"photo_id":"1328312177","filename":"file1"},{"photo_id":"1328312175","filename":"file0"},{"photo_id":"1328312546","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328312301":["hashtag1","hashtag2"]},{"1328312546":["hashtag1","hashtag2"]},{"1328312177":["hashtag1","hashtag2"]},{"1328312834":["hashtag1","hashtag2"]},{"1328313109":["hashtag1","hashtag2"]},{"1328312175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328312301, 1328312546, 1328312177, 1328312834, 1328313109, 1328312175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.89816665649414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:01:21.784578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0003.jpg', '/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0000.jpg', '/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0001.jpg', '/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0002.jpg', '/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0003.jpg', '/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/02/59/image_12012025_02_59_02_935753_0003.jpg
/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0000.jpg
/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0001.jpg
/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0002.jpg
/home/pi/Desktop/images/12012025/03/00/image_12012025_03_00_03_051762_0003.jpg
/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328313230","1328313233","1328313224","1328313475","1328313463","1328313226"],"photo_ids_order":["1328313224","1328313226","1328313230","1328313233","1328313463","1328313475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/712702a70a86834e89b93c393faaa1b6.jpg","text":"TemporaryFile(/tmp/multipartBody4811082030111826338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647357030,"filename":"image_12012025_03_00_03_051762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/368872bc9d1eba849b9cd23a00aa8620.jpg","text":"TemporaryFile(/tmp/multipartBody9200387785765923006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647357030,"filename":"image_12012025_03_00_03_051762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d315bf666660f7397e4f70729cc068a.jpg","text":"TemporaryFile(/tmp/multipartBody6837821291300809538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647357030,"filename":"image_12012025_02_59_02_935753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/855d41fe073b1dc9f04189c7cc3a8c16.jpg","text":"TemporaryFile(/tmp/multipartBody107148469965379712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647357030,"filename":"image_12012025_03_01_02_704780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b26be0ca19185362c5fcf2e5494b11ab.jpg","text":"TemporaryFile(/tmp/multipartBody7134541562382437688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647357030,"filename":"image_12012025_03_00_03_051762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7d841375cc61afa0bd6300de347ff7e.jpg","text":"TemporaryFile(/tmp/multipartBody620189533282847279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647357030,"filename":"image_12012025_03_00_03_051762_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328313230","file1":"1328313226","file0":"1328313224","file4":"1328313463","file5":"1328313475","file3":"1328313233"},"map_files_photo_id_array":[{"photo_id":"1328313475","filename":"file5"},{"photo_id":"1328313230","filename":"file2"},{"photo_id":"1328313463","filename":"file4"},{"photo_id":"1328313226","filename":"file1"},{"photo_id":"1328313224","filename":"file0"},{"photo_id":"1328313233","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328313230":["hashtag1","hashtag2"]},{"1328313233":["hashtag1","hashtag2"]},{"1328313224":["hashtag1","hashtag2"]},{"1328313475":["hashtag1","hashtag2"]},{"1328313463":["hashtag1","hashtag2"]},{"1328313226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328313230, 1328313233, 1328313224, 1328313475, 1328313463, 1328313226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.01521921157837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:02:22.334870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0001.jpg', '/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0002.jpg', '/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0003.jpg', '/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0000.jpg', '/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0001.jpg', '/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0001.jpg
/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0002.jpg
/home/pi/Desktop/images/12012025/03/01/image_12012025_03_01_02_704780_0003.jpg
/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0000.jpg
/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0001.jpg
/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328313563","1328313566","1328313556","1328313558","1328313569","1328313560"],"photo_ids_order":["1328313556","1328313558","1328313560","1328313563","1328313566","1328313569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69e431b9486be52bb85f138a6c2e7d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8916969779700925667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647417617,"filename":"image_12012025_03_02_02_206311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54ef2a0a73b598396d3b03bc9bb3880f.jpg","text":"TemporaryFile(/tmp/multipartBody3381590395925874278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647417617,"filename":"image_12012025_03_02_02_206311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1159e6ee18da0ebbf8193ab142528626.jpg","text":"TemporaryFile(/tmp/multipartBody1386278756357851991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647417617,"filename":"image_12012025_03_01_02_704780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7da6b77646d1482b4098aefb41ea16de.jpg","text":"TemporaryFile(/tmp/multipartBody9181033170575184344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647417617,"filename":"image_12012025_03_01_02_704780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/752ef708e567a0b12d145b2419fcbdde.jpg","text":"TemporaryFile(/tmp/multipartBody4555906745961992347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647417617,"filename":"image_12012025_03_02_02_206311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0fb25acc117edc3d111602cccaa37e7.jpg","text":"TemporaryFile(/tmp/multipartBody503311876084804037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647417617,"filename":"image_12012025_03_01_02_704780_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328313560","file1":"1328313558","file0":"1328313556","file4":"1328313566","file5":"1328313569","file3":"1328313563"},"map_files_photo_id_array":[{"photo_id":"1328313569","filename":"file5"},{"photo_id":"1328313560","filename":"file2"},{"photo_id":"1328313566","filename":"file4"},{"photo_id":"1328313558","filename":"file1"},{"photo_id":"1328313556","filename":"file0"},{"photo_id":"1328313563","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328313563":["hashtag1","hashtag2"]},{"1328313566":["hashtag1","hashtag2"]},{"1328313556":["hashtag1","hashtag2"]},{"1328313558":["hashtag1","hashtag2"]},{"1328313569":["hashtag1","hashtag2"]},{"1328313560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328313563, 1328313566, 1328313556, 1328313558, 1328313569, 1328313560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.975791215896606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:03:21.793741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0003.jpg', '/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0000.jpg', '/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0001.jpg', '/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/02/image_12012025_03_02_02_206311_0003.jpg
/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0000.jpg
/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0001.jpg
/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328313580","1328313591","1328313593","1328313575"],"photo_ids_order":["1328313575","1328313580","1328313591","1328313593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d419c089d410e23b5c12ae943115d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5902959356424943376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647472215,"filename":"image_12012025_03_03_02_703531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5c2dd22111f81fb8f51a6f0ab50531c.jpg","text":"TemporaryFile(/tmp/multipartBody7876795557316741524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647472215,"filename":"image_12012025_03_03_02_703531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf9f1eaa0bae243d5c002fd9432f2667.jpg","text":"TemporaryFile(/tmp/multipartBody1782174125097396740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647472215,"filename":"image_12012025_03_03_02_703531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e72956d067693bb5070c27ac5a702d2.jpg","text":"TemporaryFile(/tmp/multipartBody7448695664619398590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647472215,"filename":"image_12012025_03_02_02_206311_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328313591","file1":"1328313580","file0":"1328313575","file3":"1328313593"},"map_files_photo_id_array":[{"photo_id":"1328313591","filename":"file2"},{"photo_id":"1328313580","filename":"file1"},{"photo_id":"1328313575","filename":"file0"},{"photo_id":"1328313593","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328313580":["hashtag1","hashtag2"]},{"1328313591":["hashtag1","hashtag2"]},{"1328313593":["hashtag1","hashtag2"]},{"1328313575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328313580, 1328313591, 1328313593, 1328313575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.090455293655396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:04:02.765062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:04:22.252083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0003.jpg', '/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0000.jpg', '/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0001.jpg', '/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/03/image_12012025_03_03_02_703531_0003.jpg
/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0000.jpg
/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0001.jpg
/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328314057","1328313602","1328313599","1328313788"],"photo_ids_order":["1328313599","1328313602","1328313788","1328314057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d8e66a7f99acc20aaaa27de596b71d3.jpg","text":"TemporaryFile(/tmp/multipartBody2179867563905133988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647532486,"filename":"image_12012025_03_04_02_194483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b878755c332da8c8232ace8979852288.jpg","text":"TemporaryFile(/tmp/multipartBody4519545563654584032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647532486,"filename":"image_12012025_03_04_02_194483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b103cdb75e5978b80addd7bdf1e4a722.jpg","text":"TemporaryFile(/tmp/multipartBody3336969007515998773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647532486,"filename":"image_12012025_03_03_02_703531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e56bd420f9ce39295d3f0b96b6000e5.jpg","text":"TemporaryFile(/tmp/multipartBody3474827509339404700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647532486,"filename":"image_12012025_03_04_02_194483_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328313788","file1":"1328313602","file0":"1328313599","file3":"1328314057"},"map_files_photo_id_array":[{"photo_id":"1328313788","filename":"file2"},{"photo_id":"1328313602","filename":"file1"},{"photo_id":"1328313599","filename":"file0"},{"photo_id":"1328314057","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328314057":["hashtag1","hashtag2"]},{"1328313602":["hashtag1","hashtag2"]},{"1328313599":["hashtag1","hashtag2"]},{"1328313788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328314057, 1328313602, 1328313599, 1328313788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12578511238098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:05:02.491629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:05:21.825022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0003.jpg', '/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0000.jpg', '/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0001.jpg', '/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/04/image_12012025_03_04_02_194483_0003.jpg
/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0000.jpg
/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0001.jpg
/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328314753","1328314750","1328314747","1328314743"],"photo_ids_order":["1328314743","1328314747","1328314750","1328314753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8570696476d1749ac2693d25461afbc.jpg","text":"TemporaryFile(/tmp/multipartBody8159510600844705583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647592089,"filename":"image_12012025_03_05_02_768315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4cb6672457530bc54e9222738409e19a.jpg","text":"TemporaryFile(/tmp/multipartBody5983928150031137192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647592089,"filename":"image_12012025_03_05_02_768315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2e8d2ff57ae1f7b8f864477d18023ca.jpg","text":"TemporaryFile(/tmp/multipartBody3775144975540904409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647592089,"filename":"image_12012025_03_05_02_768315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cbdbc735364c63642f5a332c5cbffcb.jpg","text":"TemporaryFile(/tmp/multipartBody1556124304488272234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647592089,"filename":"image_12012025_03_04_02_194483_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328314750","file1":"1328314747","file0":"1328314743","file3":"1328314753"},"map_files_photo_id_array":[{"photo_id":"1328314750","filename":"file2"},{"photo_id":"1328314747","filename":"file1"},{"photo_id":"1328314743","filename":"file0"},{"photo_id":"1328314753","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328314753":["hashtag1","hashtag2"]},{"1328314750":["hashtag1","hashtag2"]},{"1328314747":["hashtag1","hashtag2"]},{"1328314743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328314753, 1328314750, 1328314747, 1328314743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97490835189819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:06:02.938985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:06:22.472434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0003.jpg', '/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0000.jpg', '/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0001.jpg', '/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/05/image_12012025_03_05_02_768315_0003.jpg
/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0000.jpg
/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0001.jpg
/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315151","1328315073","1328315148","1328315098"],"photo_ids_order":["1328315073","1328315098","1328315148","1328315151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e0922112e9db3e2e71774c079e369b86.jpg","text":"TemporaryFile(/tmp/multipartBody1678639673080195313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647652773,"filename":"image_12012025_03_06_02_228316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd8918b115fbf981f5e721fe571f9dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3252670146229983055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647652773,"filename":"image_12012025_03_05_02_768315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50feee7b3041b034047c3ffb18e748d4.jpg","text":"TemporaryFile(/tmp/multipartBody4053466936493187358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647652773,"filename":"image_12012025_03_06_02_228316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/faff8620f942c8bb0e2befd99a464856.jpg","text":"TemporaryFile(/tmp/multipartBody115061607805939080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647652773,"filename":"image_12012025_03_06_02_228316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315148","file1":"1328315098","file0":"1328315073","file3":"1328315151"},"map_files_photo_id_array":[{"photo_id":"1328315148","filename":"file2"},{"photo_id":"1328315098","filename":"file1"},{"photo_id":"1328315073","filename":"file0"},{"photo_id":"1328315151","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315151":["hashtag1","hashtag2"]},{"1328315073":["hashtag1","hashtag2"]},{"1328315148":["hashtag1","hashtag2"]},{"1328315098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315151, 1328315073, 1328315148, 1328315098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95741391181946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:07:02.542558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:07:21.986882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0003.jpg', '/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0000.jpg', '/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0001.jpg', '/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/06/image_12012025_03_06_02_228316_0003.jpg
/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0000.jpg
/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0001.jpg
/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315161","1328315166","1328315168","1328315164"],"photo_ids_order":["1328315161","1328315164","1328315166","1328315168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb6b88bddc1ec721d268824e5d3c1680.jpg","text":"TemporaryFile(/tmp/multipartBody5609095039720572889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647712191,"filename":"image_12012025_03_06_02_228316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34b6d22595d8f919eefbf03e8cc83e1e.jpg","text":"TemporaryFile(/tmp/multipartBody583276182830947840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647712191,"filename":"image_12012025_03_07_02_839837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf15866cd1ee189124a2e976eb148e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6503783947054594832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647712191,"filename":"image_12012025_03_07_02_839837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a9851f899bf859ada8e8893364a0dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7319306682013503044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647712191,"filename":"image_12012025_03_07_02_839837_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315166","file1":"1328315164","file0":"1328315161","file3":"1328315168"},"map_files_photo_id_array":[{"photo_id":"1328315166","filename":"file2"},{"photo_id":"1328315164","filename":"file1"},{"photo_id":"1328315161","filename":"file0"},{"photo_id":"1328315168","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315161":["hashtag1","hashtag2"]},{"1328315166":["hashtag1","hashtag2"]},{"1328315168":["hashtag1","hashtag2"]},{"1328315164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315161, 1328315166, 1328315168, 1328315164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.902143478393555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:08:03.038687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:08:22.596001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0003.jpg', '/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0000.jpg', '/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0001.jpg', '/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0003.jpg
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0000.jpg
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0001.jpg
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.907656908035278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:09:02.737770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0003.jpg', '/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0000.jpg', '/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0001.jpg', '/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/07/image_12012025_03_07_02_839837_0003.jpg
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0000.jpg
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0001.jpg
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315373","1328315372","1328315366","1328315261"],"photo_ids_order":["1328315261","1328315366","1328315372","1328315373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ccda1c0811c1dfef7c4acf0aa3c87ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8356929083693152805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647813063,"filename":"image_12012025_03_08_02_330449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a98d8fbd3e53b90cd5c5cd3c407f7516.jpg","text":"TemporaryFile(/tmp/multipartBody8874596852689825819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647813063,"filename":"image_12012025_03_08_02_330449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e1f7208968088f72235685f5fd599e8.jpg","text":"TemporaryFile(/tmp/multipartBody9076196915983672030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647813063,"filename":"image_12012025_03_08_02_330449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a564ebde8540c6461d0cae11bb4fc43.jpg","text":"TemporaryFile(/tmp/multipartBody1503993129101776977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647813063,"filename":"image_12012025_03_07_02_839837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315372","file1":"1328315366","file0":"1328315261","file3":"1328315373"},"map_files_photo_id_array":[{"photo_id":"1328315372","filename":"file2"},{"photo_id":"1328315366","filename":"file1"},{"photo_id":"1328315261","filename":"file0"},{"photo_id":"1328315373","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315373":["hashtag1","hashtag2"]},{"1328315372":["hashtag1","hashtag2"]},{"1328315366":["hashtag1","hashtag2"]},{"1328315261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315373, 1328315372, 1328315366, 1328315261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.960094690322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:10:03.120994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0003.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0000.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0001.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0003.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0000.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0001.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.953370571136475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:10:22.668213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0003.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0000.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0001.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0002.jpg', '/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0003.jpg', '/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/08/image_12012025_03_08_02_330449_0003.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0000.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0001.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0002.jpg
/home/pi/Desktop/images/12012025/03/09/image_12012025_03_09_02_995645_0003.jpg
/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315413","1328315407","1328315415","1328315409","1328315411","1328315405"],"photo_ids_order":["1328315405","1328315407","1328315409","1328315411","1328315413","1328315415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa02744fc603a7cf3e7bb9b29fa0bf8e.jpg","text":"TemporaryFile(/tmp/multipartBody1086087409706722658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647897852,"filename":"image_12012025_03_09_02_995645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3f27a5695ce5f2a6f1b394b3c4ef770.jpg","text":"TemporaryFile(/tmp/multipartBody7345417928135117688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647897852,"filename":"image_12012025_03_09_02_995645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a428d9d53cada1a9002288f5f8f7ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1358394415557299508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647897852,"filename":"image_12012025_03_10_02_480020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49634427f75863cd4a39adc5814981c9.jpg","text":"TemporaryFile(/tmp/multipartBody2116270931581836260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647897852,"filename":"image_12012025_03_09_02_995645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20739de98159c8c6acb641a65d78dc33.jpg","text":"TemporaryFile(/tmp/multipartBody3390921104674289409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647897852,"filename":"image_12012025_03_09_02_995645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5d67619c730d58b22a2d7063a070bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5965323287522818026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647897852,"filename":"image_12012025_03_08_02_330449_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315409","file1":"1328315407","file0":"1328315405","file4":"1328315413","file5":"1328315415","file3":"1328315411"},"map_files_photo_id_array":[{"photo_id":"1328315415","filename":"file5"},{"photo_id":"1328315409","filename":"file2"},{"photo_id":"1328315413","filename":"file4"},{"photo_id":"1328315407","filename":"file1"},{"photo_id":"1328315405","filename":"file0"},{"photo_id":"1328315411","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315413":["hashtag1","hashtag2"]},{"1328315407":["hashtag1","hashtag2"]},{"1328315415":["hashtag1","hashtag2"]},{"1328315409":["hashtag1","hashtag2"]},{"1328315411":["hashtag1","hashtag2"]},{"1328315405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315413, 1328315407, 1328315415, 1328315409, 1328315411, 1328315405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.580710887908936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:11:22.135882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0001.jpg', '/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0002.jpg', '/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0003.jpg', '/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0000.jpg', '/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0001.jpg', '/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0001.jpg
/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0002.jpg
/home/pi/Desktop/images/12012025/03/10/image_12012025_03_10_02_480020_0003.jpg
/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0000.jpg
/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0001.jpg
/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315428","1328315422","1328315430","1328315424","1328315426","1328315420"],"photo_ids_order":["1328315420","1328315422","1328315424","1328315426","1328315428","1328315430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f4afb0b99596aee319b8923ed713f06.jpg","text":"TemporaryFile(/tmp/multipartBody8227415713000224003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647957250,"filename":"image_12012025_03_11_03_028610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16381d21e2621894c64dbd2e9eeac0f2.jpg","text":"TemporaryFile(/tmp/multipartBody6147006446259498836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647957250,"filename":"image_12012025_03_10_02_480020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ba5531e48205e93cf43978ad39ff70e.jpg","text":"TemporaryFile(/tmp/multipartBody7360578600019049140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647957250,"filename":"image_12012025_03_11_03_028610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13a01be1880221af896c98ab5407bab6.jpg","text":"TemporaryFile(/tmp/multipartBody1615045334367767193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647957250,"filename":"image_12012025_03_10_02_480020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7aa4d631790cda2af219ed952ee79b39.jpg","text":"TemporaryFile(/tmp/multipartBody8742850239149360988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647957250,"filename":"image_12012025_03_11_03_028610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d990252c3b4f008dbe463196988d9e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7778426695042502701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736647957250,"filename":"image_12012025_03_10_02_480020_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315424","file1":"1328315422","file0":"1328315420","file4":"1328315428","file5":"1328315430","file3":"1328315426"},"map_files_photo_id_array":[{"photo_id":"1328315430","filename":"file5"},{"photo_id":"1328315424","filename":"file2"},{"photo_id":"1328315428","filename":"file4"},{"photo_id":"1328315422","filename":"file1"},{"photo_id":"1328315420","filename":"file0"},{"photo_id":"1328315426","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315428":["hashtag1","hashtag2"]},{"1328315422":["hashtag1","hashtag2"]},{"1328315430":["hashtag1","hashtag2"]},{"1328315424":["hashtag1","hashtag2"]},{"1328315426":["hashtag1","hashtag2"]},{"1328315420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315428, 1328315422, 1328315430, 1328315424, 1328315426, 1328315420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.49812912940979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:12:22.641434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0003.jpg', '/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0000.jpg', '/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0001.jpg', '/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/11/image_12012025_03_11_03_028610_0003.jpg
/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0000.jpg
/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0001.jpg
/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315443","1328315432","1328315435","1328315438"],"photo_ids_order":["1328315432","1328315435","1328315438","1328315443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8d247f05c33a2ec73480f37ffbd9b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3646092556256507252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648013104,"filename":"image_12012025_03_12_02_506212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c89d8e59a365b8e76fe0ddca35a1eda.jpg","text":"TemporaryFile(/tmp/multipartBody5664881673448630936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648013104,"filename":"image_12012025_03_11_03_028610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72f37b6ac433edd9a6abfdc87f04df5d.jpg","text":"TemporaryFile(/tmp/multipartBody5493059161094306179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648013104,"filename":"image_12012025_03_12_02_506212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3c34b66e480076f02d60d30c4b36887.jpg","text":"TemporaryFile(/tmp/multipartBody2357545512181415981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648013104,"filename":"image_12012025_03_12_02_506212_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315438","file1":"1328315435","file0":"1328315432","file3":"1328315443"},"map_files_photo_id_array":[{"photo_id":"1328315438","filename":"file2"},{"photo_id":"1328315435","filename":"file1"},{"photo_id":"1328315432","filename":"file0"},{"photo_id":"1328315443","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315443":["hashtag1","hashtag2"]},{"1328315432":["hashtag1","hashtag2"]},{"1328315435":["hashtag1","hashtag2"]},{"1328315438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315443, 1328315432, 1328315435, 1328315438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.325740337371826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:13:02.698640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:13:22.083780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0003.jpg', '/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0000.jpg', '/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0001.jpg', '/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/12/image_12012025_03_12_02_506212_0003.jpg
/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0000.jpg
/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0001.jpg
/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315484","1328315480","1328315477","1328315482"],"photo_ids_order":["1328315477","1328315480","1328315482","1328315484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e27f6123e61a74089a3731bd77d3603.jpg","text":"TemporaryFile(/tmp/multipartBody7085835010271684266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648072483,"filename":"image_12012025_03_13_02_964858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a6d0a7b8d35fc56af973f04d8282ae19.jpg","text":"TemporaryFile(/tmp/multipartBody2618755529537023764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648072483,"filename":"image_12012025_03_13_02_964858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04a138ff215539247b3ea5adecd7792d.jpg","text":"TemporaryFile(/tmp/multipartBody863529267446008507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648072483,"filename":"image_12012025_03_12_02_506212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc8f9dda51723b8d0edc676d691ea88b.jpg","text":"TemporaryFile(/tmp/multipartBody4048436165107881683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648072483,"filename":"image_12012025_03_13_02_964858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315482","file1":"1328315480","file0":"1328315477","file3":"1328315484"},"map_files_photo_id_array":[{"photo_id":"1328315482","filename":"file2"},{"photo_id":"1328315480","filename":"file1"},{"photo_id":"1328315477","filename":"file0"},{"photo_id":"1328315484","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315484":["hashtag1","hashtag2"]},{"1328315480":["hashtag1","hashtag2"]},{"1328315477":["hashtag1","hashtag2"]},{"1328315482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315484, 1328315480, 1328315477, 1328315482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.218103647232056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:14:03.028966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:14:22.595219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0003.jpg', '/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0000.jpg', '/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0001.jpg', '/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/13/image_12012025_03_13_02_964858_0003.jpg
/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0000.jpg
/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0001.jpg
/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315503","1328315499","1328315582","1328315501"],"photo_ids_order":["1328315499","1328315501","1328315503","1328315582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1db4ab92ccc7e037953fcc55c9b025f7.jpg","text":"TemporaryFile(/tmp/multipartBody4829485033389692893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648132870,"filename":"image_12012025_03_14_02_517359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a2ced7a85abe59af0888a8c14ec508d.jpg","text":"TemporaryFile(/tmp/multipartBody2433751463419337048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648132870,"filename":"image_12012025_03_13_02_964858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a134d617a4e56b08625207c0f057a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody6932253954162073952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648132870,"filename":"image_12012025_03_14_02_517359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/604cd974e8dfbb902e548fce36843de8.jpg","text":"TemporaryFile(/tmp/multipartBody5536557068679149977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648132870,"filename":"image_12012025_03_14_02_517359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315503","file1":"1328315501","file0":"1328315499","file3":"1328315582"},"map_files_photo_id_array":[{"photo_id":"1328315503","filename":"file2"},{"photo_id":"1328315501","filename":"file1"},{"photo_id":"1328315499","filename":"file0"},{"photo_id":"1328315582","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315503":["hashtag1","hashtag2"]},{"1328315499":["hashtag1","hashtag2"]},{"1328315582":["hashtag1","hashtag2"]},{"1328315501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315503, 1328315499, 1328315582, 1328315501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.807411193847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:15:22.126349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0003.jpg', '/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0000.jpg', '/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0001.jpg', '/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/14/image_12012025_03_14_02_517359_0003.jpg
/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0000.jpg
/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0001.jpg
/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315697","1328315691","1328315693","1328315695"],"photo_ids_order":["1328315691","1328315693","1328315695","1328315697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/990e62328ec9a1e701f874e78448f931.jpg","text":"TemporaryFile(/tmp/multipartBody3977544146542316501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648192393,"filename":"image_12012025_03_15_02_960228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c32fffa336b39d0a56d2d6a94599bf73.jpg","text":"TemporaryFile(/tmp/multipartBody3705341420177742071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648192393,"filename":"image_12012025_03_14_02_517359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66c9cc30afc6f3080417633301881c44.jpg","text":"TemporaryFile(/tmp/multipartBody3820634622505937205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648192393,"filename":"image_12012025_03_15_02_960228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9a72577c3e435551aa5861ff5d47fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5049683297709795378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648192393,"filename":"image_12012025_03_15_02_960228_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315695","file1":"1328315693","file0":"1328315691","file3":"1328315697"},"map_files_photo_id_array":[{"photo_id":"1328315695","filename":"file2"},{"photo_id":"1328315693","filename":"file1"},{"photo_id":"1328315691","filename":"file0"},{"photo_id":"1328315697","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315697":["hashtag1","hashtag2"]},{"1328315691":["hashtag1","hashtag2"]},{"1328315693":["hashtag1","hashtag2"]},{"1328315695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315697, 1328315691, 1328315693, 1328315695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.610897064208984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:16:02.990233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:16:22.593116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0003.jpg', '/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0000.jpg', '/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0001.jpg', '/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0003.jpg
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0000.jpg
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0001.jpg
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.931117296218872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:17:02.870415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0003.jpg', '/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0000.jpg', '/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0001.jpg', '/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/15/image_12012025_03_15_02_960228_0003.jpg
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0000.jpg
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0001.jpg
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315716","1328315713","1328315718","1328315714"],"photo_ids_order":["1328315713","1328315714","1328315716","1328315718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b488796877cb8929f1e1861d759c76a4.jpg","text":"TemporaryFile(/tmp/multipartBody9126869999472421823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648293198,"filename":"image_12012025_03_16_02_473060_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc7498f685d32ae2dfe97c20d7e0a167.jpg","text":"TemporaryFile(/tmp/multipartBody5507671850617202085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648293198,"filename":"image_12012025_03_15_02_960228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c214877d93908a2e836f4f8849519d0.jpg","text":"TemporaryFile(/tmp/multipartBody5454617104594149875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648293198,"filename":"image_12012025_03_16_02_473060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a3c7a1cb1e8fb481d59bcc3bde22f56.jpg","text":"TemporaryFile(/tmp/multipartBody2542528536007256462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648293198,"filename":"image_12012025_03_16_02_473060_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315716","file1":"1328315714","file0":"1328315713","file3":"1328315718"},"map_files_photo_id_array":[{"photo_id":"1328315716","filename":"file2"},{"photo_id":"1328315714","filename":"file1"},{"photo_id":"1328315713","filename":"file0"},{"photo_id":"1328315718","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315716":["hashtag1","hashtag2"]},{"1328315713":["hashtag1","hashtag2"]},{"1328315718":["hashtag1","hashtag2"]},{"1328315714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315716, 1328315713, 1328315718, 1328315714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.663334131240845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:18:03.240880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0003.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0000.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0001.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0003.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0000.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0001.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.029882192611694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:18:22.667031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0003.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0000.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0001.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0002.jpg', '/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0003.jpg', '/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/16/image_12012025_03_16_02_473060_0003.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0000.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0001.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0002.jpg
/home/pi/Desktop/images/12012025/03/17/image_12012025_03_17_02_977523_0003.jpg
/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315737","1328315733","1328315768","1328315735","1328315750","1328315770"],"photo_ids_order":["1328315733","1328315735","1328315737","1328315750","1328315768","1328315770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d32ff351c09302a1bda825d5829c5ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4491502011930632359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648377898,"filename":"image_12012025_03_17_02_977523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac987c66a10248e7d69ddd335fc79829.jpg","text":"TemporaryFile(/tmp/multipartBody4893647130008712007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648377898,"filename":"image_12012025_03_16_02_473060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8148a2840c8eaa9b63d9b7be07f50da8.jpg","text":"TemporaryFile(/tmp/multipartBody381248870482808748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648377898,"filename":"image_12012025_03_17_02_977523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/255cd0d5d8797b7aaf0ef17ef422d99a.jpg","text":"TemporaryFile(/tmp/multipartBody8633165141247314879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648377898,"filename":"image_12012025_03_17_02_977523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0eb002ddcda6d975eeaba96d6a46babe.jpg","text":"TemporaryFile(/tmp/multipartBody7423445370238838329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648377898,"filename":"image_12012025_03_17_02_977523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/efea6e86822130ffcdf29d64ff5e9b02.jpg","text":"TemporaryFile(/tmp/multipartBody8038676860634843868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648377898,"filename":"image_12012025_03_18_02_546177_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315737","file1":"1328315735","file0":"1328315733","file4":"1328315768","file5":"1328315770","file3":"1328315750"},"map_files_photo_id_array":[{"photo_id":"1328315770","filename":"file5"},{"photo_id":"1328315737","filename":"file2"},{"photo_id":"1328315768","filename":"file4"},{"photo_id":"1328315735","filename":"file1"},{"photo_id":"1328315733","filename":"file0"},{"photo_id":"1328315750","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315737":["hashtag1","hashtag2"]},{"1328315733":["hashtag1","hashtag2"]},{"1328315768":["hashtag1","hashtag2"]},{"1328315735":["hashtag1","hashtag2"]},{"1328315750":["hashtag1","hashtag2"]},{"1328315770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315737, 1328315733, 1328315768, 1328315735, 1328315750, 1328315770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.83606743812561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:19:22.202648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0001.jpg', '/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0002.jpg', '/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0003.jpg', '/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0000.jpg', '/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0001.jpg', '/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0001.jpg
/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0002.jpg
/home/pi/Desktop/images/12012025/03/18/image_12012025_03_18_02_546177_0003.jpg
/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0000.jpg
/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0001.jpg
/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328315775","1328315780","1328315774","1328315777","1328315782","1328315785"],"photo_ids_order":["1328315774","1328315775","1328315777","1328315780","1328315782","1328315785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3a4b237b00a995117cb508c30a2ad08.jpg","text":"TemporaryFile(/tmp/multipartBody3915469810637119600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648437214,"filename":"image_12012025_03_18_02_546177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4157685181210e2949b0ad8bf93b93a5.jpg","text":"TemporaryFile(/tmp/multipartBody8016964427285947193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648437214,"filename":"image_12012025_03_19_03_074588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73ae10a236aad9a689dab18858dbaa91.jpg","text":"TemporaryFile(/tmp/multipartBody8453990127203016746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648437214,"filename":"image_12012025_03_18_02_546177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f3ed02ee4926a53027859f1aed988b0.jpg","text":"TemporaryFile(/tmp/multipartBody247782746840885292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648437214,"filename":"image_12012025_03_18_02_546177_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6fc7e8319da7329efb123473913cb45.jpg","text":"TemporaryFile(/tmp/multipartBody2452330440934395392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648437214,"filename":"image_12012025_03_19_03_074588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7820f5d0976a7c39f9cf03d8c9b0983.jpg","text":"TemporaryFile(/tmp/multipartBody1832058493051565047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648437214,"filename":"image_12012025_03_19_03_074588_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328315777","file1":"1328315775","file0":"1328315774","file4":"1328315782","file5":"1328315785","file3":"1328315780"},"map_files_photo_id_array":[{"photo_id":"1328315785","filename":"file5"},{"photo_id":"1328315777","filename":"file2"},{"photo_id":"1328315782","filename":"file4"},{"photo_id":"1328315775","filename":"file1"},{"photo_id":"1328315774","filename":"file0"},{"photo_id":"1328315780","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328315775":["hashtag1","hashtag2"]},{"1328315780":["hashtag1","hashtag2"]},{"1328315774":["hashtag1","hashtag2"]},{"1328315777":["hashtag1","hashtag2"]},{"1328315782":["hashtag1","hashtag2"]},{"1328315785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328315775, 1328315780, 1328315774, 1328315777, 1328315782, 1328315785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31349158287048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:20:22.692576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0003.jpg', '/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0000.jpg', '/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0001.jpg', '/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/19/image_12012025_03_19_03_074588_0003.jpg
/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0000.jpg
/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0001.jpg
/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328316296","1328316557","1328316049","1328315788"],"photo_ids_order":["1328315788","1328316049","1328316296","1328316557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/325bc334c09612d7a005e192caf72adb.jpg","text":"TemporaryFile(/tmp/multipartBody8979421281783520680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648493251,"filename":"image_12012025_03_20_02_564209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b7dd94fee51511f3d3efbc312058d40.jpg","text":"TemporaryFile(/tmp/multipartBody4953771844743087206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648493251,"filename":"image_12012025_03_20_02_564209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7b24e652029253de3adb783d77ada9b.jpg","text":"TemporaryFile(/tmp/multipartBody8217615457724245293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648493251,"filename":"image_12012025_03_20_02_564209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68bb2889308cdd678c59a3c70a1844d0.jpg","text":"TemporaryFile(/tmp/multipartBody7667102728915417803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648493251,"filename":"image_12012025_03_19_03_074588_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328316296","file1":"1328316049","file0":"1328315788","file3":"1328316557"},"map_files_photo_id_array":[{"photo_id":"1328316296","filename":"file2"},{"photo_id":"1328316049","filename":"file1"},{"photo_id":"1328315788","filename":"file0"},{"photo_id":"1328316557","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328316296":["hashtag1","hashtag2"]},{"1328316557":["hashtag1","hashtag2"]},{"1328316049":["hashtag1","hashtag2"]},{"1328315788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328316296, 1328316557, 1328316049, 1328315788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30786967277527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:21:22.176362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0003.jpg', '/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0000.jpg', '/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0001.jpg', '/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/20/image_12012025_03_20_02_564209_0003.jpg
/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0000.jpg
/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0001.jpg
/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328316604","1328316606","1328316600","1328316608"],"photo_ids_order":["1328316600","1328316604","1328316606","1328316608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/466d3ad89421e22ed0eaed7be0a2ec69.jpg","text":"TemporaryFile(/tmp/multipartBody5781914871046795120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648552646,"filename":"image_12012025_03_21_03_025963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/507d9cdbdfcb59a821b389c88a031acb.jpg","text":"TemporaryFile(/tmp/multipartBody8555408353353409348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648552646,"filename":"image_12012025_03_21_03_025963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab29a0927c0e42f0184f2adf638751f3.jpg","text":"TemporaryFile(/tmp/multipartBody5390017348609469348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648552646,"filename":"image_12012025_03_20_02_564209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55bfdd28c7c7980461d00861e9bb12c7.jpg","text":"TemporaryFile(/tmp/multipartBody3835427430744061377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648552646,"filename":"image_12012025_03_21_03_025963_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328316606","file1":"1328316604","file0":"1328316600","file3":"1328316608"},"map_files_photo_id_array":[{"photo_id":"1328316606","filename":"file2"},{"photo_id":"1328316604","filename":"file1"},{"photo_id":"1328316600","filename":"file0"},{"photo_id":"1328316608","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328316604":["hashtag1","hashtag2"]},{"1328316606":["hashtag1","hashtag2"]},{"1328316600":["hashtag1","hashtag2"]},{"1328316608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328316604, 1328316606, 1328316600, 1328316608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.47442698478699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:22:22.700416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0003.jpg', '/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0000.jpg', '/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0001.jpg', '/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/21/image_12012025_03_21_03_025963_0003.jpg
/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0000.jpg
/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0001.jpg
/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317032","1328317029","1328317026","1328317024"],"photo_ids_order":["1328317024","1328317026","1328317029","1328317032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/256a58ab3e3ff975831ac00e679b1dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6642470677824146589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648613072,"filename":"image_12012025_03_22_02_555331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d62db5d6c3413244a251d362672b912.jpg","text":"TemporaryFile(/tmp/multipartBody7974244046871483499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648613072,"filename":"image_12012025_03_22_02_555331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01ee9a79fc3e6c389011b204b9451beb.jpg","text":"TemporaryFile(/tmp/multipartBody4223974921580064218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648613072,"filename":"image_12012025_03_22_02_555331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bad98a4bfd5213525df1a2541efa3568.jpg","text":"TemporaryFile(/tmp/multipartBody1611651477136992464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648613072,"filename":"image_12012025_03_21_03_025963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317029","file1":"1328317026","file0":"1328317024","file3":"1328317032"},"map_files_photo_id_array":[{"photo_id":"1328317029","filename":"file2"},{"photo_id":"1328317026","filename":"file1"},{"photo_id":"1328317024","filename":"file0"},{"photo_id":"1328317032","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317032":["hashtag1","hashtag2"]},{"1328317029":["hashtag1","hashtag2"]},{"1328317026":["hashtag1","hashtag2"]},{"1328317024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317032, 1328317029, 1328317026, 1328317024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21543574333191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:23:02.860755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:23:22.200886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0003.jpg', '/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0000.jpg', '/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0001.jpg', '/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/22/image_12012025_03_22_02_555331_0003.jpg
/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0000.jpg
/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0001.jpg
/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317047","1328317044","1328317040","1328317042"],"photo_ids_order":["1328317040","1328317042","1328317044","1328317047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/987587e6b1904429e5fd86c3eff8ddc8.jpg","text":"TemporaryFile(/tmp/multipartBody6712737900151889834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648672479,"filename":"image_12012025_03_23_03_117432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/678d216f0c30743780dd74ef58fc0b26.jpg","text":"TemporaryFile(/tmp/multipartBody4941742238687909905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648672479,"filename":"image_12012025_03_23_03_117432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de0a70689c890dc3d194df605412919a.jpg","text":"TemporaryFile(/tmp/multipartBody7038586356469277535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648672479,"filename":"image_12012025_03_22_02_555331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91348ca41c88cff840ee9c662ee9b34b.jpg","text":"TemporaryFile(/tmp/multipartBody6475706923256287240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648672479,"filename":"image_12012025_03_23_03_117432_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317044","file1":"1328317042","file0":"1328317040","file3":"1328317047"},"map_files_photo_id_array":[{"photo_id":"1328317044","filename":"file2"},{"photo_id":"1328317042","filename":"file1"},{"photo_id":"1328317040","filename":"file0"},{"photo_id":"1328317047","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317047":["hashtag1","hashtag2"]},{"1328317044":["hashtag1","hashtag2"]},{"1328317040":["hashtag1","hashtag2"]},{"1328317042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317047, 1328317044, 1328317040, 1328317042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.03051829338074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:24:21.835051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0003.jpg', '/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0000.jpg', '/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0001.jpg', '/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/23/image_12012025_03_23_03_117432_0003.jpg
/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0000.jpg
/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0001.jpg
/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317074","1328317076","1328317052","1328317054"],"photo_ids_order":["1328317052","1328317054","1328317074","1328317076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf8c9ad693e86e6533012c8adf029f48.jpg","text":"TemporaryFile(/tmp/multipartBody4904676161580180724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648732195,"filename":"image_12012025_03_24_02_572139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/084c4a1eb61370c4d7bf21592c1817e4.jpg","text":"TemporaryFile(/tmp/multipartBody2176273790841070623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648732195,"filename":"image_12012025_03_24_02_572139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7e52f2a0c7668fdf14ce8f0966f6e69.jpg","text":"TemporaryFile(/tmp/multipartBody7669351622187179798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648732195,"filename":"image_12012025_03_23_03_117432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d0d5a2f4482c05bce46747f14fe0711.jpg","text":"TemporaryFile(/tmp/multipartBody3846402871085715021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648732195,"filename":"image_12012025_03_24_02_572139_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317074","file1":"1328317054","file0":"1328317052","file3":"1328317076"},"map_files_photo_id_array":[{"photo_id":"1328317074","filename":"file2"},{"photo_id":"1328317054","filename":"file1"},{"photo_id":"1328317052","filename":"file0"},{"photo_id":"1328317076","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317074":["hashtag1","hashtag2"]},{"1328317076":["hashtag1","hashtag2"]},{"1328317052":["hashtag1","hashtag2"]},{"1328317054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317074, 1328317076, 1328317052, 1328317054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2373948097229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:25:02.916877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:25:22.266888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0003.jpg', '/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0000.jpg', '/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0001.jpg', '/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/24/image_12012025_03_24_02_572139_0003.jpg
/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0000.jpg
/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0001.jpg
/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317175","1328317178","1328317180","1328317182"],"photo_ids_order":["1328317175","1328317178","1328317180","1328317182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9780c01991328d88e9f1feded88b9642.jpg","text":"TemporaryFile(/tmp/multipartBody2340147175493878603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648792624,"filename":"image_12012025_03_24_02_572139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e52dc98bc15afb00efb94a39fad7b712.jpg","text":"TemporaryFile(/tmp/multipartBody3712570151287499885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648792624,"filename":"image_12012025_03_25_02_224925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/254e7fd7bac0f363e20e96e32206e21a.jpg","text":"TemporaryFile(/tmp/multipartBody7205150069182032155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648792624,"filename":"image_12012025_03_25_02_224925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1fd0f83d62bb13e301744cbe31dce3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1439927847079343355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648792624,"filename":"image_12012025_03_25_02_224925_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317180","file1":"1328317178","file0":"1328317175","file3":"1328317182"},"map_files_photo_id_array":[{"photo_id":"1328317180","filename":"file2"},{"photo_id":"1328317178","filename":"file1"},{"photo_id":"1328317175","filename":"file0"},{"photo_id":"1328317182","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317175":["hashtag1","hashtag2"]},{"1328317178":["hashtag1","hashtag2"]},{"1328317180":["hashtag1","hashtag2"]},{"1328317182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317175, 1328317178, 1328317180, 1328317182)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.270702838897705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:26:22.006092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0003.jpg', '/home/pi/Desktop/images/12012025/03/26/image_12012025_03_26_02_662244_0000.jpg', '/home/pi/Desktop/images/12012025/03/26/image_12012025_03_26_02_662244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/25/image_12012025_03_25_02_224925_0003.jpg
/home/pi/Desktop/images/12012025/03/26/image_12012025_03_26_02_662244_0000.jpg
/home/pi/Desktop/images/12012025/03/26/image_12012025_03_26_02_662244_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317189","1328317188","1328317191"],"photo_ids_order":["1328317188","1328317189","1328317191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/933eeea69c5af397328b1410562c4b60.jpg","text":"TemporaryFile(/tmp/multipartBody6976771012389868884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648849920,"filename":"image_12012025_03_26_02_662244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75cf3a42b1cd547daf186f92f20e378e.jpg","text":"TemporaryFile(/tmp/multipartBody7699144015408860220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648849920,"filename":"image_12012025_03_25_02_224925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4eeacf0ad9e346b46cae539b6e5cd2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1168388552546104586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648849920,"filename":"image_12012025_03_26_02_662244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317191","file1":"1328317189","file0":"1328317188"},"map_files_photo_id_array":[{"photo_id":"1328317191","filename":"file2"},{"photo_id":"1328317189","filename":"file1"},{"photo_id":"1328317188","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317189":["hashtag1","hashtag2"]},{"1328317188":["hashtag1","hashtag2"]},{"1328317191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317189, 1328317188, 1328317191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.41544198989868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:27:03.107183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:27:22.415613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/26/image_12012025_03_26_02_662244_0003.jpg', '/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0000.jpg', '/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0001.jpg', '/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/26/image_12012025_03_26_02_662244_0003.jpg
/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0000.jpg
/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0001.jpg
/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317209","1328317247","1328317220","1328317204"],"photo_ids_order":["1328317204","1328317209","1328317220","1328317247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e7ee2c2f98c761cd4e375ddf7187ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3348821546889428758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648912665,"filename":"image_12012025_03_27_02_364197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abce5aa196a54595b4388dfbe706ffcf.jpg","text":"TemporaryFile(/tmp/multipartBody7322407743390746923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648912665,"filename":"image_12012025_03_27_02_364197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0aa84290518368d5fd4de833c59ac0a.jpg","text":"TemporaryFile(/tmp/multipartBody859450157164402347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648912665,"filename":"image_12012025_03_27_02_364197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0cbb9b0a9b64e0a72a91401b8a6fca1.jpg","text":"TemporaryFile(/tmp/multipartBody5889960861634271231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736648912665,"filename":"image_12012025_03_26_02_662244_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317220","file1":"1328317209","file0":"1328317204","file3":"1328317247"},"map_files_photo_id_array":[{"photo_id":"1328317220","filename":"file2"},{"photo_id":"1328317209","filename":"file1"},{"photo_id":"1328317204","filename":"file0"},{"photo_id":"1328317247","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317209":["hashtag1","hashtag2"]},{"1328317247":["hashtag1","hashtag2"]},{"1328317220":["hashtag1","hashtag2"]},{"1328317204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317209, 1328317247, 1328317220, 1328317204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.090415477752686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:28:02.514910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:28:22.047798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0003.jpg', '/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0000.jpg', '/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0001.jpg', '/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0003.jpg
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0000.jpg
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0001.jpg
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.892036199569702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:29:03.325714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0003.jpg', '/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0000.jpg', '/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0001.jpg', '/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/27/image_12012025_03_27_02_364197_0003.jpg
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0000.jpg
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0001.jpg
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328317314","1328317292","1328317289","1328317296"],"photo_ids_order":["1328317289","1328317292","1328317296","1328317314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b448b9b7aa43286437bc54c52d562f42.jpg","text":"TemporaryFile(/tmp/multipartBody672800655077911677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649013676,"filename":"image_12012025_03_28_02_820599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43c6e5c7457743151022d80502b8b22b.jpg","text":"TemporaryFile(/tmp/multipartBody2206502241355048675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649013676,"filename":"image_12012025_03_28_02_820599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abe1d69ec23ba585e025c30ac684a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody6650049481366266569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649013676,"filename":"image_12012025_03_27_02_364197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2274f4595ffde04c00733eb750a46bb.jpg","text":"TemporaryFile(/tmp/multipartBody4839702397436702407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649013676,"filename":"image_12012025_03_28_02_820599_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328317296","file1":"1328317292","file0":"1328317289","file3":"1328317314"},"map_files_photo_id_array":[{"photo_id":"1328317296","filename":"file2"},{"photo_id":"1328317292","filename":"file1"},{"photo_id":"1328317289","filename":"file0"},{"photo_id":"1328317314","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328317314":["hashtag1","hashtag2"]},{"1328317292":["hashtag1","hashtag2"]},{"1328317289":["hashtag1","hashtag2"]},{"1328317296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328317314, 1328317292, 1328317289, 1328317296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.70909261703491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:30:02.935520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0003.jpg', '/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0000.jpg', '/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0001.jpg', '/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/28/image_12012025_03_28_02_820599_0003.jpg
/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0000.jpg
/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0001.jpg
/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328318380","1328318374","1328318382","1328318376"],"photo_ids_order":["1328318374","1328318376","1328318380","1328318382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/525cb7d3698dd2eeabee360a5db9febc.jpg","text":"TemporaryFile(/tmp/multipartBody2884669791546250590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649073020,"filename":"image_12012025_03_29_02_489784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/644debf232040bb523cfd6b50c4ea934.jpg","text":"TemporaryFile(/tmp/multipartBody4508356684847999686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649073020,"filename":"image_12012025_03_28_02_820599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b651ac1a7af3a48e508968c41da0993.jpg","text":"TemporaryFile(/tmp/multipartBody4439511247100833725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649073020,"filename":"image_12012025_03_29_02_489784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6734209b5785043f21b9685982f6521c.jpg","text":"TemporaryFile(/tmp/multipartBody6345208379680526043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649073020,"filename":"image_12012025_03_29_02_489784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328318380","file1":"1328318376","file0":"1328318374","file3":"1328318382"},"map_files_photo_id_array":[{"photo_id":"1328318380","filename":"file2"},{"photo_id":"1328318376","filename":"file1"},{"photo_id":"1328318374","filename":"file0"},{"photo_id":"1328318382","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328318380":["hashtag1","hashtag2"]},{"1328318374":["hashtag1","hashtag2"]},{"1328318382":["hashtag1","hashtag2"]},{"1328318376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328318380, 1328318374, 1328318382, 1328318376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.692363262176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:31:02.601497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0003.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0000.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0001.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0003.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0000.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0001.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.834148168563843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:31:21.964838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0003.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0000.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0001.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0002.jpg', '/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0003.jpg', '/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/29/image_12012025_03_29_02_489784_0003.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0000.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0001.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0002.jpg
/home/pi/Desktop/images/12012025/03/30/image_12012025_03_30_03_096351_0003.jpg
/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328318794","1328318801","1328318791","1328318803","1328318805","1328318798"],"photo_ids_order":["1328318791","1328318794","1328318798","1328318801","1328318803","1328318805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47c52fe1960c514c9392bb945428b8c2.jpg","text":"TemporaryFile(/tmp/multipartBody2467052928310935741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649156931,"filename":"image_12012025_03_30_03_096351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9198e200dc26eee2c7db178cd4afc833.jpg","text":"TemporaryFile(/tmp/multipartBody3286927031325502921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649156931,"filename":"image_12012025_03_30_03_096351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f80507058bcd4785cfa1686a2034ead.jpg","text":"TemporaryFile(/tmp/multipartBody3117891498492811345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649156931,"filename":"image_12012025_03_29_02_489784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af1eabd624d6de4c7c9540a79de6b499.jpg","text":"TemporaryFile(/tmp/multipartBody357348168849057482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649156931,"filename":"image_12012025_03_30_03_096351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e00fc2120af77b5e323a8dfeb618b3a.jpg","text":"TemporaryFile(/tmp/multipartBody675674204554193307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649156931,"filename":"image_12012025_03_31_02_855816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c752763e6f45dd7aa660c2b299159c55.jpg","text":"TemporaryFile(/tmp/multipartBody7037237084859721338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649156931,"filename":"image_12012025_03_30_03_096351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328318798","file1":"1328318794","file0":"1328318791","file4":"1328318803","file5":"1328318805","file3":"1328318801"},"map_files_photo_id_array":[{"photo_id":"1328318805","filename":"file5"},{"photo_id":"1328318798","filename":"file2"},{"photo_id":"1328318803","filename":"file4"},{"photo_id":"1328318794","filename":"file1"},{"photo_id":"1328318791","filename":"file0"},{"photo_id":"1328318801","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328318794":["hashtag1","hashtag2"]},{"1328318801":["hashtag1","hashtag2"]},{"1328318791":["hashtag1","hashtag2"]},{"1328318803":["hashtag1","hashtag2"]},{"1328318805":["hashtag1","hashtag2"]},{"1328318798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328318794, 1328318801, 1328318791, 1328318803, 1328318805, 1328318798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73244380950928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:32:22.687720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0001.jpg', '/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0002.jpg', '/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0003.jpg', '/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0000.jpg', '/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0001.jpg', '/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0001.jpg
/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0002.jpg
/home/pi/Desktop/images/12012025/03/31/image_12012025_03_31_02_855816_0003.jpg
/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0000.jpg
/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0001.jpg
/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_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":["1328318816","1328318819","1328318810","1328319448","1328318813","1328319000"],"photo_ids_order":["1328318810","1328318813","1328318816","1328318819","1328319000","1328319448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e9abba78a1230efecd32b9ee52132f4.jpg","text":"TemporaryFile(/tmp/multipartBody660822632926453558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649217681,"filename":"image_12012025_03_31_02_855816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1acc4ce8585b7476c2848a9906b3fc4.jpg","text":"TemporaryFile(/tmp/multipartBody404518850903051611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649217681,"filename":"image_12012025_03_32_02_366183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/388c06a66e2044159e7a68e30fd1b022.jpg","text":"TemporaryFile(/tmp/multipartBody2365936642436144066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649217681,"filename":"image_12012025_03_31_02_855816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/983120015d0d24e693312661e23175df.jpg","text":"TemporaryFile(/tmp/multipartBody5158477084569923150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649217681,"filename":"image_12012025_03_32_02_366183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/055033679cc768f999123b19f296e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody1624531908573739032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649217681,"filename":"image_12012025_03_31_02_855816_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf92a44c0eba6cbc90a84df20531ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody8586048206652282846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649217681,"filename":"image_12012025_03_32_02_366183_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328318816","file1":"1328318813","file0":"1328318810","file4":"1328319000","file5":"1328319448","file3":"1328318819"},"map_files_photo_id_array":[{"photo_id":"1328319448","filename":"file5"},{"photo_id":"1328318816","filename":"file2"},{"photo_id":"1328319000","filename":"file4"},{"photo_id":"1328318813","filename":"file1"},{"photo_id":"1328318810","filename":"file0"},{"photo_id":"1328318819","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328318816":["hashtag1","hashtag2"]},{"1328318819":["hashtag1","hashtag2"]},{"1328318810":["hashtag1","hashtag2"]},{"1328319448":["hashtag1","hashtag2"]},{"1328318813":["hashtag1","hashtag2"]},{"1328319000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328318816, 1328318819, 1328318810, 1328319448, 1328318813, 1328319000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.38051700592041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:34:03.179554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0003.jpg', '/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0000.jpg', '/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0001.jpg', '/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/32/image_12012025_03_32_02_366183_0003.jpg
/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0000.jpg
/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0001.jpg
/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328319607","1328319519","1328319881","1328319839"],"photo_ids_order":["1328319519","1328319607","1328319839","1328319881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1556f0f6f42d967d2e691f0db121a97f.jpg","text":"TemporaryFile(/tmp/multipartBody7666888961238881613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649313523,"filename":"image_12012025_03_33_03_020061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f156ac0b833d4500830d40dfc8e7960.jpg","text":"TemporaryFile(/tmp/multipartBody2841849685830397191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649313523,"filename":"image_12012025_03_32_02_366183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/721a27d69b83668458abe30303e464f2.jpg","text":"TemporaryFile(/tmp/multipartBody5969871950139670645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649313523,"filename":"image_12012025_03_33_03_020061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3646a6f8f42cfa248a5ab24008c7a473.jpg","text":"TemporaryFile(/tmp/multipartBody3451856293817045737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649313523,"filename":"image_12012025_03_33_03_020061_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328319839","file1":"1328319607","file0":"1328319519","file3":"1328319881"},"map_files_photo_id_array":[{"photo_id":"1328319839","filename":"file2"},{"photo_id":"1328319607","filename":"file1"},{"photo_id":"1328319519","filename":"file0"},{"photo_id":"1328319881","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328319607":["hashtag1","hashtag2"]},{"1328319519":["hashtag1","hashtag2"]},{"1328319881":["hashtag1","hashtag2"]},{"1328319839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328319607, 1328319519, 1328319881, 1328319839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53392219543457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:35:02.774498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0003.jpg', '/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0000.jpg', '/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0001.jpg', '/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/33/image_12012025_03_33_03_020061_0003.jpg
/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0000.jpg
/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0001.jpg
/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328319947","1328319949","1328319946","1328319951"],"photo_ids_order":["1328319946","1328319947","1328319949","1328319951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a5aa23f510dbfc8bf001ea734633347a.jpg","text":"TemporaryFile(/tmp/multipartBody2389473724859559291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649372991,"filename":"image_12012025_03_34_02_566173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9760b091d1c4aef51fe5645a1cbf37ce.jpg","text":"TemporaryFile(/tmp/multipartBody3748061984999213740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649372991,"filename":"image_12012025_03_34_02_566173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e8798fd5396615d1d543420949ea616.jpg","text":"TemporaryFile(/tmp/multipartBody7155871627323659980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649372991,"filename":"image_12012025_03_33_03_020061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b525b18e57e2bcf977f7c559ef691bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8887596195940624540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649372991,"filename":"image_12012025_03_34_02_566173_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328319949","file1":"1328319947","file0":"1328319946","file3":"1328319951"},"map_files_photo_id_array":[{"photo_id":"1328319949","filename":"file2"},{"photo_id":"1328319947","filename":"file1"},{"photo_id":"1328319946","filename":"file0"},{"photo_id":"1328319951","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328319947":["hashtag1","hashtag2"]},{"1328319949":["hashtag1","hashtag2"]},{"1328319946":["hashtag1","hashtag2"]},{"1328319951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328319947, 1328319949, 1328319946, 1328319951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.794575214385986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:36:02.417091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0003.jpg', '/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0000.jpg', '/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0001.jpg', '/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/34/image_12012025_03_34_02_566173_0003.jpg
/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0000.jpg
/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0001.jpg
/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328319979","1328319981","1328319978","1328319983"],"photo_ids_order":["1328319978","1328319979","1328319981","1328319983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6c58f878f556e1c092ffc5667439ac9.jpg","text":"TemporaryFile(/tmp/multipartBody350972566411981144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649432659,"filename":"image_12012025_03_35_03_092521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8c4199d0395807c0962906a58b49b23.jpg","text":"TemporaryFile(/tmp/multipartBody1439596674300199927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649432659,"filename":"image_12012025_03_35_03_092521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d33392e447af9920969cf096cf4c9590.jpg","text":"TemporaryFile(/tmp/multipartBody89352770660289349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649432659,"filename":"image_12012025_03_34_02_566173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3086ea293ed3178bf7d337860ed681e.jpg","text":"TemporaryFile(/tmp/multipartBody9212072512645866889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649432659,"filename":"image_12012025_03_35_03_092521_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328319981","file1":"1328319979","file0":"1328319978","file3":"1328319983"},"map_files_photo_id_array":[{"photo_id":"1328319981","filename":"file2"},{"photo_id":"1328319979","filename":"file1"},{"photo_id":"1328319978","filename":"file0"},{"photo_id":"1328319983","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328319979":["hashtag1","hashtag2"]},{"1328319981":["hashtag1","hashtag2"]},{"1328319978":["hashtag1","hashtag2"]},{"1328319983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328319979, 1328319981, 1328319978, 1328319983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06433582305908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:37:03.083571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0003.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0000.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0001.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0003.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0000.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0001.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.94549298286438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:37:22.388526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0003.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0000.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0001.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0002.jpg', '/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0003.jpg', '/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/35/image_12012025_03_35_03_092521_0003.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0000.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0001.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0002.jpg
/home/pi/Desktop/images/12012025/03/36/image_12012025_03_36_02_619448_0003.jpg
/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320193","1328320183","1328320195","1328320188","1328320197","1328320200"],"photo_ids_order":["1328320183","1328320188","1328320193","1328320195","1328320197","1328320200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed3e9e7cba0d0ae2a09c2154a34a9266.jpg","text":"TemporaryFile(/tmp/multipartBody7514727551286460781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649517572,"filename":"image_12012025_03_36_02_619448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3292b0a50459c716af5df6e1da141b3.jpg","text":"TemporaryFile(/tmp/multipartBody4548231744814855184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649517572,"filename":"image_12012025_03_35_03_092521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a93e7aa5e9c841d3d2c1f97e4dbd841c.jpg","text":"TemporaryFile(/tmp/multipartBody3033149063173171791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649517572,"filename":"image_12012025_03_36_02_619448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50909ef1a88bbbea5b5e42034b88fe39.jpg","text":"TemporaryFile(/tmp/multipartBody7090778829635397383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649517572,"filename":"image_12012025_03_36_02_619448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1955593eeea96304e994ef8a9c9bd64.jpg","text":"TemporaryFile(/tmp/multipartBody535683816853749241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649517572,"filename":"image_12012025_03_36_02_619448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98cfa5e8ad43c7b24b4ae122daf52990.jpg","text":"TemporaryFile(/tmp/multipartBody4209845974222920069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649517572,"filename":"image_12012025_03_37_02_292482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320193","file1":"1328320188","file0":"1328320183","file4":"1328320197","file5":"1328320200","file3":"1328320195"},"map_files_photo_id_array":[{"photo_id":"1328320200","filename":"file5"},{"photo_id":"1328320193","filename":"file2"},{"photo_id":"1328320197","filename":"file4"},{"photo_id":"1328320188","filename":"file1"},{"photo_id":"1328320183","filename":"file0"},{"photo_id":"1328320195","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320193":["hashtag1","hashtag2"]},{"1328320183":["hashtag1","hashtag2"]},{"1328320195":["hashtag1","hashtag2"]},{"1328320188":["hashtag1","hashtag2"]},{"1328320197":["hashtag1","hashtag2"]},{"1328320200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320193, 1328320183, 1328320195, 1328320188, 1328320197, 1328320200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.981168270111084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:38:22.024501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0001.jpg', '/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0002.jpg', '/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0003.jpg', '/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0000.jpg', '/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0001.jpg', '/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0001.jpg
/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0002.jpg
/home/pi/Desktop/images/12012025/03/37/image_12012025_03_37_02_292482_0003.jpg
/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0000.jpg
/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0001.jpg
/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320235","1328320250","1328320244","1328320247","1328320252","1328320240"],"photo_ids_order":["1328320235","1328320240","1328320244","1328320247","1328320250","1328320252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b7fec4a9d603f3b654265c04a477416.jpg","text":"TemporaryFile(/tmp/multipartBody2590404733325240312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649577105,"filename":"image_12012025_03_37_02_292482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f09d760496c2aa0fba745188b40e5369.jpg","text":"TemporaryFile(/tmp/multipartBody81606886145729924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649577105,"filename":"image_12012025_03_38_02_806068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/025d7446e743dfe13ce34c1885789606.jpg","text":"TemporaryFile(/tmp/multipartBody491467228544245205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649577105,"filename":"image_12012025_03_37_02_292482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97952b0bf5cf0c51430722dde531b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody1584591788122789845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649577105,"filename":"image_12012025_03_38_02_806068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a22d41ae87b5b07e1b295c2b502c1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8096977241427869289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649577105,"filename":"image_12012025_03_38_02_806068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91a5418ef0964e68961a979f055784a3.jpg","text":"TemporaryFile(/tmp/multipartBody90493629868359165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649577105,"filename":"image_12012025_03_37_02_292482_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320244","file1":"1328320240","file0":"1328320235","file4":"1328320250","file5":"1328320252","file3":"1328320247"},"map_files_photo_id_array":[{"photo_id":"1328320252","filename":"file5"},{"photo_id":"1328320244","filename":"file2"},{"photo_id":"1328320250","filename":"file4"},{"photo_id":"1328320240","filename":"file1"},{"photo_id":"1328320235","filename":"file0"},{"photo_id":"1328320247","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320235":["hashtag1","hashtag2"]},{"1328320250":["hashtag1","hashtag2"]},{"1328320244":["hashtag1","hashtag2"]},{"1328320247":["hashtag1","hashtag2"]},{"1328320252":["hashtag1","hashtag2"]},{"1328320240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320235, 1328320250, 1328320244, 1328320247, 1328320252, 1328320240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11814212799072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:39:21.927486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0003.jpg', '/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0000.jpg', '/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0001.jpg', '/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/38/image_12012025_03_38_02_806068_0003.jpg
/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0000.jpg
/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0001.jpg
/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320264","1328320261","1328320258","1328320266"],"photo_ids_order":["1328320258","1328320261","1328320264","1328320266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee98fad749e5cc6e7302c549ff6ae548.jpg","text":"TemporaryFile(/tmp/multipartBody6222868593853387783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649632232,"filename":"image_12012025_03_39_02_374085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d544848a83af8814f6be7219aea6482.jpg","text":"TemporaryFile(/tmp/multipartBody7938648583595643266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649632232,"filename":"image_12012025_03_39_02_374085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ccd7f305f476b1dd0df970ed8efa9a87.jpg","text":"TemporaryFile(/tmp/multipartBody7681525379092512137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649632232,"filename":"image_12012025_03_38_02_806068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4901db012ab6dba6f88349f18ac86426.jpg","text":"TemporaryFile(/tmp/multipartBody7445935741573824187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649632232,"filename":"image_12012025_03_39_02_374085_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320264","file1":"1328320261","file0":"1328320258","file3":"1328320266"},"map_files_photo_id_array":[{"photo_id":"1328320264","filename":"file2"},{"photo_id":"1328320261","filename":"file1"},{"photo_id":"1328320258","filename":"file0"},{"photo_id":"1328320266","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320264":["hashtag1","hashtag2"]},{"1328320261":["hashtag1","hashtag2"]},{"1328320258":["hashtag1","hashtag2"]},{"1328320266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320264, 1328320261, 1328320258, 1328320266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44700479507446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:40:02.693716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:40:22.382230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0003.jpg', '/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0000.jpg', '/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0001.jpg', '/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/39/image_12012025_03_39_02_374085_0003.jpg
/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0000.jpg
/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0001.jpg
/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320286","1328320282","1328320275","1328320278"],"photo_ids_order":["1328320275","1328320278","1328320282","1328320286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82fa60fa8e86caef302e9211489a5fed.jpg","text":"TemporaryFile(/tmp/multipartBody5717150259355408739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649692590,"filename":"image_12012025_03_40_02_273441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32844cd7495ce576923cd4c243b7fdb3.jpg","text":"TemporaryFile(/tmp/multipartBody1369731577831916133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649692590,"filename":"image_12012025_03_40_02_273441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1827c9cbad1e5b870e4ca4582d45256b.jpg","text":"TemporaryFile(/tmp/multipartBody3698433606674115942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649692590,"filename":"image_12012025_03_39_02_374085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b4185c00113e0dec95803eee25ba2c3.jpg","text":"TemporaryFile(/tmp/multipartBody6743436687173750708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649692590,"filename":"image_12012025_03_40_02_273441_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320282","file1":"1328320278","file0":"1328320275","file3":"1328320286"},"map_files_photo_id_array":[{"photo_id":"1328320282","filename":"file2"},{"photo_id":"1328320278","filename":"file1"},{"photo_id":"1328320275","filename":"file0"},{"photo_id":"1328320286","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320286":["hashtag1","hashtag2"]},{"1328320282":["hashtag1","hashtag2"]},{"1328320275":["hashtag1","hashtag2"]},{"1328320278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320286, 1328320282, 1328320275, 1328320278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99595665931702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:41:21.878405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0003.jpg', '/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0000.jpg', '/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0001.jpg', '/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/40/image_12012025_03_40_02_273441_0003.jpg
/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0000.jpg
/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0001.jpg
/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320302","1328320295","1328320300","1328320298"],"photo_ids_order":["1328320295","1328320298","1328320300","1328320302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b50f102e2a3f7561deb519c98dd8a48.jpg","text":"TemporaryFile(/tmp/multipartBody7588363651339199644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649751970,"filename":"image_12012025_03_41_02_738717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e0fca1efae2a173617f3959013860057.jpg","text":"TemporaryFile(/tmp/multipartBody1680668074540013373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649751970,"filename":"image_12012025_03_40_02_273441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/517b64e7e287f26ce3c617ab7875bea4.jpg","text":"TemporaryFile(/tmp/multipartBody1851950532945252381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649751970,"filename":"image_12012025_03_41_02_738717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c55082503df2bfcf8cb51384725977ee.jpg","text":"TemporaryFile(/tmp/multipartBody1503082035404120720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649751970,"filename":"image_12012025_03_41_02_738717_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320300","file1":"1328320298","file0":"1328320295","file3":"1328320302"},"map_files_photo_id_array":[{"photo_id":"1328320300","filename":"file2"},{"photo_id":"1328320298","filename":"file1"},{"photo_id":"1328320295","filename":"file0"},{"photo_id":"1328320302","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320302":["hashtag1","hashtag2"]},{"1328320295":["hashtag1","hashtag2"]},{"1328320300":["hashtag1","hashtag2"]},{"1328320298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320302, 1328320295, 1328320300, 1328320298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36679697036743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:42:02.805409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:42:22.469471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0003.jpg', '/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0000.jpg', '/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0001.jpg', '/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0003.jpg
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0000.jpg
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0001.jpg
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.766995191574097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:43:02.416639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0003.jpg', '/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0000.jpg', '/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0001.jpg', '/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/41/image_12012025_03_41_02_738717_0003.jpg
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0000.jpg
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0001.jpg
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320391","1328320379","1328320419","1328320407"],"photo_ids_order":["1328320379","1328320391","1328320407","1328320419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a34a8d9ec5162d35bba065e7cd8a2b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5478691745670080632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649852667,"filename":"image_12012025_03_42_02_239315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7754c9bce3b1c5736eef415c0e2ff1c9.jpg","text":"TemporaryFile(/tmp/multipartBody1350411800290846741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649852667,"filename":"image_12012025_03_41_02_738717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5db36efb350ffd5657aa017741092dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7812728014364463565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649852667,"filename":"image_12012025_03_42_02_239315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd6897864902fe1a685fd795e5e77335.jpg","text":"TemporaryFile(/tmp/multipartBody1642990795227828406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649852667,"filename":"image_12012025_03_42_02_239315_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320407","file1":"1328320391","file0":"1328320379","file3":"1328320419"},"map_files_photo_id_array":[{"photo_id":"1328320407","filename":"file2"},{"photo_id":"1328320391","filename":"file1"},{"photo_id":"1328320379","filename":"file0"},{"photo_id":"1328320419","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320391":["hashtag1","hashtag2"]},{"1328320379":["hashtag1","hashtag2"]},{"1328320419":["hashtag1","hashtag2"]},{"1328320407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320391, 1328320379, 1328320419, 1328320407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62303900718689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:44:02.826337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0003.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0000.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0001.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0003.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0000.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0001.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.797219276428223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:44:22.449776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0003.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0000.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0001.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0002.jpg', '/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0003.jpg', '/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/42/image_12012025_03_42_02_239315_0003.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0000.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0001.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0002.jpg
/home/pi/Desktop/images/12012025/03/43/image_12012025_03_43_02_758147_0003.jpg
/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320500","1328320490","1328320493","1328320492","1328320495","1328320497"],"photo_ids_order":["1328320490","1328320492","1328320493","1328320495","1328320497","1328320500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20796426158fe2372b266063a8820f7c.jpg","text":"TemporaryFile(/tmp/multipartBody9215200813608776732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649937475,"filename":"image_12012025_03_44_02_236961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e53d845ebbfc6c5cd9c6a7bb6b2b89d.jpg","text":"TemporaryFile(/tmp/multipartBody4908856103727889129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649937475,"filename":"image_12012025_03_42_02_239315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa89da48b5a260ccf7038f1f96259773.jpg","text":"TemporaryFile(/tmp/multipartBody90756481490926229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649937475,"filename":"image_12012025_03_43_02_758147_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66f15a63ec70fee202f730057b134728.jpg","text":"TemporaryFile(/tmp/multipartBody1453086912056255003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649937475,"filename":"image_12012025_03_43_02_758147_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6955e5ef238e8c280ae196f3a1fb9fae.jpg","text":"TemporaryFile(/tmp/multipartBody7189713157026979809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649937475,"filename":"image_12012025_03_43_02_758147_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cffe89c2bc40d5e7e96c14700aa4c1ff.jpg","text":"TemporaryFile(/tmp/multipartBody1488716407776809957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649937475,"filename":"image_12012025_03_43_02_758147_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320493","file1":"1328320492","file0":"1328320490","file4":"1328320497","file5":"1328320500","file3":"1328320495"},"map_files_photo_id_array":[{"photo_id":"1328320500","filename":"file5"},{"photo_id":"1328320493","filename":"file2"},{"photo_id":"1328320497","filename":"file4"},{"photo_id":"1328320492","filename":"file1"},{"photo_id":"1328320490","filename":"file0"},{"photo_id":"1328320495","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320500":["hashtag1","hashtag2"]},{"1328320490":["hashtag1","hashtag2"]},{"1328320493":["hashtag1","hashtag2"]},{"1328320492":["hashtag1","hashtag2"]},{"1328320495":["hashtag1","hashtag2"]},{"1328320497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320500, 1328320490, 1328320493, 1328320492, 1328320495, 1328320497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.76107668876648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:45:21.992580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0001.jpg', '/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0002.jpg', '/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0003.jpg', '/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0000.jpg', '/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0001.jpg', '/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0001.jpg
/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0002.jpg
/home/pi/Desktop/images/12012025/03/44/image_12012025_03_44_02_236961_0003.jpg
/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0000.jpg
/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0001.jpg
/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320515","1328320520","1328320511","1328320524","1328320527","1328320506"],"photo_ids_order":["1328320506","1328320511","1328320515","1328320520","1328320524","1328320527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96caa80eed054fbca541117fb45cc082.jpg","text":"TemporaryFile(/tmp/multipartBody5311583573037913659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649997070,"filename":"image_12012025_03_44_02_236961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/025f29f9e4564b5dca2e8dec01f9f4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6240257151505638335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649997070,"filename":"image_12012025_03_45_02_905198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d5193bab6c61618adc83eda669d9376b.jpg","text":"TemporaryFile(/tmp/multipartBody7394003014404324686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649997070,"filename":"image_12012025_03_44_02_236961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/afd3164d51f07df11c9bc06fdf9b1373.jpg","text":"TemporaryFile(/tmp/multipartBody1279336199104385494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649997070,"filename":"image_12012025_03_45_02_905198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00385a4b53bdafd38d9bb9cf22b44276.jpg","text":"TemporaryFile(/tmp/multipartBody8253600070925940844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649997070,"filename":"image_12012025_03_45_02_905198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e79352742f4ce8f46c4b617061ebfdf.jpg","text":"TemporaryFile(/tmp/multipartBody7960464903786964487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736649997070,"filename":"image_12012025_03_44_02_236961_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320515","file1":"1328320511","file0":"1328320506","file4":"1328320524","file5":"1328320527","file3":"1328320520"},"map_files_photo_id_array":[{"photo_id":"1328320527","filename":"file5"},{"photo_id":"1328320515","filename":"file2"},{"photo_id":"1328320524","filename":"file4"},{"photo_id":"1328320511","filename":"file1"},{"photo_id":"1328320506","filename":"file0"},{"photo_id":"1328320520","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320515":["hashtag1","hashtag2"]},{"1328320520":["hashtag1","hashtag2"]},{"1328320511":["hashtag1","hashtag2"]},{"1328320524":["hashtag1","hashtag2"]},{"1328320527":["hashtag1","hashtag2"]},{"1328320506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320515, 1328320520, 1328320511, 1328320524, 1328320527, 1328320506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.193084716796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:46:22.570133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0003.jpg', '/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0000.jpg', '/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0001.jpg', '/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/45/image_12012025_03_45_02_905198_0003.jpg
/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0000.jpg
/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0001.jpg
/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320537","1328320531","1328320540","1328320534"],"photo_ids_order":["1328320531","1328320534","1328320537","1328320540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ff2caad31b0c1246ebd776456dbcccc.jpg","text":"TemporaryFile(/tmp/multipartBody3080934684984557323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650052656,"filename":"image_12012025_03_46_02_450531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3dfa77aa24017b9c23b2de484785595a.jpg","text":"TemporaryFile(/tmp/multipartBody4714019857755421749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650052656,"filename":"image_12012025_03_45_02_905198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f492a2ee013a59e32a4fd375fea9f18e.jpg","text":"TemporaryFile(/tmp/multipartBody8876980926921041742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650052656,"filename":"image_12012025_03_46_02_450531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1dd4dac0132a795f7796315d5cede2c.jpg","text":"TemporaryFile(/tmp/multipartBody9112361997750556931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650052656,"filename":"image_12012025_03_46_02_450531_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320537","file1":"1328320534","file0":"1328320531","file3":"1328320540"},"map_files_photo_id_array":[{"photo_id":"1328320537","filename":"file2"},{"photo_id":"1328320534","filename":"file1"},{"photo_id":"1328320531","filename":"file0"},{"photo_id":"1328320540","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320537":["hashtag1","hashtag2"]},{"1328320531":["hashtag1","hashtag2"]},{"1328320540":["hashtag1","hashtag2"]},{"1328320534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320537, 1328320531, 1328320540, 1328320534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.777239084243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:47:02.718992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:47:22.087412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0003.jpg', '/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0000.jpg', '/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0001.jpg', '/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/46/image_12012025_03_46_02_450531_0003.jpg
/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0000.jpg
/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0001.jpg
/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320555","1328320558","1328320552","1328320549"],"photo_ids_order":["1328320549","1328320552","1328320555","1328320558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/679e1b94ec15841dd6f663f0994ec52c.jpg","text":"TemporaryFile(/tmp/multipartBody7698728898301370613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650112237,"filename":"image_12012025_03_47_02_986636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/564f110fa0c54d04e7c71e88458f7e77.jpg","text":"TemporaryFile(/tmp/multipartBody9068864742084391529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650112237,"filename":"image_12012025_03_47_02_986636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0041109acc2c7769e60f4aa6891dbc32.jpg","text":"TemporaryFile(/tmp/multipartBody2930509449249926445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650112237,"filename":"image_12012025_03_47_02_986636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e04d59a288705c487f27a0b9735b019.jpg","text":"TemporaryFile(/tmp/multipartBody6956941456455102811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650112237,"filename":"image_12012025_03_46_02_450531_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320555","file1":"1328320552","file0":"1328320549","file3":"1328320558"},"map_files_photo_id_array":[{"photo_id":"1328320555","filename":"file2"},{"photo_id":"1328320552","filename":"file1"},{"photo_id":"1328320549","filename":"file0"},{"photo_id":"1328320558","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320555":["hashtag1","hashtag2"]},{"1328320558":["hashtag1","hashtag2"]},{"1328320552":["hashtag1","hashtag2"]},{"1328320549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320555, 1328320558, 1328320552, 1328320549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8387188911438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:48:21.777703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0003.jpg', '/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0000.jpg', '/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0001.jpg', '/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/47/image_12012025_03_47_02_986636_0003.jpg
/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0000.jpg
/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0001.jpg
/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328320567","1328320581","1328320563","1328320605"],"photo_ids_order":["1328320563","1328320567","1328320581","1328320605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba68e63e6dd96a5ee59d006c6779c178.jpg","text":"TemporaryFile(/tmp/multipartBody3849244609941864923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650171960,"filename":"image_12012025_03_48_02_510348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b4269d98354ff2da586379caed0a917.jpg","text":"TemporaryFile(/tmp/multipartBody7181932895628394820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650171960,"filename":"image_12012025_03_48_02_510348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11d430e805b0f19bb71444b2b4a2e950.jpg","text":"TemporaryFile(/tmp/multipartBody2138766441513507480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650171960,"filename":"image_12012025_03_47_02_986636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ddf46d9968f033109f4211fdf8395b3.jpg","text":"TemporaryFile(/tmp/multipartBody4164441351999204056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650171960,"filename":"image_12012025_03_48_02_510348_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328320581","file1":"1328320567","file0":"1328320563","file3":"1328320605"},"map_files_photo_id_array":[{"photo_id":"1328320581","filename":"file2"},{"photo_id":"1328320567","filename":"file1"},{"photo_id":"1328320563","filename":"file0"},{"photo_id":"1328320605","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328320567":["hashtag1","hashtag2"]},{"1328320581":["hashtag1","hashtag2"]},{"1328320563":["hashtag1","hashtag2"]},{"1328320605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328320567, 1328320581, 1328320563, 1328320605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89806079864502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:49:02.922704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:49:22.294890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0003.jpg', '/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0000.jpg', '/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0001.jpg', '/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/48/image_12012025_03_48_02_510348_0003.jpg
/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0000.jpg
/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0001.jpg
/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328321500","1328321492","1328321495","1328321498"],"photo_ids_order":["1328321492","1328321495","1328321498","1328321500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a67e37328cb1b8a99d5f6215abbbf448.jpg","text":"TemporaryFile(/tmp/multipartBody2925332850790059690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650232574,"filename":"image_12012025_03_49_02_208093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6da2dfa9884a8b8673405040944ceda.jpg","text":"TemporaryFile(/tmp/multipartBody1593578308943874292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650232574,"filename":"image_12012025_03_48_02_510348_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82f5fff90055625cd8b4ffa8e3b0cd5b.jpg","text":"TemporaryFile(/tmp/multipartBody6068674852152178337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650232574,"filename":"image_12012025_03_49_02_208093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45de62b2388dde62dcd0e9d5d4062a26.jpg","text":"TemporaryFile(/tmp/multipartBody1926021284624900490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650232574,"filename":"image_12012025_03_49_02_208093_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328321498","file1":"1328321495","file0":"1328321492","file3":"1328321500"},"map_files_photo_id_array":[{"photo_id":"1328321498","filename":"file2"},{"photo_id":"1328321495","filename":"file1"},{"photo_id":"1328321492","filename":"file0"},{"photo_id":"1328321500","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328321500":["hashtag1","hashtag2"]},{"1328321492":["hashtag1","hashtag2"]},{"1328321495":["hashtag1","hashtag2"]},{"1328321498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328321500, 1328321492, 1328321495, 1328321498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.1303551197052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:50:02.289678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:50:21.832560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0003.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0000.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0001.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0003.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0000.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0001.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.96660590171814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:51:03.007666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0003.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0000.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0001.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/49/image_12012025_03_49_02_208093_0003.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0000.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0001.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328322121","1328322069","1328322149","1328322137"],"photo_ids_order":["1328322069","1328322121","1328322137","1328322149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c79e428e042203dfb1c5f4ba4c825ec0.jpg","text":"TemporaryFile(/tmp/multipartBody4288011349474207639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650333413,"filename":"image_12012025_03_50_02_735095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05d3dbef4d26252d9438862090ffb12b.jpg","text":"TemporaryFile(/tmp/multipartBody6208898882561688455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650333413,"filename":"image_12012025_03_49_02_208093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76a0fa64d4f4dc0a3144f01d07bc7956.jpg","text":"TemporaryFile(/tmp/multipartBody4199195918312933408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650333413,"filename":"image_12012025_03_50_02_735095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f95ea7f7022104561c7f862e3dc1dd90.jpg","text":"TemporaryFile(/tmp/multipartBody1105656584724776392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650333413,"filename":"image_12012025_03_50_02_735095_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328322137","file1":"1328322121","file0":"1328322069","file3":"1328322149"},"map_files_photo_id_array":[{"photo_id":"1328322137","filename":"file2"},{"photo_id":"1328322121","filename":"file1"},{"photo_id":"1328322069","filename":"file0"},{"photo_id":"1328322149","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328322121":["hashtag1","hashtag2"]},{"1328322069":["hashtag1","hashtag2"]},{"1328322149":["hashtag1","hashtag2"]},{"1328322137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328322121, 1328322069, 1328322149, 1328322137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.783966064453125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:52:02.562549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0003.jpg', '/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0000.jpg', '/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0001.jpg', '/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_02_735095_0003.jpg
/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0000.jpg
/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0001.jpg
/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328322169","1328322166","1328322171","1328322167"],"photo_ids_order":["1328322166","1328322167","1328322169","1328322171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52404050679cbe07fb8d1151d91e1421.jpg","text":"TemporaryFile(/tmp/multipartBody2591422981015770982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650392792,"filename":"image_12012025_03_51_02_292995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e6c181eb531a20bc0978af1e62342fe.jpg","text":"TemporaryFile(/tmp/multipartBody3617756598660778128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650392792,"filename":"image_12012025_03_50_02_735095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb44728aed1cd93e94b4edfdc5ddea14.jpg","text":"TemporaryFile(/tmp/multipartBody1515526847494591174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650392792,"filename":"image_12012025_03_51_02_292995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/684056f92aba20146a7d4395844289cb.jpg","text":"TemporaryFile(/tmp/multipartBody8413254722422372434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650392792,"filename":"image_12012025_03_51_02_292995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328322169","file1":"1328322167","file0":"1328322166","file3":"1328322171"},"map_files_photo_id_array":[{"photo_id":"1328322169","filename":"file2"},{"photo_id":"1328322167","filename":"file1"},{"photo_id":"1328322166","filename":"file0"},{"photo_id":"1328322171","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328322169":["hashtag1","hashtag2"]},{"1328322166":["hashtag1","hashtag2"]},{"1328322171":["hashtag1","hashtag2"]},{"1328322167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328322169, 1328322166, 1328322171, 1328322167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.348448038101196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:53:03.239451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0003.jpg', '/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0000.jpg', '/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0001.jpg', '/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/51/image_12012025_03_51_02_292995_0003.jpg
/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0000.jpg
/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0001.jpg
/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328322181","1328322184","1328322182","1328322185"],"photo_ids_order":["1328322181","1328322182","1328322184","1328322185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6c0b40df25f130d622fff418f1fb4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6326210782183124690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650453687,"filename":"image_12012025_03_51_02_292995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3805fc3bb3c672e782042077ca433b3.jpg","text":"TemporaryFile(/tmp/multipartBody2797756090433040373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650453687,"filename":"image_12012025_03_52_02_802556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f3ed60141d2fa1169524b3c808c9872.jpg","text":"TemporaryFile(/tmp/multipartBody4294484157128371723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650453687,"filename":"image_12012025_03_52_02_802556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8d4166fef0aa6f18a68226856fe8839.jpg","text":"TemporaryFile(/tmp/multipartBody225948987045261283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650453687,"filename":"image_12012025_03_52_02_802556_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328322184","file1":"1328322182","file0":"1328322181","file3":"1328322185"},"map_files_photo_id_array":[{"photo_id":"1328322184","filename":"file2"},{"photo_id":"1328322182","filename":"file1"},{"photo_id":"1328322181","filename":"file0"},{"photo_id":"1328322185","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328322181":["hashtag1","hashtag2"]},{"1328322184":["hashtag1","hashtag2"]},{"1328322182":["hashtag1","hashtag2"]},{"1328322185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328322181, 1328322184, 1328322182, 1328322185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.255664110183716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:54:02.602566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0003.jpg', '/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0000.jpg', '/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0001.jpg', '/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/52/image_12012025_03_52_02_802556_0003.jpg
/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0000.jpg
/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0001.jpg
/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328322193","1328322195","1328322192","1328322212"],"photo_ids_order":["1328322192","1328322193","1328322195","1328322212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9545e479ba91593134a83ab93f1951ab.jpg","text":"TemporaryFile(/tmp/multipartBody2228980111365447945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650512819,"filename":"image_12012025_03_53_02_346725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ac6ca209ffd4b6a46ed668dea20bb65.jpg","text":"TemporaryFile(/tmp/multipartBody490052013936092666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650512819,"filename":"image_12012025_03_53_02_346725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbfb05a65024c001d01bdf17362bb2e9.jpg","text":"TemporaryFile(/tmp/multipartBody4927137122157147291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650512819,"filename":"image_12012025_03_52_02_802556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f527e76db5e011d198ac567b8451be35.jpg","text":"TemporaryFile(/tmp/multipartBody2911103591938984534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650512819,"filename":"image_12012025_03_53_02_346725_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328322195","file1":"1328322193","file0":"1328322192","file3":"1328322212"},"map_files_photo_id_array":[{"photo_id":"1328322195","filename":"file2"},{"photo_id":"1328322193","filename":"file1"},{"photo_id":"1328322192","filename":"file0"},{"photo_id":"1328322212","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328322193":["hashtag1","hashtag2"]},{"1328322195":["hashtag1","hashtag2"]},{"1328322192":["hashtag1","hashtag2"]},{"1328322212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328322193, 1328322195, 1328322192, 1328322212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.045973777770996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:55:03.227609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0003.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0000.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0001.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0003.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0000.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0001.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.880258798599243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:55:22.674491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0003.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0000.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0001.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0002.jpg', '/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0003.jpg', '/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/53/image_12012025_03_53_02_346725_0003.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0000.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0001.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0002.jpg
/home/pi/Desktop/images/12012025/03/54/image_12012025_03_54_02_894584_0003.jpg
/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328323228","1328323237","1328323239","1328323233","1328323235","1328323231"],"photo_ids_order":["1328323228","1328323231","1328323233","1328323235","1328323237","1328323239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f1604c10ef351b48ed7f4648dce53ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7430484487360163836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650597554,"filename":"image_12012025_03_53_02_346725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7874a26726681ac4434333b37d6ad3aa.jpg","text":"TemporaryFile(/tmp/multipartBody6956185722912379834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650597554,"filename":"image_12012025_03_54_02_894584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01e842bd87663f7289273cba5b67bd55.jpg","text":"TemporaryFile(/tmp/multipartBody4776360541977269815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650597554,"filename":"image_12012025_03_55_02_539228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27546fa0fcf6bda46c70a9fdf7bbd2c3.jpg","text":"TemporaryFile(/tmp/multipartBody366712398797530936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650597554,"filename":"image_12012025_03_54_02_894584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3247ccf76899e22efb661df373b9f50e.jpg","text":"TemporaryFile(/tmp/multipartBody7620342711541083386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650597554,"filename":"image_12012025_03_54_02_894584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de76e10461de6ff7d32fbca796beecba.jpg","text":"TemporaryFile(/tmp/multipartBody4738580024872947954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650597554,"filename":"image_12012025_03_54_02_894584_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328323233","file1":"1328323231","file0":"1328323228","file4":"1328323237","file5":"1328323239","file3":"1328323235"},"map_files_photo_id_array":[{"photo_id":"1328323239","filename":"file5"},{"photo_id":"1328323233","filename":"file2"},{"photo_id":"1328323237","filename":"file4"},{"photo_id":"1328323231","filename":"file1"},{"photo_id":"1328323228","filename":"file0"},{"photo_id":"1328323235","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328323228":["hashtag1","hashtag2"]},{"1328323237":["hashtag1","hashtag2"]},{"1328323239":["hashtag1","hashtag2"]},{"1328323233":["hashtag1","hashtag2"]},{"1328323235":["hashtag1","hashtag2"]},{"1328323231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328323228, 1328323237, 1328323239, 1328323233, 1328323235, 1328323231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.73005223274231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:56:22.376985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0001.jpg', '/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0002.jpg', '/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0003.jpg', '/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0000.jpg', '/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0001.jpg', '/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0001.jpg
/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0002.jpg
/home/pi/Desktop/images/12012025/03/55/image_12012025_03_55_02_539228_0003.jpg
/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0000.jpg
/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0001.jpg
/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328323261","1328323245","1328323248","1328323256","1328323259","1328323252"],"photo_ids_order":["1328323245","1328323248","1328323252","1328323256","1328323259","1328323261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96dfc88ff6874b73d154e8392b751ada.jpg","text":"TemporaryFile(/tmp/multipartBody8587099524587190866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650657500,"filename":"image_12012025_03_56_03_055197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb550a0c86534e4e2e93f8e12a0c005d.jpg","text":"TemporaryFile(/tmp/multipartBody4748685192136297886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650657500,"filename":"image_12012025_03_55_02_539228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ecc042887b079f3c92c7ce363cacc68.jpg","text":"TemporaryFile(/tmp/multipartBody1505143249461629128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650657500,"filename":"image_12012025_03_55_02_539228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dae74ea0b56f1f04bd5bdf1f717c7787.jpg","text":"TemporaryFile(/tmp/multipartBody1538958517984384934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650657500,"filename":"image_12012025_03_56_03_055197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ebc8839c04550666e12fed6f33f41ca.jpg","text":"TemporaryFile(/tmp/multipartBody7013756598992715239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650657500,"filename":"image_12012025_03_56_03_055197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14d15e9ed6459bb1db1f0c06b93f34f0.jpg","text":"TemporaryFile(/tmp/multipartBody14106457776436455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650657500,"filename":"image_12012025_03_55_02_539228_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328323252","file1":"1328323248","file0":"1328323245","file4":"1328323259","file5":"1328323261","file3":"1328323256"},"map_files_photo_id_array":[{"photo_id":"1328323261","filename":"file5"},{"photo_id":"1328323252","filename":"file2"},{"photo_id":"1328323259","filename":"file4"},{"photo_id":"1328323248","filename":"file1"},{"photo_id":"1328323245","filename":"file0"},{"photo_id":"1328323256","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328323261":["hashtag1","hashtag2"]},{"1328323245":["hashtag1","hashtag2"]},{"1328323248":["hashtag1","hashtag2"]},{"1328323256":["hashtag1","hashtag2"]},{"1328323259":["hashtag1","hashtag2"]},{"1328323252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328323261, 1328323245, 1328323248, 1328323256, 1328323259, 1328323252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.37708592414856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:57:22.019219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0003.jpg', '/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0000.jpg', '/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0001.jpg', '/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/56/image_12012025_03_56_03_055197_0003.jpg
/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0000.jpg
/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0001.jpg
/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328323801","1328323810","1328323705","1328323583"],"photo_ids_order":["1328323583","1328323705","1328323801","1328323810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e0f3e2692518c03983ea094be023edf.jpg","text":"TemporaryFile(/tmp/multipartBody6471053788346122015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650712341,"filename":"image_12012025_03_57_02_737600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfe510044a6c90f937745dee486a95e5.jpg","text":"TemporaryFile(/tmp/multipartBody1335503034807799042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650712341,"filename":"image_12012025_03_57_02_737600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfcbccf3e64c0eb4e58cce8d90f8599d.jpg","text":"TemporaryFile(/tmp/multipartBody3444641552324990092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650712341,"filename":"image_12012025_03_57_02_737600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ca4a1d4b683dfe0a155b47e24c5bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody8801544437012239265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650712341,"filename":"image_12012025_03_56_03_055197_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328323801","file1":"1328323705","file0":"1328323583","file3":"1328323810"},"map_files_photo_id_array":[{"photo_id":"1328323801","filename":"file2"},{"photo_id":"1328323705","filename":"file1"},{"photo_id":"1328323583","filename":"file0"},{"photo_id":"1328323810","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328323801":["hashtag1","hashtag2"]},{"1328323810":["hashtag1","hashtag2"]},{"1328323705":["hashtag1","hashtag2"]},{"1328323583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328323801, 1328323810, 1328323705, 1328323583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.804322957992554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 03:59:03.318054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 03:59:22.581493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0003.jpg', '/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0000.jpg', '/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0001.jpg', '/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0002.jpg', '/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0003.jpg', '/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/57/image_12012025_03_57_02_737600_0003.jpg
/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0000.jpg
/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0001.jpg
/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0002.jpg
/home/pi/Desktop/images/12012025/03/58/image_12012025_03_58_02_367586_0003.jpg
/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328324028","1328324033","1328324036","1328324030","1328324024","1328324026"],"photo_ids_order":["1328324024","1328324026","1328324028","1328324030","1328324033","1328324036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85d439bd2778307a275a17c1bb07531f.jpg","text":"TemporaryFile(/tmp/multipartBody5915464111722312479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650837578,"filename":"image_12012025_03_58_02_367586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d39a409cfb315edade0d33e79252742.jpg","text":"TemporaryFile(/tmp/multipartBody5932352495969096364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650837578,"filename":"image_12012025_03_58_02_367586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6888ff71f81a8e9695f063ac8911c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6208381611477242980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650837578,"filename":"image_12012025_03_59_02_860241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c13c43b57cea5b53ab4ad0f3e4fcd622.jpg","text":"TemporaryFile(/tmp/multipartBody5811245741636898711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650837578,"filename":"image_12012025_03_58_02_367586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39bc39e99fbb5987dbf191de1adaf48d.jpg","text":"TemporaryFile(/tmp/multipartBody3292559785624529600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650837578,"filename":"image_12012025_03_57_02_737600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/084b13003646845f376f39f46ffb96d4.jpg","text":"TemporaryFile(/tmp/multipartBody7776978101765692453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650837578,"filename":"image_12012025_03_58_02_367586_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328324028","file1":"1328324026","file0":"1328324024","file4":"1328324033","file5":"1328324036","file3":"1328324030"},"map_files_photo_id_array":[{"photo_id":"1328324036","filename":"file5"},{"photo_id":"1328324028","filename":"file2"},{"photo_id":"1328324033","filename":"file4"},{"photo_id":"1328324026","filename":"file1"},{"photo_id":"1328324024","filename":"file0"},{"photo_id":"1328324030","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328324028":["hashtag1","hashtag2"]},{"1328324033":["hashtag1","hashtag2"]},{"1328324036":["hashtag1","hashtag2"]},{"1328324030":["hashtag1","hashtag2"]},{"1328324024":["hashtag1","hashtag2"]},{"1328324026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328324028, 1328324033, 1328324036, 1328324030, 1328324024, 1328324026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.860124826431274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:00:22.279162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0001.jpg', '/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0002.jpg', '/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0003.jpg', '/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0000.jpg', '/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0001.jpg', '/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0001.jpg
/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0002.jpg
/home/pi/Desktop/images/12012025/03/59/image_12012025_03_59_02_860241_0003.jpg
/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0000.jpg
/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0001.jpg
/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328324637","1328324049","1328324046","1328324192","1328324447","1328324047"],"photo_ids_order":["1328324046","1328324047","1328324049","1328324192","1328324447","1328324637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac08a20f2a5aa25ce67ac093353c8208.jpg","text":"TemporaryFile(/tmp/multipartBody9019742805934969372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650897495,"filename":"image_12012025_04_00_03_016643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56fcd27cb4c59537ef69202afef0d012.jpg","text":"TemporaryFile(/tmp/multipartBody7576204564733218936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650897495,"filename":"image_12012025_03_59_02_860241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/945fc3fc3badce642f065bd97fa05d60.jpg","text":"TemporaryFile(/tmp/multipartBody2008274523771178961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650897495,"filename":"image_12012025_03_59_02_860241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30b6b8f97aa9e2c6627e9af4ec3293f4.jpg","text":"TemporaryFile(/tmp/multipartBody4139297596112168763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650897495,"filename":"image_12012025_04_00_03_016643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95c456e60424661228de2cf5804657a6.jpg","text":"TemporaryFile(/tmp/multipartBody2438237504317530324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650897495,"filename":"image_12012025_04_00_03_016643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa412f4bbf5b75d21d754b50ba433cc0.jpg","text":"TemporaryFile(/tmp/multipartBody1769390649600639567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650897495,"filename":"image_12012025_03_59_02_860241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328324049","file1":"1328324047","file0":"1328324046","file4":"1328324447","file5":"1328324637","file3":"1328324192"},"map_files_photo_id_array":[{"photo_id":"1328324637","filename":"file5"},{"photo_id":"1328324049","filename":"file2"},{"photo_id":"1328324447","filename":"file4"},{"photo_id":"1328324047","filename":"file1"},{"photo_id":"1328324046","filename":"file0"},{"photo_id":"1328324192","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328324637":["hashtag1","hashtag2"]},{"1328324049":["hashtag1","hashtag2"]},{"1328324046":["hashtag1","hashtag2"]},{"1328324192":["hashtag1","hashtag2"]},{"1328324447":["hashtag1","hashtag2"]},{"1328324047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328324637, 1328324049, 1328324046, 1328324192, 1328324447, 1328324047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.536264181137085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:01:21.777779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0003.jpg', '/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0000.jpg', '/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0001.jpg', '/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/00/image_12012025_04_00_03_016643_0003.jpg
/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0000.jpg
/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0001.jpg
/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328325102","1328325104","1328325097","1328325100"],"photo_ids_order":["1328325097","1328325100","1328325102","1328325104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a977f3a1895dd1f630c04f4775f9a721.jpg","text":"TemporaryFile(/tmp/multipartBody4476525321001846929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650952225,"filename":"image_12012025_04_01_02_654346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a3b9a464139aa51e68c1d94d6c61968.jpg","text":"TemporaryFile(/tmp/multipartBody8103456210866710674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650952225,"filename":"image_12012025_04_01_02_654346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/acfbee23518f192c74387c5312b9f419.jpg","text":"TemporaryFile(/tmp/multipartBody5502684557472669921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650952225,"filename":"image_12012025_04_00_03_016643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a1a5cee59d93e9fd366aea48c958f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2019443670832117325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736650952225,"filename":"image_12012025_04_01_02_654346_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328325102","file1":"1328325100","file0":"1328325097","file3":"1328325104"},"map_files_photo_id_array":[{"photo_id":"1328325102","filename":"file2"},{"photo_id":"1328325100","filename":"file1"},{"photo_id":"1328325097","filename":"file0"},{"photo_id":"1328325104","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328325102":["hashtag1","hashtag2"]},{"1328325104":["hashtag1","hashtag2"]},{"1328325097":["hashtag1","hashtag2"]},{"1328325100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328325102, 1328325104, 1328325097, 1328325100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32815980911255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:02:22.308658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0003.jpg', '/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0000.jpg', '/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0001.jpg', '/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0003.jpg
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0000.jpg
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0001.jpg
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.688539266586304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:03:02.551479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0003.jpg', '/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0000.jpg', '/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0001.jpg', '/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/01/image_12012025_04_01_02_654346_0003.jpg
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0000.jpg
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0001.jpg
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328325411","1328325405","1328325402","1328325403"],"photo_ids_order":["1328325402","1328325403","1328325405","1328325411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec04ca5645b6e477b1e46f371842625f.jpg","text":"TemporaryFile(/tmp/multipartBody6840778128679376295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651052651,"filename":"image_12012025_04_02_02_163074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62447e873068dbf1a50ed1a1e1730983.jpg","text":"TemporaryFile(/tmp/multipartBody5994637586077615015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651052651,"filename":"image_12012025_04_02_02_163074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/609ecb05561647181365030cd76811bd.jpg","text":"TemporaryFile(/tmp/multipartBody7049969291028412871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651052651,"filename":"image_12012025_04_01_02_654346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/346e0b1fae2a5fc2d7ee7ee83d9d884f.jpg","text":"TemporaryFile(/tmp/multipartBody4255689347360076062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651052651,"filename":"image_12012025_04_02_02_163074_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328325405","file1":"1328325403","file0":"1328325402","file3":"1328325411"},"map_files_photo_id_array":[{"photo_id":"1328325405","filename":"file2"},{"photo_id":"1328325403","filename":"file1"},{"photo_id":"1328325402","filename":"file0"},{"photo_id":"1328325411","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328325411":["hashtag1","hashtag2"]},{"1328325405":["hashtag1","hashtag2"]},{"1328325402":["hashtag1","hashtag2"]},{"1328325403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328325411, 1328325405, 1328325402, 1328325403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32303261756897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:04:03.025133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0003.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0000.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0001.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0003.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0000.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0001.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.673997640609741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:04:22.540688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0003.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0000.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0001.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0002.jpg', '/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0003.jpg', '/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/02/image_12012025_04_02_02_163074_0003.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0000.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0001.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0002.jpg
/home/pi/Desktop/images/12012025/04/03/image_12012025_04_03_02_672380_0003.jpg
/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328326565","1328326619","1328326355","1328326585","1328326417","1328326353"],"photo_ids_order":["1328326353","1328326355","1328326417","1328326565","1328326585","1328326619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d0cb801411da8590320214ac85c97b5.jpg","text":"TemporaryFile(/tmp/multipartBody2644199771046485915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651137306,"filename":"image_12012025_04_03_02_672380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8798c1c73d9bee2dfbbacd6180c1a419.jpg","text":"TemporaryFile(/tmp/multipartBody7518250347718414792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651137306,"filename":"image_12012025_04_04_02_191439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4df45ab80629083bcb6e6c36d551486a.jpg","text":"TemporaryFile(/tmp/multipartBody7009927791776829907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651137306,"filename":"image_12012025_04_03_02_672380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6e0b9943d2dc28c3960ca91000449cb.jpg","text":"TemporaryFile(/tmp/multipartBody4531747350427989497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651137306,"filename":"image_12012025_04_03_02_672380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/447d0b4f63073585fb6aff67afe8e823.jpg","text":"TemporaryFile(/tmp/multipartBody1212293710908278584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651137306,"filename":"image_12012025_04_03_02_672380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18ad6f6104f7f1ce7354f25ae2e8c6ad.jpg","text":"TemporaryFile(/tmp/multipartBody2057330376028383101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651137306,"filename":"image_12012025_04_02_02_163074_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328326417","file1":"1328326355","file0":"1328326353","file4":"1328326585","file5":"1328326619","file3":"1328326565"},"map_files_photo_id_array":[{"photo_id":"1328326619","filename":"file5"},{"photo_id":"1328326417","filename":"file2"},{"photo_id":"1328326585","filename":"file4"},{"photo_id":"1328326355","filename":"file1"},{"photo_id":"1328326353","filename":"file0"},{"photo_id":"1328326565","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328326565":["hashtag1","hashtag2"]},{"1328326619":["hashtag1","hashtag2"]},{"1328326355":["hashtag1","hashtag2"]},{"1328326585":["hashtag1","hashtag2"]},{"1328326417":["hashtag1","hashtag2"]},{"1328326353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328326565, 1328326619, 1328326355, 1328326585, 1328326417, 1328326353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.80053758621216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:05:22.072047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0001.jpg', '/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0002.jpg', '/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0003.jpg', '/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0000.jpg', '/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0001.jpg', '/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0001.jpg
/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0002.jpg
/home/pi/Desktop/images/12012025/04/04/image_12012025_04_04_02_191439_0003.jpg
/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0000.jpg
/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0001.jpg
/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328326642","1328326639","1328326627","1328326644","1328326632","1328326635"],"photo_ids_order":["1328326627","1328326632","1328326635","1328326639","1328326642","1328326644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/878b3b5464fed96f8f7ab62ef73518ee.jpg","text":"TemporaryFile(/tmp/multipartBody1081105443199830651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651197069,"filename":"image_12012025_04_05_02_940001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e7a05aa3415ba95e083be58f129ea60.jpg","text":"TemporaryFile(/tmp/multipartBody3891829114814775021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651197069,"filename":"image_12012025_04_05_02_940001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb5cfb0135ea61396f89c6c3c441cb02.jpg","text":"TemporaryFile(/tmp/multipartBody509474364658422424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651197069,"filename":"image_12012025_04_04_02_191439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b022562471182234ae63e48536a688d.jpg","text":"TemporaryFile(/tmp/multipartBody8250784271131871001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651197069,"filename":"image_12012025_04_05_02_940001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28e18f2e057167862125b6e690ec2c55.jpg","text":"TemporaryFile(/tmp/multipartBody7721997529622284292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651197069,"filename":"image_12012025_04_04_02_191439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1044618447cf07f44eb41fbbc35a7ea5.jpg","text":"TemporaryFile(/tmp/multipartBody6920206822266270585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651197069,"filename":"image_12012025_04_04_02_191439_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328326635","file1":"1328326632","file0":"1328326627","file4":"1328326642","file5":"1328326644","file3":"1328326639"},"map_files_photo_id_array":[{"photo_id":"1328326644","filename":"file5"},{"photo_id":"1328326635","filename":"file2"},{"photo_id":"1328326642","filename":"file4"},{"photo_id":"1328326632","filename":"file1"},{"photo_id":"1328326627","filename":"file0"},{"photo_id":"1328326639","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328326642":["hashtag1","hashtag2"]},{"1328326639":["hashtag1","hashtag2"]},{"1328326627":["hashtag1","hashtag2"]},{"1328326644":["hashtag1","hashtag2"]},{"1328326632":["hashtag1","hashtag2"]},{"1328326635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328326642, 1328326639, 1328326627, 1328326644, 1328326632, 1328326635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.134188413619995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:06:22.584700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0003.jpg', '/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0000.jpg', '/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0001.jpg', '/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/05/image_12012025_04_05_02_940001_0003.jpg
/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0000.jpg
/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0001.jpg
/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328326676","1328326646","1328326659","1328326673"],"photo_ids_order":["1328326646","1328326659","1328326673","1328326676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63093e30651d4b991c933b8249189a55.jpg","text":"TemporaryFile(/tmp/multipartBody2585206047392343999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651252868,"filename":"image_12012025_04_06_02_454833_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd89af4588712f2b02be980c72bb29c3.jpg","text":"TemporaryFile(/tmp/multipartBody2917113518908206994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651252868,"filename":"image_12012025_04_05_02_940001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d62b173175c2401184aafbcece4fd60.jpg","text":"TemporaryFile(/tmp/multipartBody6049440270871829636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651252868,"filename":"image_12012025_04_06_02_454833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b7ff07f5387d7c32dce59548ac0e090.jpg","text":"TemporaryFile(/tmp/multipartBody8990102920320016596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651252868,"filename":"image_12012025_04_06_02_454833_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328326673","file1":"1328326659","file0":"1328326646","file3":"1328326676"},"map_files_photo_id_array":[{"photo_id":"1328326673","filename":"file2"},{"photo_id":"1328326659","filename":"file1"},{"photo_id":"1328326646","filename":"file0"},{"photo_id":"1328326676","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328326676":["hashtag1","hashtag2"]},{"1328326646":["hashtag1","hashtag2"]},{"1328326659":["hashtag1","hashtag2"]},{"1328326673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328326676, 1328326646, 1328326659, 1328326673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.872514486312866 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-12 04:07:22.046553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0003.jpg', '/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0000.jpg', '/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0001.jpg', '/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/06/image_12012025_04_06_02_454833_0003.jpg
/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0000.jpg
/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0001.jpg
/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328326685","1328326693","1328326691","1328326688"],"photo_ids_order":["1328326685","1328326688","1328326691","1328326693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/faf77065c161124c8e161fc663eda761.jpg","text":"TemporaryFile(/tmp/multipartBody5651372892268077095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651312131,"filename":"image_12012025_04_06_02_454833_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8802f697d8efdf7c236bc2d87bad5cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4999352217725590313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651312131,"filename":"image_12012025_04_07_02_919705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbea99f9fac0a394f1b976f148239641.jpg","text":"TemporaryFile(/tmp/multipartBody5522315687762250368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651312131,"filename":"image_12012025_04_07_02_919705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ddd4de0a72fe5ea0c8c1ff38735048e.jpg","text":"TemporaryFile(/tmp/multipartBody1853927479953752229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651312131,"filename":"image_12012025_04_07_02_919705_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328326691","file1":"1328326688","file0":"1328326685","file3":"1328326693"},"map_files_photo_id_array":[{"photo_id":"1328326691","filename":"file2"},{"photo_id":"1328326688","filename":"file1"},{"photo_id":"1328326685","filename":"file0"},{"photo_id":"1328326693","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328326685":["hashtag1","hashtag2"]},{"1328326693":["hashtag1","hashtag2"]},{"1328326691":["hashtag1","hashtag2"]},{"1328326688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328326685, 1328326693, 1328326691, 1328326688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84105348587036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:08:03.129893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:08:22.582862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0003.jpg', '/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0000.jpg', '/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0001.jpg', '/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0003.jpg
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0000.jpg
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0001.jpg
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.6448495388031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:09:02.700826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0003.jpg', '/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0000.jpg', '/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0001.jpg', '/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/07/image_12012025_04_07_02_919705_0003.jpg
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0000.jpg
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0001.jpg
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328326769","1328326709","1328326858","1328326710"],"photo_ids_order":["1328326709","1328326710","1328326769","1328326858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a33fb0a78c22f3f9077bee982f4bc09.jpg","text":"TemporaryFile(/tmp/multipartBody6712449838355722887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651412782,"filename":"image_12012025_04_08_02_411846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d0a56170ddb9a098d29bf74a06bf678.jpg","text":"TemporaryFile(/tmp/multipartBody3866344804922671199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651412782,"filename":"image_12012025_04_07_02_919705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/759505732a60e701aedf0fb85bbb223e.jpg","text":"TemporaryFile(/tmp/multipartBody1669043228771954285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651412782,"filename":"image_12012025_04_08_02_411846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac4b95c3bbbd539f878ab67fba913084.jpg","text":"TemporaryFile(/tmp/multipartBody4347993980564042099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651412782,"filename":"image_12012025_04_08_02_411846_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328326769","file1":"1328326710","file0":"1328326709","file3":"1328326858"},"map_files_photo_id_array":[{"photo_id":"1328326769","filename":"file2"},{"photo_id":"1328326710","filename":"file1"},{"photo_id":"1328326709","filename":"file0"},{"photo_id":"1328326858","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328326769":["hashtag1","hashtag2"]},{"1328326709":["hashtag1","hashtag2"]},{"1328326858":["hashtag1","hashtag2"]},{"1328326710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328326769, 1328326709, 1328326858, 1328326710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.275054693222046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:10:03.024406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0003.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0000.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0001.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0003.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0000.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0001.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.747587203979492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:10:22.683010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0003.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0000.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0001.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0002.jpg', '/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0003.jpg', '/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/08/image_12012025_04_08_02_411846_0003.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0000.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0001.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0002.jpg
/home/pi/Desktop/images/12012025/04/09/image_12012025_04_09_02_907633_0003.jpg
/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328328043","1328327956","1328327773","1328328129","1328327862","1328327664"],"photo_ids_order":["1328327664","1328327773","1328327862","1328327956","1328328043","1328328129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bdd8fb849ca3277f1ff486d222996136.jpg","text":"TemporaryFile(/tmp/multipartBody4772547912508678739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651497480,"filename":"image_12012025_04_09_02_907633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1baaccd39ec7417e44863f9fa357e011.jpg","text":"TemporaryFile(/tmp/multipartBody3574477637115761884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651497480,"filename":"image_12012025_04_09_02_907633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29c645063b66da13141198c9195ad024.jpg","text":"TemporaryFile(/tmp/multipartBody4399161482049889738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651497480,"filename":"image_12012025_04_09_02_907633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e530e2993c2c9a5c907c33f230b389d9.jpg","text":"TemporaryFile(/tmp/multipartBody6457476562641335163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651497480,"filename":"image_12012025_04_10_02_399008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3f08c703d62a1592a04d39fb9a5a2d7.jpg","text":"TemporaryFile(/tmp/multipartBody582243644489729525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651497480,"filename":"image_12012025_04_09_02_907633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89e88ca1bba0dba44e2be6789ec7b953.jpg","text":"TemporaryFile(/tmp/multipartBody4808740491811018131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651497480,"filename":"image_12012025_04_08_02_411846_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328327862","file1":"1328327773","file0":"1328327664","file4":"1328328043","file5":"1328328129","file3":"1328327956"},"map_files_photo_id_array":[{"photo_id":"1328328129","filename":"file5"},{"photo_id":"1328327862","filename":"file2"},{"photo_id":"1328328043","filename":"file4"},{"photo_id":"1328327773","filename":"file1"},{"photo_id":"1328327664","filename":"file0"},{"photo_id":"1328327956","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328328043":["hashtag1","hashtag2"]},{"1328327956":["hashtag1","hashtag2"]},{"1328327773":["hashtag1","hashtag2"]},{"1328328129":["hashtag1","hashtag2"]},{"1328327862":["hashtag1","hashtag2"]},{"1328327664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328328043, 1328327956, 1328327773, 1328328129, 1328327862, 1328327664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21872043609619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:11:22.095696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0001.jpg', '/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0002.jpg', '/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0003.jpg', '/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0000.jpg', '/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0001.jpg', '/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0001.jpg
/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0002.jpg
/home/pi/Desktop/images/12012025/04/10/image_12012025_04_10_02_399008_0003.jpg
/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0000.jpg
/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0001.jpg
/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328328175","1328328169","1328328171","1328328165","1328328173","1328328167"],"photo_ids_order":["1328328165","1328328167","1328328169","1328328171","1328328173","1328328175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/295666f902809293e218ea9f0774992a.jpg","text":"TemporaryFile(/tmp/multipartBody9161778641530114837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651556805,"filename":"image_12012025_04_11_03_021191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9ce4f0fc7866059c799a4047bd4cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody8142557137493544737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651556805,"filename":"image_12012025_04_10_02_399008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a11187514077aa72f87b1e84be0fc8b7.jpg","text":"TemporaryFile(/tmp/multipartBody7206234571643454125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651556805,"filename":"image_12012025_04_11_03_021191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1aa47f105573395445e3a5f8ebb1a7f0.jpg","text":"TemporaryFile(/tmp/multipartBody4542911628612741779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651556805,"filename":"image_12012025_04_10_02_399008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6eef6f1ab5f4b32e9da9952247a35c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5107886991206047350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651556805,"filename":"image_12012025_04_11_03_021191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9bb31954ad462377e570835e00ff94c.jpg","text":"TemporaryFile(/tmp/multipartBody8531397324619073490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651556805,"filename":"image_12012025_04_10_02_399008_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328328169","file1":"1328328167","file0":"1328328165","file4":"1328328173","file5":"1328328175","file3":"1328328171"},"map_files_photo_id_array":[{"photo_id":"1328328175","filename":"file5"},{"photo_id":"1328328169","filename":"file2"},{"photo_id":"1328328173","filename":"file4"},{"photo_id":"1328328167","filename":"file1"},{"photo_id":"1328328165","filename":"file0"},{"photo_id":"1328328171","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328328175":["hashtag1","hashtag2"]},{"1328328169":["hashtag1","hashtag2"]},{"1328328171":["hashtag1","hashtag2"]},{"1328328165":["hashtag1","hashtag2"]},{"1328328173":["hashtag1","hashtag2"]},{"1328328167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328328175, 1328328169, 1328328171, 1328328165, 1328328173, 1328328167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.67991256713867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:12:22.657711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0003.jpg', '/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0000.jpg', '/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0001.jpg', '/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/11/image_12012025_04_11_03_021191_0003.jpg
/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0000.jpg
/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0001.jpg
/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328328472","1328328373","1328328532","1328328543"],"photo_ids_order":["1328328373","1328328472","1328328532","1328328543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf9b52be9bc2773a268d59d1624225f4.jpg","text":"TemporaryFile(/tmp/multipartBody4227976639234597427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651612745,"filename":"image_12012025_04_12_02_497927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e28c71c3374da9249e9cbee30e924f78.jpg","text":"TemporaryFile(/tmp/multipartBody6669414519682721239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651612745,"filename":"image_12012025_04_11_03_021191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45a0e1d41b7cbebd0622b6205aa2ddc4.jpg","text":"TemporaryFile(/tmp/multipartBody8417751226571027565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651612745,"filename":"image_12012025_04_12_02_497927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/acdfdad28ba7e68c751ec9829bdd20dd.jpg","text":"TemporaryFile(/tmp/multipartBody5052392459067383694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651612745,"filename":"image_12012025_04_12_02_497927_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328328532","file1":"1328328472","file0":"1328328373","file3":"1328328543"},"map_files_photo_id_array":[{"photo_id":"1328328532","filename":"file2"},{"photo_id":"1328328472","filename":"file1"},{"photo_id":"1328328373","filename":"file0"},{"photo_id":"1328328543","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328328472":["hashtag1","hashtag2"]},{"1328328373":["hashtag1","hashtag2"]},{"1328328532":["hashtag1","hashtag2"]},{"1328328543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328328472, 1328328373, 1328328532, 1328328543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.483365535736084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:13:02.854024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:13:22.120286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0003.jpg', '/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0000.jpg', '/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0001.jpg', '/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/12/image_12012025_04_12_02_497927_0003.jpg
/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0000.jpg
/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0001.jpg
/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328329461","1328329458","1328329463","1328329448"],"photo_ids_order":["1328329448","1328329458","1328329461","1328329463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38f25a04c8b2c3cc2e32c0c4d64c1b1b.jpg","text":"TemporaryFile(/tmp/multipartBody1554318872969665986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651672270,"filename":"image_12012025_04_13_03_057127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1088cb776b6d13e7eb6b98fa88f66721.jpg","text":"TemporaryFile(/tmp/multipartBody8807893905054170874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651672270,"filename":"image_12012025_04_13_03_057127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/647df1b4ec36c64b7b5dafaada9301f6.jpg","text":"TemporaryFile(/tmp/multipartBody758336037996039341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651672270,"filename":"image_12012025_04_13_03_057127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/350a5750a74bd700cd057753c2007ced.jpg","text":"TemporaryFile(/tmp/multipartBody5154477422986773356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651672270,"filename":"image_12012025_04_12_02_497927_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328329461","file1":"1328329458","file0":"1328329448","file3":"1328329463"},"map_files_photo_id_array":[{"photo_id":"1328329461","filename":"file2"},{"photo_id":"1328329458","filename":"file1"},{"photo_id":"1328329448","filename":"file0"},{"photo_id":"1328329463","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328329461":["hashtag1","hashtag2"]},{"1328329458":["hashtag1","hashtag2"]},{"1328329463":["hashtag1","hashtag2"]},{"1328329448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328329461, 1328329458, 1328329463, 1328329448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55370259284973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:14:02.151388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:14:21.755067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0003.jpg', '/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0000.jpg', '/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0001.jpg', '/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/13/image_12012025_04_13_03_057127_0003.jpg
/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0000.jpg
/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0001.jpg
/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328329803","1328329622","1328329477","1328329813"],"photo_ids_order":["1328329477","1328329622","1328329803","1328329813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87f72cc37e42128b80198ca402df29aa.jpg","text":"TemporaryFile(/tmp/multipartBody8908750698549725655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651731844,"filename":"image_12012025_04_14_02_513436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cdf3c892660421c994f80ee55104f269.jpg","text":"TemporaryFile(/tmp/multipartBody3112739309783321613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651731844,"filename":"image_12012025_04_14_02_513436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8730a99d63f34d03c24c440509ac7bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7520437239972118901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651731844,"filename":"image_12012025_04_13_03_057127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0bece2cdaa9fab6f6deebe0e4deadd81.jpg","text":"TemporaryFile(/tmp/multipartBody812114589980173781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651731844,"filename":"image_12012025_04_14_02_513436_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328329803","file1":"1328329622","file0":"1328329477","file3":"1328329813"},"map_files_photo_id_array":[{"photo_id":"1328329803","filename":"file2"},{"photo_id":"1328329622","filename":"file1"},{"photo_id":"1328329477","filename":"file0"},{"photo_id":"1328329813","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328329803":["hashtag1","hashtag2"]},{"1328329622":["hashtag1","hashtag2"]},{"1328329477":["hashtag1","hashtag2"]},{"1328329813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328329803, 1328329622, 1328329477, 1328329813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.622793436050415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:15:22.307515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0003.jpg', '/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0000.jpg', '/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0001.jpg', '/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/14/image_12012025_04_14_02_513436_0003.jpg
/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0000.jpg
/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0001.jpg
/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328329900","1328329903","1328329908","1328329897"],"photo_ids_order":["1328329897","1328329900","1328329903","1328329908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94cf15ffec219587aabb474622637f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3621145377270805927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651792458,"filename":"image_12012025_04_15_02_132214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70cdf1eca4e2c898b6e1a5a054dd4b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5274638728940359108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651792458,"filename":"image_12012025_04_15_02_132214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/395a4dd67d094852165018a62232d75f.jpg","text":"TemporaryFile(/tmp/multipartBody4635355465632624513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651792458,"filename":"image_12012025_04_15_02_132214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4f5abc8279e1f5d86b4f7b128b886df.jpg","text":"TemporaryFile(/tmp/multipartBody7954467418155704084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651792458,"filename":"image_12012025_04_14_02_513436_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328329903","file1":"1328329900","file0":"1328329897","file3":"1328329908"},"map_files_photo_id_array":[{"photo_id":"1328329903","filename":"file2"},{"photo_id":"1328329900","filename":"file1"},{"photo_id":"1328329897","filename":"file0"},{"photo_id":"1328329908","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328329900":["hashtag1","hashtag2"]},{"1328329903":["hashtag1","hashtag2"]},{"1328329908":["hashtag1","hashtag2"]},{"1328329897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328329900, 1328329903, 1328329908, 1328329897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91875720024109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:16:21.844055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0003.jpg', '/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0000.jpg', '/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0001.jpg', '/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/15/image_12012025_04_15_02_132214_0003.jpg
/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0000.jpg
/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0001.jpg
/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328329935","1328329928","1328329937","1328329931"],"photo_ids_order":["1328329928","1328329931","1328329935","1328329937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05de15b5f936dc1c52fe84bf9d30cbd8.jpg","text":"TemporaryFile(/tmp/multipartBody8514781301920678160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651851942,"filename":"image_12012025_04_16_02_694341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73b974090dc992f86c2a7b3ce897687d.jpg","text":"TemporaryFile(/tmp/multipartBody5384890309601589649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651851942,"filename":"image_12012025_04_15_02_132214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14ff8a5d6e5077f717761b810a0350a4.jpg","text":"TemporaryFile(/tmp/multipartBody931420405131429636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651851942,"filename":"image_12012025_04_16_02_694341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9dc6723bb49c93059efcb45123cce36e.jpg","text":"TemporaryFile(/tmp/multipartBody6134048979029297452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651851942,"filename":"image_12012025_04_16_02_694341_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328329935","file1":"1328329931","file0":"1328329928","file3":"1328329937"},"map_files_photo_id_array":[{"photo_id":"1328329935","filename":"file2"},{"photo_id":"1328329931","filename":"file1"},{"photo_id":"1328329928","filename":"file0"},{"photo_id":"1328329937","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328329935":["hashtag1","hashtag2"]},{"1328329928":["hashtag1","hashtag2"]},{"1328329937":["hashtag1","hashtag2"]},{"1328329931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328329935, 1328329928, 1328329937, 1328329931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79852890968323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:17:02.931865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:17:22.282303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0003.jpg', '/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0000.jpg', '/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0001.jpg', '/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/16/image_12012025_04_16_02_694341_0003.jpg
/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0000.jpg
/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0001.jpg
/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328329943","1328329951","1328329945","1328329948"],"photo_ids_order":["1328329943","1328329945","1328329948","1328329951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5862db5da37c8a9b221dce333dda7e25.jpg","text":"TemporaryFile(/tmp/multipartBody6499484754929463637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651912527,"filename":"image_12012025_04_16_02_694341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4fc71b01e424c179ddf70754c58b097e.jpg","text":"TemporaryFile(/tmp/multipartBody4017556497697225320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651912527,"filename":"image_12012025_04_17_02_213376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94bc7cafbd429d91dcc0624a942ae45f.jpg","text":"TemporaryFile(/tmp/multipartBody2947418699969995175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651912527,"filename":"image_12012025_04_17_02_213376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f127456d1ff6bace7019785ae27546e7.jpg","text":"TemporaryFile(/tmp/multipartBody4450512781915978826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651912527,"filename":"image_12012025_04_17_02_213376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328329948","file1":"1328329945","file0":"1328329943","file3":"1328329951"},"map_files_photo_id_array":[{"photo_id":"1328329948","filename":"file2"},{"photo_id":"1328329945","filename":"file1"},{"photo_id":"1328329943","filename":"file0"},{"photo_id":"1328329951","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328329943":["hashtag1","hashtag2"]},{"1328329951":["hashtag1","hashtag2"]},{"1328329945":["hashtag1","hashtag2"]},{"1328329948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328329943, 1328329951, 1328329945, 1328329948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68537735939026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:18:22.021925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0003.jpg', '/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0000.jpg', '/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0001.jpg', '/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/17/image_12012025_04_17_02_213376_0003.jpg
/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0000.jpg
/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0001.jpg
/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328330224","1328330020","1328330407","1328330060"],"photo_ids_order":["1328330020","1328330060","1328330224","1328330407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c03066fbf170ad2da3ad26337a5e4687.jpg","text":"TemporaryFile(/tmp/multipartBody6804152679954833472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651972093,"filename":"image_12012025_04_18_02_737245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2c19b1f9f7bab6fd70957239e8ec65d.jpg","text":"TemporaryFile(/tmp/multipartBody2584089696201089124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651972093,"filename":"image_12012025_04_17_02_213376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a52eab8802e254bf59f3589e8b144a8d.jpg","text":"TemporaryFile(/tmp/multipartBody4361463320019428933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651972093,"filename":"image_12012025_04_18_02_737245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c23fe39524048fc7b1d9d4f88b0c2ac9.jpg","text":"TemporaryFile(/tmp/multipartBody1894742253890775902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736651972093,"filename":"image_12012025_04_18_02_737245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328330224","file1":"1328330060","file0":"1328330020","file3":"1328330407"},"map_files_photo_id_array":[{"photo_id":"1328330224","filename":"file2"},{"photo_id":"1328330060","filename":"file1"},{"photo_id":"1328330020","filename":"file0"},{"photo_id":"1328330407","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328330224":["hashtag1","hashtag2"]},{"1328330020":["hashtag1","hashtag2"]},{"1328330407":["hashtag1","hashtag2"]},{"1328330060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328330224, 1328330020, 1328330407, 1328330060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60887551307678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:19:02.897533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:19:22.449225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0003.jpg', '/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0000.jpg', '/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0001.jpg', '/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/18/image_12012025_04_18_02_737245_0003.jpg
/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0000.jpg
/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0001.jpg
/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328331244","1328331045","1328331137","1328330939"],"photo_ids_order":["1328330939","1328331045","1328331137","1328331244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a789446c1591849cc59af72e1b310775.jpg","text":"TemporaryFile(/tmp/multipartBody7103091395825965685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652032482,"filename":"image_12012025_04_19_02_354432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d594211810ead2900b6dedc4f4237cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6664522126551577870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652032482,"filename":"image_12012025_04_19_02_354432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d601bed9cb5423acbd5daee1a0fefc2.jpg","text":"TemporaryFile(/tmp/multipartBody47917866077647666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652032482,"filename":"image_12012025_04_19_02_354432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ca4a965c453547c679c5c5a14c3526d.jpg","text":"TemporaryFile(/tmp/multipartBody4735283794136700222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652032482,"filename":"image_12012025_04_18_02_737245_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328331137","file1":"1328331045","file0":"1328330939","file3":"1328331244"},"map_files_photo_id_array":[{"photo_id":"1328331137","filename":"file2"},{"photo_id":"1328331045","filename":"file1"},{"photo_id":"1328330939","filename":"file0"},{"photo_id":"1328331244","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328331244":["hashtag1","hashtag2"]},{"1328331045":["hashtag1","hashtag2"]},{"1328331137":["hashtag1","hashtag2"]},{"1328330939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328331244, 1328331045, 1328331137, 1328330939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8417444229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:20:02.477333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:20:22.126310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0003.jpg', '/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0000.jpg', '/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0003.jpg
/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0000.jpg
/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2159423828125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:21:03.226479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0003.jpg', '/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0000.jpg', '/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/19/image_12012025_04_19_02_354432_0003.jpg
/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0000.jpg
/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328332556","1328332555","1328332558"],"photo_ids_order":["1328332555","1328332556","1328332558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9d17e632e0c19ae856c4a134530a559.jpg","text":"TemporaryFile(/tmp/multipartBody6216129046437925482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652130894,"filename":"image_12012025_04_20_02_891397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a89d00c3027b248de867a2d541b030c6.jpg","text":"TemporaryFile(/tmp/multipartBody7016390321488040161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652130894,"filename":"image_12012025_04_19_02_354432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7faeb825d393c0426a2247692c9422bf.jpg","text":"TemporaryFile(/tmp/multipartBody1398249531770919590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652130894,"filename":"image_12012025_04_20_02_891397_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328332558","file1":"1328332556","file0":"1328332555"},"map_files_photo_id_array":[{"photo_id":"1328332558","filename":"file2"},{"photo_id":"1328332556","filename":"file1"},{"photo_id":"1328332555","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328332556":["hashtag1","hashtag2"]},{"1328332555":["hashtag1","hashtag2"]},{"1328332558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328332556, 1328332555, 1328332558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.92304086685181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:22:02.669068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0003.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0000.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0001.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0003.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0000.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0001.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.690701007843018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:22:22.215330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0003.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0000.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0001.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0002.jpg', '/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0003.jpg', '/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/20/image_12012025_04_20_02_891397_0003.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0000.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0001.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0002.jpg
/home/pi/Desktop/images/12012025/04/21/image_12012025_04_21_02_492822_0003.jpg
/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328332898","1328332902","1328332904","1328332894","1328332900","1328332896"],"photo_ids_order":["1328332894","1328332896","1328332898","1328332900","1328332902","1328332904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a97731a5d7d424659acb8908525b6ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7138869432100307049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652216921,"filename":"image_12012025_04_21_02_492822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d4e0e6f649aa693251681bed50861f7.jpg","text":"TemporaryFile(/tmp/multipartBody6785120042660239365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652216921,"filename":"image_12012025_04_21_02_492822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a1ec197efb41401204f24d588c48fe5c.jpg","text":"TemporaryFile(/tmp/multipartBody7801522448277458996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652216921,"filename":"image_12012025_04_22_02_999813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2a65cbb0b71c71dda08cf9855aa65c6.jpg","text":"TemporaryFile(/tmp/multipartBody1215618661728357538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652216921,"filename":"image_12012025_04_20_02_891397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37849cce6afc0e2d213c1ca80c66cdd0.jpg","text":"TemporaryFile(/tmp/multipartBody7894885979989136019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652216921,"filename":"image_12012025_04_21_02_492822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7add3c3595ce2c69745213408244c59b.jpg","text":"TemporaryFile(/tmp/multipartBody7150233479838191184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652216921,"filename":"image_12012025_04_21_02_492822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328332898","file1":"1328332896","file0":"1328332894","file4":"1328332902","file5":"1328332904","file3":"1328332900"},"map_files_photo_id_array":[{"photo_id":"1328332904","filename":"file5"},{"photo_id":"1328332898","filename":"file2"},{"photo_id":"1328332902","filename":"file4"},{"photo_id":"1328332896","filename":"file1"},{"photo_id":"1328332894","filename":"file0"},{"photo_id":"1328332900","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328332898":["hashtag1","hashtag2"]},{"1328332902":["hashtag1","hashtag2"]},{"1328332904":["hashtag1","hashtag2"]},{"1328332894":["hashtag1","hashtag2"]},{"1328332900":["hashtag1","hashtag2"]},{"1328332896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328332898, 1328332902, 1328332904, 1328332894, 1328332900, 1328332896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.06441283226013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:23:21.728440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0001.jpg', '/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0002.jpg', '/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0003.jpg', '/home/pi/Desktop/images/12012025/04/23/image_12012025_04_23_02_639895_0001.jpg', '/home/pi/Desktop/images/12012025/04/23/image_12012025_04_23_02_639895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0001.jpg
/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0002.jpg
/home/pi/Desktop/images/12012025/04/22/image_12012025_04_22_02_999813_0003.jpg
/home/pi/Desktop/images/12012025/04/23/image_12012025_04_23_02_639895_0001.jpg
/home/pi/Desktop/images/12012025/04/23/image_12012025_04_23_02_639895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328332911","1328332907","1328332921","1328332915","1328332918"],"photo_ids_order":["1328332907","1328332911","1328332915","1328332918","1328332921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3b2b12f91661653bfe4d13250e21aba.jpg","text":"TemporaryFile(/tmp/multipartBody4660187819541542285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652274139,"filename":"image_12012025_04_22_02_999813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eaf644891de43437f669848680559d00.jpg","text":"TemporaryFile(/tmp/multipartBody3352677401083818087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652274139,"filename":"image_12012025_04_22_02_999813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed16f56c1c9049e0c5db59d67561e680.jpg","text":"TemporaryFile(/tmp/multipartBody7221790926796828577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652274139,"filename":"image_12012025_04_23_02_639895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b90c44d07d6e2000bc105d83a250f7e6.jpg","text":"TemporaryFile(/tmp/multipartBody4668942103899873225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652274139,"filename":"image_12012025_04_22_02_999813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/477276512347d57b170bd4db14589702.jpg","text":"TemporaryFile(/tmp/multipartBody1696729015441129443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652274139,"filename":"image_12012025_04_23_02_639895_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328332915","file1":"1328332911","file0":"1328332907","file4":"1328332921","file3":"1328332918"},"map_files_photo_id_array":[{"photo_id":"1328332915","filename":"file2"},{"photo_id":"1328332921","filename":"file4"},{"photo_id":"1328332911","filename":"file1"},{"photo_id":"1328332907","filename":"file0"},{"photo_id":"1328332918","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328332911":["hashtag1","hashtag2"]},{"1328332907":["hashtag1","hashtag2"]},{"1328332921":["hashtag1","hashtag2"]},{"1328332915":["hashtag1","hashtag2"]},{"1328332918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328332911, 1328332907, 1328332921, 1328332915, 1328332918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.88157773017883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:24:22.260913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/23/image_12012025_04_23_02_639895_0003.jpg', '/home/pi/Desktop/images/12012025/04/24/image_12012025_04_24_02_131744_0000.jpg', '/home/pi/Desktop/images/12012025/04/24/image_12012025_04_24_02_131744_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/23/image_12012025_04_23_02_639895_0003.jpg
/home/pi/Desktop/images/12012025/04/24/image_12012025_04_24_02_131744_0000.jpg
/home/pi/Desktop/images/12012025/04/24/image_12012025_04_24_02_131744_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328332929","1328332931","1328332933"],"photo_ids_order":["1328332929","1328332931","1328332933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4eb13ba1c88963f75fe24f3ab9234ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8037574844971129640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652329769,"filename":"image_12012025_04_23_02_639895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a33764a597af72a5c64728096dc7ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1779652402816601598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652329769,"filename":"image_12012025_04_24_02_131744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be3f55135d4eae64f6ce37ce2e014f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7080305768058525474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652329769,"filename":"image_12012025_04_24_02_131744_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328332933","file1":"1328332931","file0":"1328332929"},"map_files_photo_id_array":[{"photo_id":"1328332933","filename":"file2"},{"photo_id":"1328332931","filename":"file1"},{"photo_id":"1328332929","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328332929":["hashtag1","hashtag2"]},{"1328332931":["hashtag1","hashtag2"]},{"1328332933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328332929, 1328332931, 1328332933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.82792019844055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:25:02.369579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:25:21.682970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/24/image_12012025_04_24_02_131744_0003.jpg', '/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0000.jpg', '/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0001.jpg', '/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/24/image_12012025_04_24_02_131744_0003.jpg
/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0000.jpg
/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0001.jpg
/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328332970","1328332964","1328332967","1328332972"],"photo_ids_order":["1328332964","1328332967","1328332970","1328332972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c001a6b6c26e3b9100c223b38677e132.jpg","text":"TemporaryFile(/tmp/multipartBody3405615585733801166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652391672,"filename":"image_12012025_04_25_02_571499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f078400ef6ff495c8b1868ee27c8676.jpg","text":"TemporaryFile(/tmp/multipartBody2739864949576383915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652391672,"filename":"image_12012025_04_24_02_131744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/40f881246f065637a2e7acbfdfcde32e.jpg","text":"TemporaryFile(/tmp/multipartBody7782906336678748489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652391672,"filename":"image_12012025_04_25_02_571499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e30340a93ab837048b9ebbb682f7cef.jpg","text":"TemporaryFile(/tmp/multipartBody5481216487911173529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652391672,"filename":"image_12012025_04_25_02_571499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328332970","file1":"1328332967","file0":"1328332964","file3":"1328332972"},"map_files_photo_id_array":[{"photo_id":"1328332970","filename":"file2"},{"photo_id":"1328332967","filename":"file1"},{"photo_id":"1328332964","filename":"file0"},{"photo_id":"1328332972","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328332970":["hashtag1","hashtag2"]},{"1328332964":["hashtag1","hashtag2"]},{"1328332967":["hashtag1","hashtag2"]},{"1328332972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328332970, 1328332964, 1328332967, 1328332972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18770742416382 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-12 04:26:22.464317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0003.jpg', '/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0000.jpg', '/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0001.jpg', '/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/25/image_12012025_04_25_02_571499_0003.jpg
/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0000.jpg
/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0001.jpg
/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328332983","1328332981","1328332978","1328332986"],"photo_ids_order":["1328332978","1328332981","1328332983","1328332986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4ef39167b355a97c9fa15e57811b895.jpg","text":"TemporaryFile(/tmp/multipartBody6946258116134919817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652452205,"filename":"image_12012025_04_26_02_152833_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7beed44723e834f9f04a060222f99c6.jpg","text":"TemporaryFile(/tmp/multipartBody1970818813783583444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652452205,"filename":"image_12012025_04_26_02_152833_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e767280bff5b6ea5a74d05f72486135.jpg","text":"TemporaryFile(/tmp/multipartBody5582029586116718221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652452205,"filename":"image_12012025_04_25_02_571499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a83244aff10b2e52145ea5bb5b31c438.jpg","text":"TemporaryFile(/tmp/multipartBody3875895324301374946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652452205,"filename":"image_12012025_04_26_02_152833_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328332983","file1":"1328332981","file0":"1328332978","file3":"1328332986"},"map_files_photo_id_array":[{"photo_id":"1328332983","filename":"file2"},{"photo_id":"1328332981","filename":"file1"},{"photo_id":"1328332978","filename":"file0"},{"photo_id":"1328332986","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328332983":["hashtag1","hashtag2"]},{"1328332981":["hashtag1","hashtag2"]},{"1328332978":["hashtag1","hashtag2"]},{"1328332986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328332983, 1328332981, 1328332978, 1328332986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97370409965515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:27:02.587083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:27:21.936076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0003.jpg', '/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0000.jpg', '/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0001.jpg', '/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/26/image_12012025_04_26_02_152833_0003.jpg
/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0000.jpg
/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0001.jpg
/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328333010","1328333045","1328333042","1328332996"],"photo_ids_order":["1328332996","1328333010","1328333042","1328333045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca4b06ef61be4e4c926df1deeb5429ac.jpg","text":"TemporaryFile(/tmp/multipartBody2231581629503070555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652511622,"filename":"image_12012025_04_27_02_820380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c26a3746e14c43af4db8ec0354cbcf8.jpg","text":"TemporaryFile(/tmp/multipartBody2572874358721933546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652511622,"filename":"image_12012025_04_27_02_820380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da8e783fcd319383a05dd0bf4c5a3562.jpg","text":"TemporaryFile(/tmp/multipartBody1377368675732720338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652511622,"filename":"image_12012025_04_27_02_820380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49faee655e9055879e042f75c2c5ddf9.jpg","text":"TemporaryFile(/tmp/multipartBody2861215673976871015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652511622,"filename":"image_12012025_04_26_02_152833_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328333042","file1":"1328333010","file0":"1328332996","file3":"1328333045"},"map_files_photo_id_array":[{"photo_id":"1328333042","filename":"file2"},{"photo_id":"1328333010","filename":"file1"},{"photo_id":"1328332996","filename":"file0"},{"photo_id":"1328333045","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328333010":["hashtag1","hashtag2"]},{"1328333045":["hashtag1","hashtag2"]},{"1328333042":["hashtag1","hashtag2"]},{"1328332996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328333010, 1328333045, 1328333042, 1328332996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89169096946716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:28:03.123831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:28:22.577679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0003.jpg', '/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0000.jpg', '/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0003.jpg
/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0000.jpg
/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_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.142064571380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:29:02.704485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0003.jpg', '/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0000.jpg', '/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/27/image_12012025_04_27_02_820380_0003.jpg
/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0000.jpg
/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328333070","1328333073","1328333067"],"photo_ids_order":["1328333067","1328333070","1328333073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94067f5097e4e013b49c0ec50ad5986b.jpg","text":"TemporaryFile(/tmp/multipartBody7689372059163410366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652610307,"filename":"image_12012025_04_28_02_368124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04e3ce1286d8216e90ed41ce93bb3721.jpg","text":"TemporaryFile(/tmp/multipartBody7699614313355779865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652610307,"filename":"image_12012025_04_28_02_368124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d359d111afe36b7fec6e701a284f73d1.jpg","text":"TemporaryFile(/tmp/multipartBody6158412935827879004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652610307,"filename":"image_12012025_04_27_02_820380_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328333073","file1":"1328333070","file0":"1328333067"},"map_files_photo_id_array":[{"photo_id":"1328333073","filename":"file2"},{"photo_id":"1328333070","filename":"file1"},{"photo_id":"1328333067","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328333070":["hashtag1","hashtag2"]},{"1328333073":["hashtag1","hashtag2"]},{"1328333067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328333070, 1328333073, 1328333067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.7826726436615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:30:03.053900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0003.jpg', '/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0001.jpg', '/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/28/image_12012025_04_28_02_368124_0003.jpg
/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0001.jpg
/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328333112","1328333109","1328333113"],"photo_ids_order":["1328333109","1328333112","1328333113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b464a401f4064c89c91f5b9be0f3316f.jpg","text":"TemporaryFile(/tmp/multipartBody5734866614007146210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652670490,"filename":"image_12012025_04_29_02_977889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b121cf71853f4f461d735492e2a0bd7.jpg","text":"TemporaryFile(/tmp/multipartBody935672526745371472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652670490,"filename":"image_12012025_04_28_02_368124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/411b626c006c3061c52d729750b95c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5410597147440275820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652670490,"filename":"image_12012025_04_29_02_977889_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328333113","file1":"1328333112","file0":"1328333109"},"map_files_photo_id_array":[{"photo_id":"1328333113","filename":"file2"},{"photo_id":"1328333112","filename":"file1"},{"photo_id":"1328333109","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328333112":["hashtag1","hashtag2"]},{"1328333109":["hashtag1","hashtag2"]},{"1328333113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328333112, 1328333109, 1328333113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.204100847244263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:31:02.767724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0003.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0000.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0001.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0003.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0000.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0001.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.29524564743042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:31:22.183202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0003.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0000.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0001.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0002.jpg', '/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/29/image_12012025_04_29_02_977889_0003.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0000.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0001.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0002.jpg
/home/pi/Desktop/images/12012025/04/30/image_12012025_04_30_02_453351_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328333161","1328333158","1328333152","1328333154","1328333157"],"photo_ids_order":["1328333152","1328333154","1328333157","1328333158","1328333161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64ae36e3cff900013404ad2f57b78e32.jpg","text":"TemporaryFile(/tmp/multipartBody8994612449212459265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652754059,"filename":"image_12012025_04_30_02_453351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d6de1af10cc573f512682e10fdad43d.jpg","text":"TemporaryFile(/tmp/multipartBody2286969863426803765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652754059,"filename":"image_12012025_04_30_02_453351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/928e6da690f5813b56cae06c3464857a.jpg","text":"TemporaryFile(/tmp/multipartBody5231982815455451470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652754059,"filename":"image_12012025_04_29_02_977889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f65fcad610931300090ac59dfb31dfe.jpg","text":"TemporaryFile(/tmp/multipartBody2694778350624777643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652754059,"filename":"image_12012025_04_30_02_453351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92efee04761a66b992694e1c8ccfb92b.jpg","text":"TemporaryFile(/tmp/multipartBody2717687480435099595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652754059,"filename":"image_12012025_04_30_02_453351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328333157","file1":"1328333154","file0":"1328333152","file4":"1328333161","file3":"1328333158"},"map_files_photo_id_array":[{"photo_id":"1328333157","filename":"file2"},{"photo_id":"1328333161","filename":"file4"},{"photo_id":"1328333154","filename":"file1"},{"photo_id":"1328333152","filename":"file0"},{"photo_id":"1328333158","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328333161":["hashtag1","hashtag2"]},{"1328333158":["hashtag1","hashtag2"]},{"1328333152":["hashtag1","hashtag2"]},{"1328333154":["hashtag1","hashtag2"]},{"1328333157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328333161, 1328333158, 1328333152, 1328333154, 1328333157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.74847626686096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:32:21.947040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/31/image_12012025_04_31_03_074711_0000.jpg', '/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0000.jpg', '/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0001.jpg', '/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/31/image_12012025_04_31_03_074711_0000.jpg
/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0000.jpg
/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0001.jpg
/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328333177","1328333184","1328333178","1328333181"],"photo_ids_order":["1328333177","1328333178","1328333181","1328333184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7758327522e32ca1ce3284d94b66f1a6.jpg","text":"TemporaryFile(/tmp/multipartBody7196281598132142164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652811931,"filename":"image_12012025_04_31_03_074711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cbe43fede739e475b00eacadaa0bf02.jpg","text":"TemporaryFile(/tmp/multipartBody6781050992061398408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652811931,"filename":"image_12012025_04_32_02_576710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f2028b921642da0680513b42d2bfdf6.jpg","text":"TemporaryFile(/tmp/multipartBody2055843455368798523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652811931,"filename":"image_12012025_04_32_02_576710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5916c752737b4e1b30a806bf5715fcae.jpg","text":"TemporaryFile(/tmp/multipartBody1789145546571333829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652811931,"filename":"image_12012025_04_32_02_576710_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328333181","file1":"1328333178","file0":"1328333177","file3":"1328333184"},"map_files_photo_id_array":[{"photo_id":"1328333181","filename":"file2"},{"photo_id":"1328333178","filename":"file1"},{"photo_id":"1328333177","filename":"file0"},{"photo_id":"1328333184","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328333177":["hashtag1","hashtag2"]},{"1328333184":["hashtag1","hashtag2"]},{"1328333178":["hashtag1","hashtag2"]},{"1328333181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328333177, 1328333184, 1328333178, 1328333181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.204859018325806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:33:02.977727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:33:22.342299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0003.jpg', '/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0000.jpg', '/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0001.jpg', '/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/32/image_12012025_04_32_02_576710_0003.jpg
/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0000.jpg
/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0001.jpg
/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328333201","1328333194","1328333197","1328333203"],"photo_ids_order":["1328333194","1328333197","1328333201","1328333203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43fb0c08f35dd0013d25e6250f84a94e.jpg","text":"TemporaryFile(/tmp/multipartBody5537977459835923564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652872055,"filename":"image_12012025_04_33_02_179038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8924087a4d611c5a0472ce48f72f536b.jpg","text":"TemporaryFile(/tmp/multipartBody6855096041109282822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652872055,"filename":"image_12012025_04_32_02_576710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5709825194d8ded457a86b0e50044d20.jpg","text":"TemporaryFile(/tmp/multipartBody8037188073254434043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652872055,"filename":"image_12012025_04_33_02_179038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0cf2de3ff9c658bcc28c30cf87e55395.jpg","text":"TemporaryFile(/tmp/multipartBody2706282416575277799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652872055,"filename":"image_12012025_04_33_02_179038_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328333201","file1":"1328333197","file0":"1328333194","file3":"1328333203"},"map_files_photo_id_array":[{"photo_id":"1328333201","filename":"file2"},{"photo_id":"1328333197","filename":"file1"},{"photo_id":"1328333194","filename":"file0"},{"photo_id":"1328333203","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328333201":["hashtag1","hashtag2"]},{"1328333194":["hashtag1","hashtag2"]},{"1328333197":["hashtag1","hashtag2"]},{"1328333203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328333201, 1328333194, 1328333197, 1328333203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11882424354553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:34:21.782601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0003.jpg', '/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0000.jpg', '/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0001.jpg', '/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0003.jpg
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0000.jpg
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0001.jpg
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.276257514953613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:35:02.820965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0003.jpg', '/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0000.jpg', '/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0001.jpg', '/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/33/image_12012025_04_33_02_179038_0003.jpg
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0000.jpg
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0001.jpg
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328334385","1328334229","1328334387","1328334386"],"photo_ids_order":["1328334229","1328334385","1328334386","1328334387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f218da4a04303dfeb86d967323e5c85f.jpg","text":"TemporaryFile(/tmp/multipartBody345325182024659046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652972530,"filename":"image_12012025_04_34_02_667838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44d5736d7ced70f6720fd1f12831ee3b.jpg","text":"TemporaryFile(/tmp/multipartBody6208222271683774032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652972530,"filename":"image_12012025_04_33_02_179038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f360f8e7792ee6b24877af930d71ed26.jpg","text":"TemporaryFile(/tmp/multipartBody1724578324450670506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652972530,"filename":"image_12012025_04_34_02_667838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c22b5f715fde5c4fbad9257e22837ac.jpg","text":"TemporaryFile(/tmp/multipartBody7612663433515915069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736652972530,"filename":"image_12012025_04_34_02_667838_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328334386","file1":"1328334385","file0":"1328334229","file3":"1328334387"},"map_files_photo_id_array":[{"photo_id":"1328334386","filename":"file2"},{"photo_id":"1328334385","filename":"file1"},{"photo_id":"1328334229","filename":"file0"},{"photo_id":"1328334387","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328334385":["hashtag1","hashtag2"]},{"1328334229":["hashtag1","hashtag2"]},{"1328334387":["hashtag1","hashtag2"]},{"1328334386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328334385, 1328334229, 1328334387, 1328334386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.00924587249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:36:02.355386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0003.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0000.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0001.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0003.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0000.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0001.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.332067728042603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:36:21.994471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0003.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0000.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0001.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0002.jpg', '/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0003.jpg', '/home/pi/Desktop/images/12012025/04/36/image_12012025_04_36_02_750326_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/34/image_12012025_04_34_02_667838_0003.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0000.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0001.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0002.jpg
/home/pi/Desktop/images/12012025/04/35/image_12012025_04_35_02_174678_0003.jpg
/home/pi/Desktop/images/12012025/04/36/image_12012025_04_36_02_750326_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328334785","1328334731","1328334778","1328334780","1328334782","1328334776"],"photo_ids_order":["1328334731","1328334776","1328334778","1328334780","1328334782","1328334785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2aa41fd24f8d2c174279cb524ecee219.jpg","text":"TemporaryFile(/tmp/multipartBody5527334870412284566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653056159,"filename":"image_12012025_04_36_02_750326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f19715fec076342129364d78101cc18.jpg","text":"TemporaryFile(/tmp/multipartBody6952391939948204562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653056159,"filename":"image_12012025_04_34_02_667838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6c96040ccdda7c8765f45570c3fd92e.jpg","text":"TemporaryFile(/tmp/multipartBody5702588356676826719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653056159,"filename":"image_12012025_04_35_02_174678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d24286a3c2988cd5cbdee7aa4c4e3139.jpg","text":"TemporaryFile(/tmp/multipartBody3883296293700910386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653056159,"filename":"image_12012025_04_35_02_174678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bbec2781356b317c2d7ebce5cd82cf6c.jpg","text":"TemporaryFile(/tmp/multipartBody5398565481612246827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653056159,"filename":"image_12012025_04_35_02_174678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80277d701995ef517dedc98ef6396883.jpg","text":"TemporaryFile(/tmp/multipartBody7127041788923022898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653056159,"filename":"image_12012025_04_35_02_174678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328334778","file1":"1328334776","file0":"1328334731","file4":"1328334782","file5":"1328334785","file3":"1328334780"},"map_files_photo_id_array":[{"photo_id":"1328334785","filename":"file5"},{"photo_id":"1328334778","filename":"file2"},{"photo_id":"1328334782","filename":"file4"},{"photo_id":"1328334776","filename":"file1"},{"photo_id":"1328334731","filename":"file0"},{"photo_id":"1328334780","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328334785":["hashtag1","hashtag2"]},{"1328334731":["hashtag1","hashtag2"]},{"1328334778":["hashtag1","hashtag2"]},{"1328334780":["hashtag1","hashtag2"]},{"1328334782":["hashtag1","hashtag2"]},{"1328334776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328334785, 1328334731, 1328334778, 1328334780, 1328334782, 1328334776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.785234689712524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:37:22.552871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/36/image_12012025_04_36_02_750326_0002.jpg', '/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0000.jpg', '/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0001.jpg', '/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/36/image_12012025_04_36_02_750326_0002.jpg
/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0000.jpg
/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0001.jpg
/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328334793","1328334789","1328334791","1328334794"],"photo_ids_order":["1328334789","1328334791","1328334793","1328334794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85deacebc93fdeeb7acacc09301c7413.jpg","text":"TemporaryFile(/tmp/multipartBody7030137380475789429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653112203,"filename":"image_12012025_04_37_02_399868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/926775482408deb0afed8da013fabbee.jpg","text":"TemporaryFile(/tmp/multipartBody4912076083295796771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653112203,"filename":"image_12012025_04_36_02_750326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03d943c5ccc8b043ff8286841cbffed9.jpg","text":"TemporaryFile(/tmp/multipartBody6446534539336342442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653112203,"filename":"image_12012025_04_37_02_399868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d4bf111d3f3cd757db290d05df4fb2f.jpg","text":"TemporaryFile(/tmp/multipartBody356711498687343862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653112203,"filename":"image_12012025_04_37_02_399868_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328334793","file1":"1328334791","file0":"1328334789","file3":"1328334794"},"map_files_photo_id_array":[{"photo_id":"1328334793","filename":"file2"},{"photo_id":"1328334791","filename":"file1"},{"photo_id":"1328334789","filename":"file0"},{"photo_id":"1328334794","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328334793":["hashtag1","hashtag2"]},{"1328334789":["hashtag1","hashtag2"]},{"1328334791":["hashtag1","hashtag2"]},{"1328334794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328334793, 1328334789, 1328334791, 1328334794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94739031791687 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-12 04:38:22.103810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0003.jpg', '/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0000.jpg', '/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0001.jpg', '/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/37/image_12012025_04_37_02_399868_0003.jpg
/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0000.jpg
/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0001.jpg
/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328334806","1328334803","1328334808","1328334801"],"photo_ids_order":["1328334801","1328334803","1328334806","1328334808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adc7992e17f1aef8605d419efd81609f.jpg","text":"TemporaryFile(/tmp/multipartBody4476800400401890924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653171714,"filename":"image_12012025_04_38_02_947918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c775a8f05a4ab7841e4b8c27d2e74e89.jpg","text":"TemporaryFile(/tmp/multipartBody4731670108203919390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653171714,"filename":"image_12012025_04_38_02_947918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7cea689b879768b0b948f96450f59c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7761282508375300239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653171714,"filename":"image_12012025_04_38_02_947918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56a886856115c226ce31b265cc302fb5.jpg","text":"TemporaryFile(/tmp/multipartBody987122961131848802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653171714,"filename":"image_12012025_04_37_02_399868_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328334806","file1":"1328334803","file0":"1328334801","file3":"1328334808"},"map_files_photo_id_array":[{"photo_id":"1328334806","filename":"file2"},{"photo_id":"1328334803","filename":"file1"},{"photo_id":"1328334801","filename":"file0"},{"photo_id":"1328334808","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328334806":["hashtag1","hashtag2"]},{"1328334803":["hashtag1","hashtag2"]},{"1328334808":["hashtag1","hashtag2"]},{"1328334801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328334806, 1328334803, 1328334808, 1328334801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.168437242507935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:39:03.076114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:39:22.492452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0003.jpg', '/home/pi/Desktop/images/12012025/04/39/image_12012025_04_39_02_442554_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/38/image_12012025_04_38_02_947918_0003.jpg
/home/pi/Desktop/images/12012025/04/39/image_12012025_04_39_02_442554_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328334870","1328334869"],"photo_ids_order":["1328334869","1328334870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34e855a494e1dea9327cebb73ba3281f.jpg","text":"TemporaryFile(/tmp/multipartBody4797871608193947879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653227645,"filename":"image_12012025_04_39_02_442554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab57bdcebc7600722abced1315ec2f74.jpg","text":"TemporaryFile(/tmp/multipartBody5744794323839830512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653227645,"filename":"image_12012025_04_38_02_947918_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328334870","file0":"1328334869"},"map_files_photo_id_array":[{"photo_id":"1328334870","filename":"file1"},{"photo_id":"1328334869","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328334870":["hashtag1","hashtag2"]},{"1328334869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328334870, 1328334869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.983079433441162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:40:02.746546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:40:22.311089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/39/image_12012025_04_39_02_442554_0003.jpg', '/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0001.jpg', '/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/39/image_12012025_04_39_02_442554_0003.jpg
/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0001.jpg
/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.985799789428711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:41:02.377700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/39/image_12012025_04_39_02_442554_0003.jpg', '/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0001.jpg', '/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/39/image_12012025_04_39_02_442554_0003.jpg
/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0001.jpg
/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328334923","1328334926","1328334924"],"photo_ids_order":["1328334923","1328334924","1328334926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/908c277556ab0e3ef1c44876e36615f4.jpg","text":"TemporaryFile(/tmp/multipartBody3164024488881187306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653329876,"filename":"image_12012025_04_39_02_442554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a533d7450abc99a0d695555f1254f05.jpg","text":"TemporaryFile(/tmp/multipartBody2406725998549314987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653329876,"filename":"image_12012025_04_40_02_971731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/99eb05a6138afa80c117b0f7c68f92ab.jpg","text":"TemporaryFile(/tmp/multipartBody6701427039309684519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653329876,"filename":"image_12012025_04_40_02_971731_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328334926","file1":"1328334924","file0":"1328334923"},"map_files_photo_id_array":[{"photo_id":"1328334926","filename":"file2"},{"photo_id":"1328334924","filename":"file1"},{"photo_id":"1328334923","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328334923":["hashtag1","hashtag2"]},{"1328334926":["hashtag1","hashtag2"]},{"1328334924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328334923, 1328334926, 1328334924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.296858310699463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:42:02.849198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0003.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0000.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0001.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0003.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0000.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0001.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.261180639266968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:42:22.505317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0003.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0000.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0001.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0002.jpg', '/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0003.jpg', '/home/pi/Desktop/images/12012025/04/42/image_12012025_04_42_02_206347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/40/image_12012025_04_40_02_971731_0003.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0000.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0001.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0002.jpg
/home/pi/Desktop/images/12012025/04/41/image_12012025_04_41_02_679429_0003.jpg
/home/pi/Desktop/images/12012025/04/42/image_12012025_04_42_02_206347_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335090","1328335084","1328335086","1328335080","1328335088","1328335082"],"photo_ids_order":["1328335080","1328335082","1328335084","1328335086","1328335088","1328335090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62756a0e2d9d8773b58a0307a19e1412.jpg","text":"TemporaryFile(/tmp/multipartBody3070075152175827173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653416634,"filename":"image_12012025_04_42_02_206347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8ddbe3a54e3643347491d18520ecb54.jpg","text":"TemporaryFile(/tmp/multipartBody711534009182939741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653416634,"filename":"image_12012025_04_41_02_679429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e3d858157ede47e4f152f69a7b083c0.jpg","text":"TemporaryFile(/tmp/multipartBody866707596399042511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653416634,"filename":"image_12012025_04_41_02_679429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4eea246beef9b077ae6bf8990f80731.jpg","text":"TemporaryFile(/tmp/multipartBody6861106689623978660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653416634,"filename":"image_12012025_04_40_02_971731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10c52ff8260e773c7edb2385b7c0229c.jpg","text":"TemporaryFile(/tmp/multipartBody6061223873213350925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653416634,"filename":"image_12012025_04_41_02_679429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f1eaab7b86506d55b72a1fc256b16bf.jpg","text":"TemporaryFile(/tmp/multipartBody5387517525460849277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653416634,"filename":"image_12012025_04_41_02_679429_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335084","file1":"1328335082","file0":"1328335080","file4":"1328335088","file5":"1328335090","file3":"1328335086"},"map_files_photo_id_array":[{"photo_id":"1328335090","filename":"file5"},{"photo_id":"1328335084","filename":"file2"},{"photo_id":"1328335088","filename":"file4"},{"photo_id":"1328335082","filename":"file1"},{"photo_id":"1328335080","filename":"file0"},{"photo_id":"1328335086","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335090":["hashtag1","hashtag2"]},{"1328335084":["hashtag1","hashtag2"]},{"1328335086":["hashtag1","hashtag2"]},{"1328335080":["hashtag1","hashtag2"]},{"1328335088":["hashtag1","hashtag2"]},{"1328335082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335090, 1328335084, 1328335086, 1328335080, 1328335088, 1328335082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.647257566452026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:43:21.972736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/42/image_12012025_04_42_02_206347_0002.jpg', '/home/pi/Desktop/images/12012025/04/43/image_12012025_04_43_02_862471_0000.jpg', '/home/pi/Desktop/images/12012025/04/43/image_12012025_04_43_02_862471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/42/image_12012025_04_42_02_206347_0002.jpg
/home/pi/Desktop/images/12012025/04/43/image_12012025_04_43_02_862471_0000.jpg
/home/pi/Desktop/images/12012025/04/43/image_12012025_04_43_02_862471_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335093","1328335097","1328335101"],"photo_ids_order":["1328335093","1328335097","1328335101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2a81f804103d510a56eb7a26c8a778f.jpg","text":"TemporaryFile(/tmp/multipartBody3700278027469410329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653469338,"filename":"image_12012025_04_42_02_206347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3fb658c9f4e93f79b4b70e140455e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2773438142016009972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653469338,"filename":"image_12012025_04_43_02_862471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0984ef681e1509a59fa3ad7f82d90ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1014065259642986194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653469338,"filename":"image_12012025_04_43_02_862471_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335101","file1":"1328335097","file0":"1328335093"},"map_files_photo_id_array":[{"photo_id":"1328335101","filename":"file2"},{"photo_id":"1328335097","filename":"file1"},{"photo_id":"1328335093","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335093":["hashtag1","hashtag2"]},{"1328335097":["hashtag1","hashtag2"]},{"1328335101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335093, 1328335097, 1328335101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.46060371398926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:44:02.989152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:44:22.558835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/43/image_12012025_04_43_02_862471_0003.jpg', '/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0000.jpg', '/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0001.jpg', '/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/43/image_12012025_04_43_02_862471_0003.jpg
/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0000.jpg
/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0001.jpg
/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335141","1328335155","1328335149","1328335152"],"photo_ids_order":["1328335141","1328335149","1328335152","1328335155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86e65a593bde4d2cf6addbda616a8c27.jpg","text":"TemporaryFile(/tmp/multipartBody1895670419429373976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653532190,"filename":"image_12012025_04_43_02_862471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f5ef443b397a9ea3a3d03dfc911d9e6.jpg","text":"TemporaryFile(/tmp/multipartBody7965731689700172337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653532190,"filename":"image_12012025_04_44_02_426072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbe7e3857dacbb5629a1dcb4d4f25d67.jpg","text":"TemporaryFile(/tmp/multipartBody4401981973698622709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653532190,"filename":"image_12012025_04_44_02_426072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b89bc2e41af8e58a51cfc40a3a0f6697.jpg","text":"TemporaryFile(/tmp/multipartBody6459255922293139494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653532190,"filename":"image_12012025_04_44_02_426072_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335152","file1":"1328335149","file0":"1328335141","file3":"1328335155"},"map_files_photo_id_array":[{"photo_id":"1328335152","filename":"file2"},{"photo_id":"1328335149","filename":"file1"},{"photo_id":"1328335141","filename":"file0"},{"photo_id":"1328335155","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335141":["hashtag1","hashtag2"]},{"1328335155":["hashtag1","hashtag2"]},{"1328335149":["hashtag1","hashtag2"]},{"1328335152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335141, 1328335155, 1328335149, 1328335152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.62504029273987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:45:02.667375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:45:21.993067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0003.jpg', '/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0000.jpg', '/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0001.jpg', '/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/44/image_12012025_04_44_02_426072_0003.jpg
/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0000.jpg
/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0001.jpg
/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335279","1328335312","1328335245","1328335308"],"photo_ids_order":["1328335245","1328335279","1328335308","1328335312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b961a580da0c37eb649c462801e70787.jpg","text":"TemporaryFile(/tmp/multipartBody2363940617846647213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653591610,"filename":"image_12012025_04_45_02_909054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8b07909c58c81995da8a1d2fef430c7.jpg","text":"TemporaryFile(/tmp/multipartBody7694488359196814840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653591610,"filename":"image_12012025_04_45_02_909054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64ee99b514f31be4558d753693242513.jpg","text":"TemporaryFile(/tmp/multipartBody2998217264268671457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653591610,"filename":"image_12012025_04_44_02_426072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4db0878cb7030771dcf50a312b0d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody4413007315566187574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653591610,"filename":"image_12012025_04_45_02_909054_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335308","file1":"1328335279","file0":"1328335245","file3":"1328335312"},"map_files_photo_id_array":[{"photo_id":"1328335308","filename":"file2"},{"photo_id":"1328335279","filename":"file1"},{"photo_id":"1328335245","filename":"file0"},{"photo_id":"1328335312","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335279":["hashtag1","hashtag2"]},{"1328335312":["hashtag1","hashtag2"]},{"1328335245":["hashtag1","hashtag2"]},{"1328335308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335279, 1328335312, 1328335245, 1328335308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24442148208618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:46:22.687823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0003.jpg', '/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0000.jpg', '/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0001.jpg', '/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0003.jpg
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0000.jpg
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0001.jpg
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.204867124557495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:47:02.729623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0003.jpg', '/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0000.jpg', '/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0001.jpg', '/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/45/image_12012025_04_45_02_909054_0003.jpg
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0000.jpg
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0001.jpg
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335330","1328335333","1328335335","1328335331"],"photo_ids_order":["1328335330","1328335331","1328335333","1328335335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db54bceb65ab4e2d27faa2f3d9e38ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2555218206008427209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653692392,"filename":"image_12012025_04_45_02_909054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6dcd16cd8be31a00abb079e9b4d32904.jpg","text":"TemporaryFile(/tmp/multipartBody2075652040591866002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653692392,"filename":"image_12012025_04_46_02_394793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6b560343b3dee0fb029a9017e53b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody8471427522592080447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653692392,"filename":"image_12012025_04_46_02_394793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9327e7a62dec24881c5f4b6e3cffebfe.jpg","text":"TemporaryFile(/tmp/multipartBody6590817058904356274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653692392,"filename":"image_12012025_04_46_02_394793_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335333","file1":"1328335331","file0":"1328335330","file3":"1328335335"},"map_files_photo_id_array":[{"photo_id":"1328335333","filename":"file2"},{"photo_id":"1328335331","filename":"file1"},{"photo_id":"1328335330","filename":"file0"},{"photo_id":"1328335335","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335330":["hashtag1","hashtag2"]},{"1328335333":["hashtag1","hashtag2"]},{"1328335335":["hashtag1","hashtag2"]},{"1328335331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335330, 1328335333, 1328335335, 1328335331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44649648666382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:48:02.279051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0003.jpg', '/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0000.jpg', '/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0003.jpg
/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0000.jpg
/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_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.01409125328064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:48:21.853731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0003.jpg', '/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0000.jpg', '/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0001.jpg', '/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0002.jpg', '/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0000.jpg', '/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/46/image_12012025_04_46_02_394793_0003.jpg
/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0000.jpg
/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0001.jpg
/home/pi/Desktop/images/12012025/04/47/image_12012025_04_47_02_989143_0002.jpg
/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0000.jpg
/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335381","1328335357","1328335377","1328335371","1328335374","1328335379"],"photo_ids_order":["1328335357","1328335371","1328335374","1328335377","1328335379","1328335381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f53a0d4a7736a756454fd7c96d6fa0f.jpg","text":"TemporaryFile(/tmp/multipartBody5439110128219477751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653775943,"filename":"image_12012025_04_48_02_514100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ef451d57624afeeb01efd0d2a71a5ae.jpg","text":"TemporaryFile(/tmp/multipartBody5639590725699996370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653775943,"filename":"image_12012025_04_46_02_394793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91d81c387126ea4dac16f593ab2b1981.jpg","text":"TemporaryFile(/tmp/multipartBody8834160124486163267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653775943,"filename":"image_12012025_04_47_02_989143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b5c4b56430d11b53680ae96f19a7981.jpg","text":"TemporaryFile(/tmp/multipartBody4381705622054951884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653775943,"filename":"image_12012025_04_47_02_989143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae5c1d3267f319c5004be8bb5b014e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3327750623043604884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653775943,"filename":"image_12012025_04_47_02_989143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5c48ae38943af6f8b49ad0105a5eadd.jpg","text":"TemporaryFile(/tmp/multipartBody1430415638182590710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653775943,"filename":"image_12012025_04_48_02_514100_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335374","file1":"1328335371","file0":"1328335357","file4":"1328335379","file5":"1328335381","file3":"1328335377"},"map_files_photo_id_array":[{"photo_id":"1328335381","filename":"file5"},{"photo_id":"1328335374","filename":"file2"},{"photo_id":"1328335379","filename":"file4"},{"photo_id":"1328335371","filename":"file1"},{"photo_id":"1328335357","filename":"file0"},{"photo_id":"1328335377","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335381":["hashtag1","hashtag2"]},{"1328335357":["hashtag1","hashtag2"]},{"1328335377":["hashtag1","hashtag2"]},{"1328335371":["hashtag1","hashtag2"]},{"1328335374":["hashtag1","hashtag2"]},{"1328335379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335381, 1328335357, 1328335377, 1328335371, 1328335374, 1328335379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.49171590805054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:49:22.337717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0002.jpg', '/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0003.jpg', '/home/pi/Desktop/images/12012025/04/49/image_12012025_04_49_02_198208_0000.jpg', '/home/pi/Desktop/images/12012025/04/49/image_12012025_04_49_02_198208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0002.jpg
/home/pi/Desktop/images/12012025/04/48/image_12012025_04_48_02_514100_0003.jpg
/home/pi/Desktop/images/12012025/04/49/image_12012025_04_49_02_198208_0000.jpg
/home/pi/Desktop/images/12012025/04/49/image_12012025_04_49_02_198208_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328335435","1328335621","1328335869","1328336093"],"photo_ids_order":["1328335435","1328335621","1328335869","1328336093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/008a4afd3aaee2bf3ac52071d56ccaa1.jpg","text":"TemporaryFile(/tmp/multipartBody3606177751525272778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653831964,"filename":"image_12012025_04_48_02_514100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ceba22f49d93f5ab1fdad27e986421b.jpg","text":"TemporaryFile(/tmp/multipartBody6495155500099584960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653831964,"filename":"image_12012025_04_48_02_514100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa688f4d14765eb450bc245ed6a151b6.jpg","text":"TemporaryFile(/tmp/multipartBody673454489519301380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653831964,"filename":"image_12012025_04_49_02_198208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43106803d03333683ce88cf8bba26df7.jpg","text":"TemporaryFile(/tmp/multipartBody2607172333211481151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653831964,"filename":"image_12012025_04_49_02_198208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328335869","file1":"1328335621","file0":"1328335435","file3":"1328336093"},"map_files_photo_id_array":[{"photo_id":"1328335869","filename":"file2"},{"photo_id":"1328335621","filename":"file1"},{"photo_id":"1328335435","filename":"file0"},{"photo_id":"1328336093","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328335435":["hashtag1","hashtag2"]},{"1328335621":["hashtag1","hashtag2"]},{"1328335869":["hashtag1","hashtag2"]},{"1328336093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328335435, 1328335621, 1328335869, 1328336093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20423078536987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:50:21.799029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/49/image_12012025_04_49_02_198208_0003.jpg', '/home/pi/Desktop/images/12012025/04/50/image_12012025_04_50_02_692047_0000.jpg', '/home/pi/Desktop/images/12012025/04/50/image_12012025_04_50_02_692047_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/49/image_12012025_04_49_02_198208_0003.jpg
/home/pi/Desktop/images/12012025/04/50/image_12012025_04_50_02_692047_0000.jpg
/home/pi/Desktop/images/12012025/04/50/image_12012025_04_50_02_692047_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328336467","1328336474","1328336470"],"photo_ids_order":["1328336467","1328336470","1328336474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78477421e584263149fbaea5c37f88e9.jpg","text":"TemporaryFile(/tmp/multipartBody6129472029299672451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653889173,"filename":"image_12012025_04_49_02_198208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60abca36928be5cb29846a1eb5adef58.jpg","text":"TemporaryFile(/tmp/multipartBody1225519334125164462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653889173,"filename":"image_12012025_04_50_02_692047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8925070c805f0ccd71802f87e80c776f.jpg","text":"TemporaryFile(/tmp/multipartBody2415341077808602295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653889173,"filename":"image_12012025_04_50_02_692047_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328336474","file1":"1328336470","file0":"1328336467"},"map_files_photo_id_array":[{"photo_id":"1328336474","filename":"file2"},{"photo_id":"1328336470","filename":"file1"},{"photo_id":"1328336467","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328336467":["hashtag1","hashtag2"]},{"1328336474":["hashtag1","hashtag2"]},{"1328336470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328336467, 1328336474, 1328336470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.737002849578857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:51:03.023969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:51:22.358992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/50/image_12012025_04_50_02_692047_0002.jpg', '/home/pi/Desktop/images/12012025/04/51/image_12012025_04_51_02_196954_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/50/image_12012025_04_50_02_692047_0002.jpg
/home/pi/Desktop/images/12012025/04/51/image_12012025_04_51_02_196954_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328336818","1328336820"],"photo_ids_order":["1328336818","1328336820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a7d4d0f1fc3d7c1e760991a89c114ba.jpg","text":"TemporaryFile(/tmp/multipartBody709258456052235439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653947505,"filename":"image_12012025_04_50_02_692047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/205d06a411c9715b6e93daa80ae3cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody7215666758864515127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736653947505,"filename":"image_12012025_04_51_02_196954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328336820","file0":"1328336818"},"map_files_photo_id_array":[{"photo_id":"1328336820","filename":"file1"},{"photo_id":"1328336818","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328336818":["hashtag1","hashtag2"]},{"1328336820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328336818, 1328336820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.133389949798584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:52:02.332268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:52:21.953418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/51/image_12012025_04_51_02_196954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/51/image_12012025_04_51_02_196954_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328336911"],"photo_id":"1328336911","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/15ae540872013d21ce9fb5fce79a58aa.jpg","text":"TemporaryFile(/tmp/multipartBody8974703210953851814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654004871,"filename":"image_12012025_04_51_02_196954_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328336911"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328336911"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.445464372634888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:53:03.268253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:53:22.462513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/52/image_12012025_04_52_02_742825_0003.jpg', '/home/pi/Desktop/images/12012025/04/53/image_12012025_04_53_02_405267_0000.jpg', '/home/pi/Desktop/images/12012025/04/53/image_12012025_04_53_02_405267_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/52/image_12012025_04_52_02_742825_0003.jpg
/home/pi/Desktop/images/12012025/04/53/image_12012025_04_53_02_405267_0000.jpg
/home/pi/Desktop/images/12012025/04/53/image_12012025_04_53_02_405267_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328337191","1328336969","1328337388"],"photo_ids_order":["1328336969","1328337191","1328337388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa62c25f082152584e6952c1ba9e6571.jpg","text":"TemporaryFile(/tmp/multipartBody8084508692252591612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654069852,"filename":"image_12012025_04_53_02_405267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59fa59ace9ae00826e52f37c3bd2fc30.jpg","text":"TemporaryFile(/tmp/multipartBody4033061489059087957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654069852,"filename":"image_12012025_04_52_02_742825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef4ac23511616384c43f57a58b4bf721.jpg","text":"TemporaryFile(/tmp/multipartBody5607393308980874924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654069852,"filename":"image_12012025_04_53_02_405267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328337388","file1":"1328337191","file0":"1328336969"},"map_files_photo_id_array":[{"photo_id":"1328337388","filename":"file2"},{"photo_id":"1328337191","filename":"file1"},{"photo_id":"1328336969","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328337191":["hashtag1","hashtag2"]},{"1328336969":["hashtag1","hashtag2"]},{"1328337388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328337191, 1328336969, 1328337388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.76147437095642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:54:02.692945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:54:22.179076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/53/image_12012025_04_53_02_405267_0003.jpg', '/home/pi/Desktop/images/12012025/04/54/image_12012025_04_54_03_000424_0000.jpg', '/home/pi/Desktop/images/12012025/04/54/image_12012025_04_54_03_000424_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/53/image_12012025_04_53_02_405267_0003.jpg
/home/pi/Desktop/images/12012025/04/54/image_12012025_04_54_03_000424_0000.jpg
/home/pi/Desktop/images/12012025/04/54/image_12012025_04_54_03_000424_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328338079","1328338094","1328338071"],"photo_ids_order":["1328338071","1328338079","1328338094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e14abb4247c6b67c004cdc22a4eb8c3.jpg","text":"TemporaryFile(/tmp/multipartBody9107101771236748624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654129571,"filename":"image_12012025_04_54_03_000424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75acd0d9def1cf366d34c51d02a31cdc.jpg","text":"TemporaryFile(/tmp/multipartBody3579578917352927447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654129571,"filename":"image_12012025_04_54_03_000424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a5b895d7d696a3787b9d783e4532a18.jpg","text":"TemporaryFile(/tmp/multipartBody7831061053926421207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654129571,"filename":"image_12012025_04_53_02_405267_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328338094","file1":"1328338079","file0":"1328338071"},"map_files_photo_id_array":[{"photo_id":"1328338094","filename":"file2"},{"photo_id":"1328338079","filename":"file1"},{"photo_id":"1328338071","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328338079":["hashtag1","hashtag2"]},{"1328338094":["hashtag1","hashtag2"]},{"1328338071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328338079, 1328338094, 1328338071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.127360343933105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:55:02.457522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:55:21.763230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/54/image_12012025_04_54_03_000424_0003.jpg', '/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0000.jpg', '/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0001.jpg', '/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/54/image_12012025_04_54_03_000424_0003.jpg
/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0000.jpg
/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0001.jpg
/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328338454","1328338407","1328338303","1328338405"],"photo_ids_order":["1328338303","1328338405","1328338407","1328338454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87fc8c62ab728f356c615cfbb9aaba63.jpg","text":"TemporaryFile(/tmp/multipartBody3962926548185971127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654191402,"filename":"image_12012025_04_55_02_597087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33d667a715ef46b243a20a7c77504b1a.jpg","text":"TemporaryFile(/tmp/multipartBody484425315618741261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654191402,"filename":"image_12012025_04_55_02_597087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b77ca1dfee9e2848183bfe3b40db8e90.jpg","text":"TemporaryFile(/tmp/multipartBody7816306030060958870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654191402,"filename":"image_12012025_04_54_03_000424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/170482dbb9a1ab56856ee139b43a8952.jpg","text":"TemporaryFile(/tmp/multipartBody284205684573390566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654191402,"filename":"image_12012025_04_55_02_597087_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328338407","file1":"1328338405","file0":"1328338303","file3":"1328338454"},"map_files_photo_id_array":[{"photo_id":"1328338407","filename":"file2"},{"photo_id":"1328338405","filename":"file1"},{"photo_id":"1328338303","filename":"file0"},{"photo_id":"1328338454","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328338454":["hashtag1","hashtag2"]},{"1328338407":["hashtag1","hashtag2"]},{"1328338303":["hashtag1","hashtag2"]},{"1328338405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328338454, 1328338407, 1328338303, 1328338405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34381079673767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:56:22.510267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0003.jpg', '/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0000.jpg', '/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/55/image_12012025_04_55_02_597087_0003.jpg
/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0000.jpg
/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328338500","1328338492","1328338495"],"photo_ids_order":["1328338492","1328338495","1328338500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6b92259afeabc46e4aeb0d0ca826f19.jpg","text":"TemporaryFile(/tmp/multipartBody2701858758547903457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654249899,"filename":"image_12012025_04_56_02_210752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59907aa1302a7be8140985349da7c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody2634113241692663977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654249899,"filename":"image_12012025_04_55_02_597087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9da964f1b6e8c65238e2ee5929a4ea06.jpg","text":"TemporaryFile(/tmp/multipartBody8793958612231194470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654249899,"filename":"image_12012025_04_56_02_210752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328338500","file1":"1328338495","file0":"1328338492"},"map_files_photo_id_array":[{"photo_id":"1328338500","filename":"file2"},{"photo_id":"1328338495","filename":"file1"},{"photo_id":"1328338492","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328338500":["hashtag1","hashtag2"]},{"1328338492":["hashtag1","hashtag2"]},{"1328338495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328338500, 1328338492, 1328338495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.649394512176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 04:57:02.642561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:57:21.989367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0003.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0000.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0001.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0003.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0000.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0001.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_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-12 04:59:02.518375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0003.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0000.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0001.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0003.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0000.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0001.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.293476819992065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 04:59:21.892802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0003.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0000.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0001.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0002.jpg', '/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0003.jpg', '/home/pi/Desktop/images/12012025/04/58/image_12012025_04_58_02_432409_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/56/image_12012025_04_56_02_210752_0003.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0000.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0001.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0002.jpg
/home/pi/Desktop/images/12012025/04/57/image_12012025_04_57_02_868526_0003.jpg
/home/pi/Desktop/images/12012025/04/58/image_12012025_04_58_02_432409_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328338650","1328338653","1328338655","1328338649","1328338646","1328338651"],"photo_ids_order":["1328338646","1328338649","1328338650","1328338651","1328338653","1328338655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c877cec9067cd3cef1579613da49a7c3.jpg","text":"TemporaryFile(/tmp/multipartBody2054657755119005849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654436023,"filename":"image_12012025_04_57_02_868526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4fee8993907dcb82928f2629d7a1c6b.jpg","text":"TemporaryFile(/tmp/multipartBody3917409699669747238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654436023,"filename":"image_12012025_04_57_02_868526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77e598a3155a858c84b7fcea6c1a81ba.jpg","text":"TemporaryFile(/tmp/multipartBody9007313260170067559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654436023,"filename":"image_12012025_04_58_02_432409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51c791a334f45dcd0aa92fda4ce7e12c.jpg","text":"TemporaryFile(/tmp/multipartBody1838510281395099966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654436023,"filename":"image_12012025_04_57_02_868526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23c488f1dbc16ad3c52df8305b9ac7cf.jpg","text":"TemporaryFile(/tmp/multipartBody2200916706998028362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654436023,"filename":"image_12012025_04_56_02_210752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d371a37f0ce0c18bbcaba0224c6ddc4.jpg","text":"TemporaryFile(/tmp/multipartBody8781657576331686119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654436023,"filename":"image_12012025_04_57_02_868526_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328338650","file1":"1328338649","file0":"1328338646","file4":"1328338653","file5":"1328338655","file3":"1328338651"},"map_files_photo_id_array":[{"photo_id":"1328338655","filename":"file5"},{"photo_id":"1328338650","filename":"file2"},{"photo_id":"1328338653","filename":"file4"},{"photo_id":"1328338649","filename":"file1"},{"photo_id":"1328338646","filename":"file0"},{"photo_id":"1328338651","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328338650":["hashtag1","hashtag2"]},{"1328338653":["hashtag1","hashtag2"]},{"1328338655":["hashtag1","hashtag2"]},{"1328338649":["hashtag1","hashtag2"]},{"1328338646":["hashtag1","hashtag2"]},{"1328338651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328338650, 1328338653, 1328338655, 1328338649, 1328338646, 1328338651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46309804916382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:00:22.510136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/04/58/image_12012025_04_58_02_432409_0001.jpg', '/home/pi/Desktop/images/12012025/04/58/image_12012025_04_58_02_432409_0003.jpg', '/home/pi/Desktop/images/12012025/04/59/image_12012025_04_59_02_174567_0000.jpg', '/home/pi/Desktop/images/12012025/04/59/image_12012025_04_59_02_174567_0002.jpg', '/home/pi/Desktop/images/12012025/04/59/image_12012025_04_59_02_174567_0003.jpg', '/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/04/58/image_12012025_04_58_02_432409_0001.jpg
/home/pi/Desktop/images/12012025/04/58/image_12012025_04_58_02_432409_0003.jpg
/home/pi/Desktop/images/12012025/04/59/image_12012025_04_59_02_174567_0000.jpg
/home/pi/Desktop/images/12012025/04/59/image_12012025_04_59_02_174567_0002.jpg
/home/pi/Desktop/images/12012025/04/59/image_12012025_04_59_02_174567_0003.jpg
/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328338958","1328338955","1328338975","1328339029","1328338887","1328339043"],"photo_ids_order":["1328338887","1328338955","1328338958","1328338975","1328339029","1328339043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eb4b96a3e01a80699a98e4ffe3c58cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1810487587871705239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654496588,"filename":"image_12012025_04_59_02_174567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/644c2e4a736046a7e56b40e1e2dee7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3052506569792198853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654496588,"filename":"image_12012025_04_58_02_432409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4605da6b5e6a2a4bfe5c0ad482f66072.jpg","text":"TemporaryFile(/tmp/multipartBody8885275327335052553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654496588,"filename":"image_12012025_04_59_02_174567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89f8bef81cd69023b1a2a9110bfc5b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1332606468529591619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654496588,"filename":"image_12012025_04_59_02_174567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcefcd6efdaa0f8a42182fe08e9baefe.jpg","text":"TemporaryFile(/tmp/multipartBody4896210751305038979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654496588,"filename":"image_12012025_04_58_02_432409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/711af413c7e121e548635e0102efab16.jpg","text":"TemporaryFile(/tmp/multipartBody4822437942296904012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654496588,"filename":"image_12012025_05_00_02_245297_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328338958","file1":"1328338955","file0":"1328338887","file4":"1328339029","file5":"1328339043","file3":"1328338975"},"map_files_photo_id_array":[{"photo_id":"1328339043","filename":"file5"},{"photo_id":"1328338958","filename":"file2"},{"photo_id":"1328339029","filename":"file4"},{"photo_id":"1328338955","filename":"file1"},{"photo_id":"1328338887","filename":"file0"},{"photo_id":"1328338975","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328338958":["hashtag1","hashtag2"]},{"1328338955":["hashtag1","hashtag2"]},{"1328338975":["hashtag1","hashtag2"]},{"1328339029":["hashtag1","hashtag2"]},{"1328338887":["hashtag1","hashtag2"]},{"1328339043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328338958, 1328338955, 1328338975, 1328339029, 1328338887, 1328339043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.85545086860657 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:02:02.970570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0001.jpg', '/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0002.jpg', '/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0003.jpg', '/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0000.jpg', '/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0001.jpg', '/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0001.jpg
/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0002.jpg
/home/pi/Desktop/images/12012025/05/00/image_12012025_05_00_02_245297_0003.jpg
/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0000.jpg
/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0001.jpg
/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340237","1328340240","1328339588","1328340244","1328340151","1328339812"],"photo_ids_order":["1328339588","1328339812","1328340151","1328340237","1328340240","1328340244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e879fbff30eb3eda581a4a7a28df8ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5871207982668442738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654597553,"filename":"image_12012025_05_01_02_935735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e6d0fa68d23d14db1ea794fc7baecce.jpg","text":"TemporaryFile(/tmp/multipartBody917500163491316820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654597553,"filename":"image_12012025_05_01_02_935735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a50b0712a1f358ddc28308d1c217cdd6.jpg","text":"TemporaryFile(/tmp/multipartBody4544946710439874321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654597553,"filename":"image_12012025_05_00_02_245297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26c3ccf88fa3f6f84c84576b996f8b53.jpg","text":"TemporaryFile(/tmp/multipartBody6058218725884998338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654597553,"filename":"image_12012025_05_01_02_935735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f53bf1f6ffeb36954bf23e4de7341328.jpg","text":"TemporaryFile(/tmp/multipartBody5110180420524608780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654597553,"filename":"image_12012025_05_00_02_245297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7b9f782b48d88a0dd64f67eae9d31fa.jpg","text":"TemporaryFile(/tmp/multipartBody6578427267729811352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654597553,"filename":"image_12012025_05_00_02_245297_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340151","file1":"1328339812","file0":"1328339588","file4":"1328340240","file5":"1328340244","file3":"1328340237"},"map_files_photo_id_array":[{"photo_id":"1328340244","filename":"file5"},{"photo_id":"1328340151","filename":"file2"},{"photo_id":"1328340240","filename":"file4"},{"photo_id":"1328339812","filename":"file1"},{"photo_id":"1328339588","filename":"file0"},{"photo_id":"1328340237","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340237":["hashtag1","hashtag2"]},{"1328340240":["hashtag1","hashtag2"]},{"1328339588":["hashtag1","hashtag2"]},{"1328340244":["hashtag1","hashtag2"]},{"1328340151":["hashtag1","hashtag2"]},{"1328339812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340237, 1328340240, 1328339588, 1328340244, 1328340151, 1328339812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.215105056762695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:03:02.701230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0003.jpg', '/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0000.jpg', '/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0003.jpg
/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0000.jpg
/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.18983006477356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:03:22.075747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0003.jpg', '/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0000.jpg', '/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0002.jpg', '/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0003.jpg', '/home/pi/Desktop/images/12012025/05/03/image_12012025_05_03_02_967560_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/01/image_12012025_05_01_02_935735_0003.jpg
/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0000.jpg
/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0002.jpg
/home/pi/Desktop/images/12012025/05/02/image_12012025_05_02_02_506909_0003.jpg
/home/pi/Desktop/images/12012025/05/03/image_12012025_05_03_02_967560_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340576","1328340528","1328340578","1328340574","1328340535"],"photo_ids_order":["1328340528","1328340535","1328340574","1328340576","1328340578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f8a0e465a5dd1b48b45a1e3892c32a9.jpg","text":"TemporaryFile(/tmp/multipartBody1767343414508208844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654674131,"filename":"image_12012025_05_02_02_506909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9acdde9ad782286be66395f7b70cad98.jpg","text":"TemporaryFile(/tmp/multipartBody4140112994998970066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654674131,"filename":"image_12012025_05_01_02_935735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6c6239d647c71b549144f37a9423a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8007398106839507563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654674131,"filename":"image_12012025_05_03_02_967560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea6f5d7953d55ec4971d97cbdb35a00b.jpg","text":"TemporaryFile(/tmp/multipartBody7110767794039685099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654674131,"filename":"image_12012025_05_02_02_506909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d02459ae6d78bd938812fa672da1083f.jpg","text":"TemporaryFile(/tmp/multipartBody5674015304333119984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654674131,"filename":"image_12012025_05_02_02_506909_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340574","file1":"1328340535","file0":"1328340528","file4":"1328340578","file3":"1328340576"},"map_files_photo_id_array":[{"photo_id":"1328340574","filename":"file2"},{"photo_id":"1328340578","filename":"file4"},{"photo_id":"1328340535","filename":"file1"},{"photo_id":"1328340528","filename":"file0"},{"photo_id":"1328340576","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340576":["hashtag1","hashtag2"]},{"1328340528":["hashtag1","hashtag2"]},{"1328340578":["hashtag1","hashtag2"]},{"1328340574":["hashtag1","hashtag2"]},{"1328340535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340576, 1328340528, 1328340578, 1328340574, 1328340535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.35152459144592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:04:22.705066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/03/image_12012025_05_03_02_967560_0002.jpg', '/home/pi/Desktop/images/12012025/05/04/image_12012025_05_04_02_485801_0000.jpg', '/home/pi/Desktop/images/12012025/05/04/image_12012025_05_04_02_485801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/03/image_12012025_05_03_02_967560_0002.jpg
/home/pi/Desktop/images/12012025/05/04/image_12012025_05_04_02_485801_0000.jpg
/home/pi/Desktop/images/12012025/05/04/image_12012025_05_04_02_485801_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340636","1328340647","1328340632"],"photo_ids_order":["1328340632","1328340636","1328340647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d86e57bf573425f45ce6a32817f9234.jpg","text":"TemporaryFile(/tmp/multipartBody2512771070140333370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654730194,"filename":"image_12012025_05_04_02_485801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96f6fccb1c6d9299351282c0916525be.jpg","text":"TemporaryFile(/tmp/multipartBody7155381853617385785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654730194,"filename":"image_12012025_05_04_02_485801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc114162638cc6b68adc32fe35cf77f6.jpg","text":"TemporaryFile(/tmp/multipartBody6588150010600344541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654730194,"filename":"image_12012025_05_03_02_967560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340647","file1":"1328340636","file0":"1328340632"},"map_files_photo_id_array":[{"photo_id":"1328340647","filename":"file2"},{"photo_id":"1328340636","filename":"file1"},{"photo_id":"1328340632","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340636":["hashtag1","hashtag2"]},{"1328340647":["hashtag1","hashtag2"]},{"1328340632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340636, 1328340647, 1328340632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.34284448623657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:05:02.796609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:05:22.233553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/04/image_12012025_05_04_02_485801_0003.jpg', '/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0000.jpg', '/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/04/image_12012025_05_04_02_485801_0003.jpg
/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0000.jpg
/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340755","1328340764","1328340762"],"photo_ids_order":["1328340755","1328340762","1328340764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83ea4f98432386b4f13efd6c926aab08.jpg","text":"TemporaryFile(/tmp/multipartBody8669610782715501089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654789789,"filename":"image_12012025_05_04_02_485801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcf887c3dfd5a5cfb62635ff20bdc3d9.jpg","text":"TemporaryFile(/tmp/multipartBody6870796721441504135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654789789,"filename":"image_12012025_05_05_03_104524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b5e2fc90a611355fc5331910bfcb25c.jpg","text":"TemporaryFile(/tmp/multipartBody2596566340121749875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654789789,"filename":"image_12012025_05_05_03_104524_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340764","file1":"1328340762","file0":"1328340755"},"map_files_photo_id_array":[{"photo_id":"1328340764","filename":"file2"},{"photo_id":"1328340762","filename":"file1"},{"photo_id":"1328340755","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340755":["hashtag1","hashtag2"]},{"1328340764":["hashtag1","hashtag2"]},{"1328340762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340755, 1328340764, 1328340762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.807018041610718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:06:02.347322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:06:21.885609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0002.jpg', '/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0000.jpg', '/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0001.jpg', '/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0002.jpg
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0000.jpg
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0001.jpg
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.779352903366089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:07:03.025554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0002.jpg', '/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0000.jpg', '/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0001.jpg', '/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/05/image_12012025_05_05_03_104524_0002.jpg
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0000.jpg
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0001.jpg
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340794","1328340797","1328340799","1328340795"],"photo_ids_order":["1328340794","1328340795","1328340797","1328340799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4064d25df33b6e2233f8750c8b10edf.jpg","text":"TemporaryFile(/tmp/multipartBody3086465265454454982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654893265,"filename":"image_12012025_05_05_03_104524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4d7a257fa604ceeac5230bdde45a1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5628814604647610707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654893265,"filename":"image_12012025_05_06_02_597714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7530dbcb696c733e8210607f3c22332.jpg","text":"TemporaryFile(/tmp/multipartBody6798686159098307562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654893265,"filename":"image_12012025_05_06_02_597714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ffae10162fa1e8b0678f13d3333002b.jpg","text":"TemporaryFile(/tmp/multipartBody5394584753861899268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654893265,"filename":"image_12012025_05_06_02_597714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340797","file1":"1328340795","file0":"1328340794","file3":"1328340799"},"map_files_photo_id_array":[{"photo_id":"1328340797","filename":"file2"},{"photo_id":"1328340795","filename":"file1"},{"photo_id":"1328340794","filename":"file0"},{"photo_id":"1328340799","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340794":["hashtag1","hashtag2"]},{"1328340797":["hashtag1","hashtag2"]},{"1328340799":["hashtag1","hashtag2"]},{"1328340795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340794, 1328340797, 1328340799, 1328340795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.901588678359985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:08:02.662834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0003.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0000.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0001.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0003.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0000.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0001.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.756406307220459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:08:22.244836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0003.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0000.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0001.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0002.jpg', '/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0003.jpg', '/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/06/image_12012025_05_06_02_597714_0003.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0000.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0001.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0002.jpg
/home/pi/Desktop/images/12012025/05/07/image_12012025_05_07_02_306077_0003.jpg
/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340825","1328340827","1328340829","1328340820","1328340823","1328340817"],"photo_ids_order":["1328340817","1328340820","1328340823","1328340825","1328340827","1328340829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0f23e91c37da32760f15f5223036043.jpg","text":"TemporaryFile(/tmp/multipartBody7585925644919249481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654977083,"filename":"image_12012025_05_07_02_306077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7ba63facef56ae9104deb50a3a012b3.jpg","text":"TemporaryFile(/tmp/multipartBody1196673520405505434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654977083,"filename":"image_12012025_05_07_02_306077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/268cc644eb4964720f7d78049abaad27.jpg","text":"TemporaryFile(/tmp/multipartBody1490429439601640712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654977083,"filename":"image_12012025_05_08_02_888547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1008b367f7522bc4f8bb276489103e9.jpg","text":"TemporaryFile(/tmp/multipartBody8641944887005961735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654977083,"filename":"image_12012025_05_07_02_306077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be2a78d52805e218ce4c6934b5f258b4.jpg","text":"TemporaryFile(/tmp/multipartBody758880749069345551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654977083,"filename":"image_12012025_05_07_02_306077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e0327520b0ecd6d038aa87d7d0d6f63.jpg","text":"TemporaryFile(/tmp/multipartBody2802711182618172904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736654977083,"filename":"image_12012025_05_06_02_597714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340823","file1":"1328340820","file0":"1328340817","file4":"1328340827","file5":"1328340829","file3":"1328340825"},"map_files_photo_id_array":[{"photo_id":"1328340829","filename":"file5"},{"photo_id":"1328340823","filename":"file2"},{"photo_id":"1328340827","filename":"file4"},{"photo_id":"1328340820","filename":"file1"},{"photo_id":"1328340817","filename":"file0"},{"photo_id":"1328340825","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340825":["hashtag1","hashtag2"]},{"1328340827":["hashtag1","hashtag2"]},{"1328340829":["hashtag1","hashtag2"]},{"1328340820":["hashtag1","hashtag2"]},{"1328340823":["hashtag1","hashtag2"]},{"1328340817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340825, 1328340827, 1328340829, 1328340820, 1328340823, 1328340817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82554864883423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:09:21.781168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0001.jpg', '/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0002.jpg', '/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0003.jpg', '/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0000.jpg', '/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0001.jpg', '/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0001.jpg
/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0002.jpg
/home/pi/Desktop/images/12012025/05/08/image_12012025_05_08_02_888547_0003.jpg
/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0000.jpg
/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0001.jpg
/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340846","1328340840","1328340872","1328340863","1328340835","1328340838"],"photo_ids_order":["1328340835","1328340838","1328340840","1328340846","1328340863","1328340872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/324036a8e520ec9a87a11ca8f72fe2e2.jpg","text":"TemporaryFile(/tmp/multipartBody717802369849626860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655036611,"filename":"image_12012025_05_09_02_617596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fefe7dd810f78788b4f4a5659b8af4e.jpg","text":"TemporaryFile(/tmp/multipartBody4013487787401584841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655036611,"filename":"image_12012025_05_08_02_888547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/989e9f4a68ac8d3044685350ad39c97f.jpg","text":"TemporaryFile(/tmp/multipartBody8475987211872905762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655036611,"filename":"image_12012025_05_09_02_617596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/114000ea90d165bb1abe68cd21169b79.jpg","text":"TemporaryFile(/tmp/multipartBody6579222536868966897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655036611,"filename":"image_12012025_05_09_02_617596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/525388b71388e3a2a1f557a097de51d7.jpg","text":"TemporaryFile(/tmp/multipartBody8025686944960358722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655036611,"filename":"image_12012025_05_08_02_888547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/664830bc8e48b9767133b3f11fb7360d.jpg","text":"TemporaryFile(/tmp/multipartBody5007536774823130097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655036611,"filename":"image_12012025_05_08_02_888547_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340840","file1":"1328340838","file0":"1328340835","file4":"1328340863","file5":"1328340872","file3":"1328340846"},"map_files_photo_id_array":[{"photo_id":"1328340872","filename":"file5"},{"photo_id":"1328340840","filename":"file2"},{"photo_id":"1328340863","filename":"file4"},{"photo_id":"1328340838","filename":"file1"},{"photo_id":"1328340835","filename":"file0"},{"photo_id":"1328340846","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340846":["hashtag1","hashtag2"]},{"1328340840":["hashtag1","hashtag2"]},{"1328340872":["hashtag1","hashtag2"]},{"1328340863":["hashtag1","hashtag2"]},{"1328340835":["hashtag1","hashtag2"]},{"1328340838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340846, 1328340840, 1328340872, 1328340863, 1328340835, 1328340838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.33559036254883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:10:22.249838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0003.jpg', '/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0000.jpg', '/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0001.jpg', '/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/09/image_12012025_05_09_02_617596_0003.jpg
/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0000.jpg
/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0001.jpg
/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328340918","1328340988","1328340876","1328340879"],"photo_ids_order":["1328340876","1328340879","1328340918","1328340988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fc0688e66e7c0411eb4304f0c6c7c18.jpg","text":"TemporaryFile(/tmp/multipartBody5823271671288011425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655092561,"filename":"image_12012025_05_10_02_161986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a740612bfe0134f58896203b07ab2dc4.jpg","text":"TemporaryFile(/tmp/multipartBody849133827802642351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655092561,"filename":"image_12012025_05_10_02_161986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24f6a09b3e301a315c37fe8ab4ee158c.jpg","text":"TemporaryFile(/tmp/multipartBody4245811410738336285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655092561,"filename":"image_12012025_05_09_02_617596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e944be382e63e40a19b4e9acda950a2d.jpg","text":"TemporaryFile(/tmp/multipartBody6975506282354579621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655092561,"filename":"image_12012025_05_10_02_161986_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328340918","file1":"1328340879","file0":"1328340876","file3":"1328340988"},"map_files_photo_id_array":[{"photo_id":"1328340918","filename":"file2"},{"photo_id":"1328340879","filename":"file1"},{"photo_id":"1328340876","filename":"file0"},{"photo_id":"1328340988","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328340918":["hashtag1","hashtag2"]},{"1328340988":["hashtag1","hashtag2"]},{"1328340876":["hashtag1","hashtag2"]},{"1328340879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328340918, 1328340988, 1328340876, 1328340879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.832568883895874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:11:22.717944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0003.jpg', '/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0000.jpg', '/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0001.jpg', '/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/10/image_12012025_05_10_02_161986_0003.jpg
/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0000.jpg
/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0001.jpg
/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341001","1328341003","1328341006","1328340999"],"photo_ids_order":["1328340999","1328341001","1328341003","1328341006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d180eaedd19f1198da700496e644a40a.jpg","text":"TemporaryFile(/tmp/multipartBody1237151730793027136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655152991,"filename":"image_12012025_05_11_02_606261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aeb39864e8fdf5bc22b595449fc89f07.jpg","text":"TemporaryFile(/tmp/multipartBody2430607877419018977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655152991,"filename":"image_12012025_05_11_02_606261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00aa0ad20d81bd4e3fb0fec817b73e29.jpg","text":"TemporaryFile(/tmp/multipartBody4038647912752716924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655152991,"filename":"image_12012025_05_11_02_606261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cadc37af3115259a3555f4edd4cbb065.jpg","text":"TemporaryFile(/tmp/multipartBody6352752426431294970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655152991,"filename":"image_12012025_05_10_02_161986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341003","file1":"1328341001","file0":"1328340999","file3":"1328341006"},"map_files_photo_id_array":[{"photo_id":"1328341003","filename":"file2"},{"photo_id":"1328341001","filename":"file1"},{"photo_id":"1328340999","filename":"file0"},{"photo_id":"1328341006","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341001":["hashtag1","hashtag2"]},{"1328341003":["hashtag1","hashtag2"]},{"1328341006":["hashtag1","hashtag2"]},{"1328340999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341001, 1328341003, 1328341006, 1328340999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.368138790130615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:12:22.330579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0003.jpg', '/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0000.jpg', '/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0001.jpg', '/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0003.jpg
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0000.jpg
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0001.jpg
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92355990409851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:13:02.641913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0003.jpg', '/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0000.jpg', '/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0001.jpg', '/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_02_606261_0003.jpg
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0000.jpg
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0001.jpg
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341058","1328341054","1328341053","1328341056"],"photo_ids_order":["1328341053","1328341054","1328341056","1328341058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81f2944f50e9121275e762aefdf8e648.jpg","text":"TemporaryFile(/tmp/multipartBody7531446159809731164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655252990,"filename":"image_12012025_05_12_03_103813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cfa5b0b55fe4308a6458145e7f116ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7585224776875677698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655252990,"filename":"image_12012025_05_12_03_103813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d058dc9d56d3c39bba60894410c9bed.jpg","text":"TemporaryFile(/tmp/multipartBody5429205373146446090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655252990,"filename":"image_12012025_05_11_02_606261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18d913ed75a85403382d45f97937bd58.jpg","text":"TemporaryFile(/tmp/multipartBody1112912543147499461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655252990,"filename":"image_12012025_05_12_03_103813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341056","file1":"1328341054","file0":"1328341053","file3":"1328341058"},"map_files_photo_id_array":[{"photo_id":"1328341056","filename":"file2"},{"photo_id":"1328341054","filename":"file1"},{"photo_id":"1328341053","filename":"file0"},{"photo_id":"1328341058","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341058":["hashtag1","hashtag2"]},{"1328341054":["hashtag1","hashtag2"]},{"1328341053":["hashtag1","hashtag2"]},{"1328341056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341058, 1328341054, 1328341053, 1328341056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15464401245117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:14:02.973210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0003.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0000.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0001.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0003.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0000.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0001.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.952061176300049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:14:22.561470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0003.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0000.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0001.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0002.jpg', '/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0003.jpg', '/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/12/image_12012025_05_12_03_103813_0003.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0000.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0001.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0002.jpg
/home/pi/Desktop/images/12012025/05/13/image_12012025_05_13_02_855999_0003.jpg
/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341081","1328341084","1328341092","1328341086","1328341095","1328341089"],"photo_ids_order":["1328341081","1328341084","1328341086","1328341089","1328341092","1328341095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd3c42832b83f3abf2efd593e8be2fc1.jpg","text":"TemporaryFile(/tmp/multipartBody4760712779892820823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655337717,"filename":"image_12012025_05_12_03_103813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8305eec7374a289e5f8a24bf017e4388.jpg","text":"TemporaryFile(/tmp/multipartBody6633703914952512189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655337717,"filename":"image_12012025_05_13_02_855999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7056b5dc795929a0b1eb9f555446be7f.jpg","text":"TemporaryFile(/tmp/multipartBody2055761852130081238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655337717,"filename":"image_12012025_05_13_02_855999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b00fe362778eed198c6eea63a37297c6.jpg","text":"TemporaryFile(/tmp/multipartBody263411367341480964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655337717,"filename":"image_12012025_05_13_02_855999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6cdcfc8c76d5fa2e87de341106621add.jpg","text":"TemporaryFile(/tmp/multipartBody1051229995478507107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655337717,"filename":"image_12012025_05_14_02_365890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02003846e397c92a493a6f1868caca61.jpg","text":"TemporaryFile(/tmp/multipartBody6976407063776767342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655337717,"filename":"image_12012025_05_13_02_855999_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341086","file1":"1328341084","file0":"1328341081","file4":"1328341092","file5":"1328341095","file3":"1328341089"},"map_files_photo_id_array":[{"photo_id":"1328341095","filename":"file5"},{"photo_id":"1328341086","filename":"file2"},{"photo_id":"1328341092","filename":"file4"},{"photo_id":"1328341084","filename":"file1"},{"photo_id":"1328341081","filename":"file0"},{"photo_id":"1328341089","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341081":["hashtag1","hashtag2"]},{"1328341084":["hashtag1","hashtag2"]},{"1328341092":["hashtag1","hashtag2"]},{"1328341086":["hashtag1","hashtag2"]},{"1328341095":["hashtag1","hashtag2"]},{"1328341089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341081, 1328341084, 1328341092, 1328341086, 1328341095, 1328341089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.10635733604431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:15:22.166098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0001.jpg', '/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0002.jpg', '/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0003.jpg', '/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0000.jpg', '/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0001.jpg', '/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0001.jpg
/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0002.jpg
/home/pi/Desktop/images/12012025/05/14/image_12012025_05_14_02_365890_0003.jpg
/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0000.jpg
/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0001.jpg
/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341163","1328341169","1328341127","1328341141","1328341122","1328341131"],"photo_ids_order":["1328341122","1328341127","1328341131","1328341141","1328341163","1328341169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6aff593a87acfcaf311be323ac6c6d58.jpg","text":"TemporaryFile(/tmp/multipartBody1431995605781836270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655397130,"filename":"image_12012025_05_15_03_027036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b539ad21cd82a405c65c01b7c30ac9b6.jpg","text":"TemporaryFile(/tmp/multipartBody3046786468930699491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655397130,"filename":"image_12012025_05_15_03_027036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6fa52b81000b1e87470a7548aa640d2.jpg","text":"TemporaryFile(/tmp/multipartBody3937790202708079613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655397130,"filename":"image_12012025_05_14_02_365890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eae07c04639ecb8afcda05e19de9bb0a.jpg","text":"TemporaryFile(/tmp/multipartBody8668817889877225715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655397130,"filename":"image_12012025_05_15_03_027036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0fc23676b4f833a315b6385f86df708.jpg","text":"TemporaryFile(/tmp/multipartBody4859972206876704575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655397130,"filename":"image_12012025_05_14_02_365890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81f197b3ffc67da96a95967adb1ef04c.jpg","text":"TemporaryFile(/tmp/multipartBody4050938544325450696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655397130,"filename":"image_12012025_05_14_02_365890_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341131","file1":"1328341127","file0":"1328341122","file4":"1328341163","file5":"1328341169","file3":"1328341141"},"map_files_photo_id_array":[{"photo_id":"1328341169","filename":"file5"},{"photo_id":"1328341131","filename":"file2"},{"photo_id":"1328341163","filename":"file4"},{"photo_id":"1328341127","filename":"file1"},{"photo_id":"1328341122","filename":"file0"},{"photo_id":"1328341141","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341163":["hashtag1","hashtag2"]},{"1328341169":["hashtag1","hashtag2"]},{"1328341127":["hashtag1","hashtag2"]},{"1328341141":["hashtag1","hashtag2"]},{"1328341122":["hashtag1","hashtag2"]},{"1328341131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341163, 1328341169, 1328341127, 1328341141, 1328341122, 1328341131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45779514312744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:16:22.670425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0003.jpg', '/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0000.jpg', '/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0001.jpg', '/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/15/image_12012025_05_15_03_027036_0003.jpg
/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0000.jpg
/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0001.jpg
/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341523","1328341526","1328341529","1328341520"],"photo_ids_order":["1328341520","1328341523","1328341526","1328341529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/504f793f2a5ccd1a2b896927d3c98a32.jpg","text":"TemporaryFile(/tmp/multipartBody2634097945546536687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655452921,"filename":"image_12012025_05_16_02_525022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f80c6b7b31d01fedfd09a3c2f497a36c.jpg","text":"TemporaryFile(/tmp/multipartBody4505858009869056020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655452921,"filename":"image_12012025_05_16_02_525022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a120e9b0fd5c2a43192d7e6f494165a.jpg","text":"TemporaryFile(/tmp/multipartBody4193662970638720839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655452921,"filename":"image_12012025_05_16_02_525022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2627b004127c29cdf76f74eaf03b136e.jpg","text":"TemporaryFile(/tmp/multipartBody5802884641396404442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655452921,"filename":"image_12012025_05_15_03_027036_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341526","file1":"1328341523","file0":"1328341520","file3":"1328341529"},"map_files_photo_id_array":[{"photo_id":"1328341526","filename":"file2"},{"photo_id":"1328341523","filename":"file1"},{"photo_id":"1328341520","filename":"file0"},{"photo_id":"1328341529","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341523":["hashtag1","hashtag2"]},{"1328341526":["hashtag1","hashtag2"]},{"1328341529":["hashtag1","hashtag2"]},{"1328341520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341523, 1328341526, 1328341529, 1328341520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.928544759750366 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-12 05:17:22.175689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0003.jpg', '/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0000.jpg', '/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0001.jpg', '/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/16/image_12012025_05_16_02_525022_0003.jpg
/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0000.jpg
/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0001.jpg
/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341748","1328341744","1328341773","1328341746"],"photo_ids_order":["1328341744","1328341746","1328341748","1328341773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d872ee61661a3ccc88b04e1d3cfec287.jpg","text":"TemporaryFile(/tmp/multipartBody8359185050218996327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655512344,"filename":"image_12012025_05_17_03_058755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e87d7671204ad71d96bd7cc96b2296d.jpg","text":"TemporaryFile(/tmp/multipartBody8051708476035722677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655512344,"filename":"image_12012025_05_16_02_525022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7f593476e1b2ecb9d006a695d60302f.jpg","text":"TemporaryFile(/tmp/multipartBody1657967326267875765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655512344,"filename":"image_12012025_05_17_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/12/b927f4bbb685ee52a9bc7da627a9013a.jpg","text":"TemporaryFile(/tmp/multipartBody8920063482545210452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655512344,"filename":"image_12012025_05_17_03_058755_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341748","file1":"1328341746","file0":"1328341744","file3":"1328341773"},"map_files_photo_id_array":[{"photo_id":"1328341748","filename":"file2"},{"photo_id":"1328341746","filename":"file1"},{"photo_id":"1328341744","filename":"file0"},{"photo_id":"1328341773","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341748":["hashtag1","hashtag2"]},{"1328341744":["hashtag1","hashtag2"]},{"1328341773":["hashtag1","hashtag2"]},{"1328341746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341748, 1328341744, 1328341773, 1328341746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84916853904724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:18:03.042192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:18:22.641185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0003.jpg', '/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0000.jpg', '/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0001.jpg', '/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0003.jpg
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0000.jpg
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0001.jpg
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.972293853759766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:19:02.663467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0003.jpg', '/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0000.jpg', '/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0001.jpg', '/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/17/image_12012025_05_17_03_058755_0003.jpg
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0000.jpg
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0001.jpg
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328341913","1328341916","1328341910","1328341911"],"photo_ids_order":["1328341910","1328341911","1328341913","1328341916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a55f0f65b54048507b51d1b1011f34b0.jpg","text":"TemporaryFile(/tmp/multipartBody4053002129736116974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655613099,"filename":"image_12012025_05_18_02_540623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4690ec97c5295c5bd137571915c7777c.jpg","text":"TemporaryFile(/tmp/multipartBody4085966632840129384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655613099,"filename":"image_12012025_05_18_02_540623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00384c9254498dd8eea9c53d4f035f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2381856745006057175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655613099,"filename":"image_12012025_05_17_03_058755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9d3ef71dd95dcf553b06cf72d59e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody4286190823460958136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655613099,"filename":"image_12012025_05_18_02_540623_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328341913","file1":"1328341911","file0":"1328341910","file3":"1328341916"},"map_files_photo_id_array":[{"photo_id":"1328341913","filename":"file2"},{"photo_id":"1328341911","filename":"file1"},{"photo_id":"1328341910","filename":"file0"},{"photo_id":"1328341916","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328341913":["hashtag1","hashtag2"]},{"1328341916":["hashtag1","hashtag2"]},{"1328341910":["hashtag1","hashtag2"]},{"1328341911":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328341913, 1328341916, 1328341910, 1328341911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.644293785095215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:20:02.265187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0003.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0000.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0001.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0003.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0000.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0001.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.786980628967285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:20:21.804982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0003.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0000.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0001.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0002.jpg', '/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0003.jpg', '/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/18/image_12012025_05_18_02_540623_0003.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0000.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0001.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0002.jpg
/home/pi/Desktop/images/12012025/05/19/image_12012025_05_19_03_013102_0003.jpg
/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342051","1328342045","1328342042","1328342053","1328342047","1328342049"],"photo_ids_order":["1328342042","1328342045","1328342047","1328342049","1328342051","1328342053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f94531dd07fdbbfc93ba9a1753325869.jpg","text":"TemporaryFile(/tmp/multipartBody2152335607800120403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655696721,"filename":"image_12012025_05_19_03_013102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f67d429e21ee34f0489af79f8bf44ae.jpg","text":"TemporaryFile(/tmp/multipartBody7220797212181346515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655696721,"filename":"image_12012025_05_19_03_013102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/010cb5fcfd578e4b5cc0b0bbdc8667ef.jpg","text":"TemporaryFile(/tmp/multipartBody7727639306394162741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655696721,"filename":"image_12012025_05_18_02_540623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89258b34710f05ff8c631432d848920e.jpg","text":"TemporaryFile(/tmp/multipartBody7484892864233481410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655696721,"filename":"image_12012025_05_20_02_509387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d7a21a4522df2597edbf98a192ffeb0.jpg","text":"TemporaryFile(/tmp/multipartBody8173447946395580740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655696721,"filename":"image_12012025_05_19_03_013102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8d12479924852471b60e4898a9e5fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4696399103060368025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655696721,"filename":"image_12012025_05_19_03_013102_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342047","file1":"1328342045","file0":"1328342042","file4":"1328342051","file5":"1328342053","file3":"1328342049"},"map_files_photo_id_array":[{"photo_id":"1328342053","filename":"file5"},{"photo_id":"1328342047","filename":"file2"},{"photo_id":"1328342051","filename":"file4"},{"photo_id":"1328342045","filename":"file1"},{"photo_id":"1328342042","filename":"file0"},{"photo_id":"1328342049","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342051":["hashtag1","hashtag2"]},{"1328342045":["hashtag1","hashtag2"]},{"1328342042":["hashtag1","hashtag2"]},{"1328342053":["hashtag1","hashtag2"]},{"1328342047":["hashtag1","hashtag2"]},{"1328342049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342051, 1328342045, 1328342042, 1328342053, 1328342047, 1328342049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.70288801193237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:21:22.264199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0001.jpg', '/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0002.jpg', '/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0003.jpg', '/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0000.jpg', '/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0001.jpg', '/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0001.jpg
/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0002.jpg
/home/pi/Desktop/images/12012025/05/20/image_12012025_05_20_02_509387_0003.jpg
/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0000.jpg
/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0001.jpg
/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342098","1328342071","1328342065","1328342091","1328342100","1328342093"],"photo_ids_order":["1328342065","1328342071","1328342091","1328342093","1328342098","1328342100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/792aec05ee3b9ce73bed52003a4f5c45.jpg","text":"TemporaryFile(/tmp/multipartBody9090134366825987280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655757276,"filename":"image_12012025_05_21_02_128272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d255ee39f15dee015c838c5d2a89afc.jpg","text":"TemporaryFile(/tmp/multipartBody5166993999514442572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655757276,"filename":"image_12012025_05_20_02_509387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/742c8ff145486c75f96220a2c79c6c18.jpg","text":"TemporaryFile(/tmp/multipartBody3849446549768363171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655757276,"filename":"image_12012025_05_20_02_509387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4a180ce27ec22600da0a227a6edc454.jpg","text":"TemporaryFile(/tmp/multipartBody6687685190396178719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655757276,"filename":"image_12012025_05_20_02_509387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c6c0a6082e030623c9cb2dccbdec717.jpg","text":"TemporaryFile(/tmp/multipartBody2251932680315183657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655757276,"filename":"image_12012025_05_21_02_128272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5fe8149665b70569c9865f7ec99460f3.jpg","text":"TemporaryFile(/tmp/multipartBody5920164625897235112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655757276,"filename":"image_12012025_05_21_02_128272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342091","file1":"1328342071","file0":"1328342065","file4":"1328342098","file5":"1328342100","file3":"1328342093"},"map_files_photo_id_array":[{"photo_id":"1328342100","filename":"file5"},{"photo_id":"1328342091","filename":"file2"},{"photo_id":"1328342098","filename":"file4"},{"photo_id":"1328342071","filename":"file1"},{"photo_id":"1328342065","filename":"file0"},{"photo_id":"1328342093","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342098":["hashtag1","hashtag2"]},{"1328342071":["hashtag1","hashtag2"]},{"1328342065":["hashtag1","hashtag2"]},{"1328342091":["hashtag1","hashtag2"]},{"1328342100":["hashtag1","hashtag2"]},{"1328342093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342098, 1328342071, 1328342065, 1328342091, 1328342100, 1328342093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.79070711135864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:22:22.681405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0003.jpg', '/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0000.jpg', '/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0001.jpg', '/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/21/image_12012025_05_21_02_128272_0003.jpg
/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0000.jpg
/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0001.jpg
/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342129","1328342117","1328342125","1328342121"],"photo_ids_order":["1328342117","1328342121","1328342125","1328342129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/31a241deb4d52b1793ad158e4aab8d68.jpg","text":"TemporaryFile(/tmp/multipartBody8630107646658150815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655812858,"filename":"image_12012025_05_22_02_570919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4150133927fa2a0c445f87eab835c837.jpg","text":"TemporaryFile(/tmp/multipartBody6766320584936296751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655812858,"filename":"image_12012025_05_21_02_128272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/648e4616eb13aa231ac3ef74f9e33d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7044935332926273536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655812858,"filename":"image_12012025_05_22_02_570919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b74b31cfe0e16aca25bc93f988f7b06d.jpg","text":"TemporaryFile(/tmp/multipartBody5469790150825124211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655812858,"filename":"image_12012025_05_22_02_570919_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342125","file1":"1328342121","file0":"1328342117","file3":"1328342129"},"map_files_photo_id_array":[{"photo_id":"1328342125","filename":"file2"},{"photo_id":"1328342121","filename":"file1"},{"photo_id":"1328342117","filename":"file0"},{"photo_id":"1328342129","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342129":["hashtag1","hashtag2"]},{"1328342117":["hashtag1","hashtag2"]},{"1328342125":["hashtag1","hashtag2"]},{"1328342121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342129, 1328342117, 1328342125, 1328342121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79937195777893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:23:02.728261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:23:22.201141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0003.jpg', '/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0000.jpg', '/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0001.jpg', '/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/22/image_12012025_05_22_02_570919_0003.jpg
/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0000.jpg
/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0001.jpg
/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342179","1328342172","1328342175","1328342177"],"photo_ids_order":["1328342172","1328342175","1328342177","1328342179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/012dfeec67780f50ed36227b6315920d.jpg","text":"TemporaryFile(/tmp/multipartBody2825731671898696525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655872425,"filename":"image_12012025_05_23_03_124905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/681778fec5fbb5a9420402e6f36ab846.jpg","text":"TemporaryFile(/tmp/multipartBody9166860611261663036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655872425,"filename":"image_12012025_05_22_02_570919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/428b2e6423c0cb9386df3a68d0d27622.jpg","text":"TemporaryFile(/tmp/multipartBody8620194551239185440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655872425,"filename":"image_12012025_05_23_03_124905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20d1b40fe4dbd939ce341337134267fe.jpg","text":"TemporaryFile(/tmp/multipartBody7470372883203818181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655872425,"filename":"image_12012025_05_23_03_124905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342177","file1":"1328342175","file0":"1328342172","file3":"1328342179"},"map_files_photo_id_array":[{"photo_id":"1328342177","filename":"file2"},{"photo_id":"1328342175","filename":"file1"},{"photo_id":"1328342172","filename":"file0"},{"photo_id":"1328342179","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342179":["hashtag1","hashtag2"]},{"1328342172":["hashtag1","hashtag2"]},{"1328342175":["hashtag1","hashtag2"]},{"1328342177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342179, 1328342172, 1328342175, 1328342177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67369246482849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:24:02.361629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:24:21.938392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0003.jpg', '/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0000.jpg', '/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0001.jpg', '/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0003.jpg
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0000.jpg
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0001.jpg
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.868446588516235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:25:03.140079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0003.jpg', '/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0000.jpg', '/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0001.jpg', '/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/23/image_12012025_05_23_03_124905_0003.jpg
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0000.jpg
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0001.jpg
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342221","1328342218","1328342223","1328342217"],"photo_ids_order":["1328342217","1328342218","1328342221","1328342223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a28141081e4f70e3280bb6f4767a0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5297430600294620157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655973440,"filename":"image_12012025_05_24_02_674365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/faf81eafc8b5da4da463f8a7238edcd8.jpg","text":"TemporaryFile(/tmp/multipartBody5457542065625228691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655973440,"filename":"image_12012025_05_24_02_674365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0df03f1698f878d1894f99fac7e12539.jpg","text":"TemporaryFile(/tmp/multipartBody6317660816855370954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655973440,"filename":"image_12012025_05_24_02_674365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be7e62fa2bba9ffc57d00dd1fe391e93.jpg","text":"TemporaryFile(/tmp/multipartBody3940211753962460236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736655973440,"filename":"image_12012025_05_23_03_124905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342221","file1":"1328342218","file0":"1328342217","file3":"1328342223"},"map_files_photo_id_array":[{"photo_id":"1328342221","filename":"file2"},{"photo_id":"1328342218","filename":"file1"},{"photo_id":"1328342217","filename":"file0"},{"photo_id":"1328342223","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342221":["hashtag1","hashtag2"]},{"1328342218":["hashtag1","hashtag2"]},{"1328342223":["hashtag1","hashtag2"]},{"1328342217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342221, 1328342218, 1328342223, 1328342217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.807563066482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:26:02.565150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0003.jpg', '/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0000.jpg', '/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0001.jpg', '/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/24/image_12012025_05_24_02_674365_0003.jpg
/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0000.jpg
/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0001.jpg
/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342237","1328342234","1328342239","1328342235"],"photo_ids_order":["1328342234","1328342235","1328342237","1328342239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a750c83846603122e3b42b3a2396495c.jpg","text":"TemporaryFile(/tmp/multipartBody1077433864015667274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656032785,"filename":"image_12012025_05_25_02_285917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03781582279aad3a6a8dbc0778c593aa.jpg","text":"TemporaryFile(/tmp/multipartBody4236028818895669869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656032785,"filename":"image_12012025_05_24_02_674365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c83dcb339c7a16dd9dbb63121471b05.jpg","text":"TemporaryFile(/tmp/multipartBody6838531368295537770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656032785,"filename":"image_12012025_05_25_02_285917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a03f15f771d177534f4f1fe372829fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4143782367299327508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656032785,"filename":"image_12012025_05_25_02_285917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342237","file1":"1328342235","file0":"1328342234","file3":"1328342239"},"map_files_photo_id_array":[{"photo_id":"1328342237","filename":"file2"},{"photo_id":"1328342235","filename":"file1"},{"photo_id":"1328342234","filename":"file0"},{"photo_id":"1328342239","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342237":["hashtag1","hashtag2"]},{"1328342234":["hashtag1","hashtag2"]},{"1328342239":["hashtag1","hashtag2"]},{"1328342235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342237, 1328342234, 1328342239, 1328342235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81067442893982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:27:03.204830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0003.jpg', '/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0000.jpg', '/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0001.jpg', '/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/25/image_12012025_05_25_02_285917_0003.jpg
/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0000.jpg
/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0001.jpg
/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328342279","1328342278","1328342287","1328342285"],"photo_ids_order":["1328342278","1328342279","1328342285","1328342287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a831819d8642dfc3992a8f1a7eea9c0.jpg","text":"TemporaryFile(/tmp/multipartBody9005059664560666561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656093601,"filename":"image_12012025_05_26_02_859465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66050f130ed47bd9a4ea1fef5b2c9235.jpg","text":"TemporaryFile(/tmp/multipartBody4588338682695503298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656093601,"filename":"image_12012025_05_25_02_285917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1e21d6e83067684137d29d4e60f6051.jpg","text":"TemporaryFile(/tmp/multipartBody8436800097510136711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656093601,"filename":"image_12012025_05_26_02_859465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e9bc801d6cea28b77fe0c826fe2573b.jpg","text":"TemporaryFile(/tmp/multipartBody6022155617379124938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656093601,"filename":"image_12012025_05_26_02_859465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328342285","file1":"1328342279","file0":"1328342278","file3":"1328342287"},"map_files_photo_id_array":[{"photo_id":"1328342285","filename":"file2"},{"photo_id":"1328342279","filename":"file1"},{"photo_id":"1328342278","filename":"file0"},{"photo_id":"1328342287","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328342279":["hashtag1","hashtag2"]},{"1328342278":["hashtag1","hashtag2"]},{"1328342287":["hashtag1","hashtag2"]},{"1328342285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328342279, 1328342278, 1328342287, 1328342285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.267472982406616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:28:02.653061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0003.jpg', '/home/pi/Desktop/images/12012025/05/27/image_12012025_05_27_02_458519_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/26/image_12012025_05_26_02_859465_0003.jpg
/home/pi/Desktop/images/12012025/05/27/image_12012025_05_27_02_458519_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328343010","1328343011"],"photo_ids_order":["1328343010","1328343011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/933c87eeb8697a63fa2a54b5d166b231.jpg","text":"TemporaryFile(/tmp/multipartBody1925061771650474635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656148146,"filename":"image_12012025_05_26_02_859465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4663102ca18879c73b2c7c1a56b50de9.jpg","text":"TemporaryFile(/tmp/multipartBody7046256896682476560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656148146,"filename":"image_12012025_05_27_02_458519_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328343011","file0":"1328343010"},"map_files_photo_id_array":[{"photo_id":"1328343011","filename":"file1"},{"photo_id":"1328343010","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328343010":["hashtag1","hashtag2"]},{"1328343011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328343010, 1328343011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.214888095855713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:29:02.386062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/27/image_12012025_05_27_02_458519_0002.jpg', '/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0000.jpg', '/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0001.jpg', '/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/27/image_12012025_05_27_02_458519_0002.jpg
/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0000.jpg
/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0001.jpg
/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328343354","1328343405","1328343347","1328343320"],"photo_ids_order":["1328343320","1328343347","1328343354","1328343405"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17255d9471b0d1fdf9352725151daef6.jpg","text":"TemporaryFile(/tmp/multipartBody7628732015283001105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656212950,"filename":"image_12012025_05_28_03_063042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9bb229f06b81aefdfb85dfd6a155d7f9.jpg","text":"TemporaryFile(/tmp/multipartBody2061436546455406020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656212950,"filename":"image_12012025_05_28_03_063042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ff1f177744d955434ddeaa036de0367.jpg","text":"TemporaryFile(/tmp/multipartBody1765331971801731289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656212950,"filename":"image_12012025_05_28_03_063042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9067e414ef41e01bc0d959ae1adc06f9.jpg","text":"TemporaryFile(/tmp/multipartBody531847583759877469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656212950,"filename":"image_12012025_05_27_02_458519_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328343354","file1":"1328343347","file0":"1328343320","file3":"1328343405"},"map_files_photo_id_array":[{"photo_id":"1328343354","filename":"file2"},{"photo_id":"1328343347","filename":"file1"},{"photo_id":"1328343320","filename":"file0"},{"photo_id":"1328343405","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328343354":["hashtag1","hashtag2"]},{"1328343405":["hashtag1","hashtag2"]},{"1328343347":["hashtag1","hashtag2"]},{"1328343320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328343354, 1328343405, 1328343347, 1328343320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.169328689575195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:30:02.844155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0003.jpg', '/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0000.jpg', '/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0001.jpg', '/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/28/image_12012025_05_28_03_063042_0003.jpg
/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0000.jpg
/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0001.jpg
/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328343478","1328343480","1328343482","1328343476"],"photo_ids_order":["1328343476","1328343478","1328343480","1328343482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1803f60b90d4289bc5834c7a0cb494f4.jpg","text":"TemporaryFile(/tmp/multipartBody4197318661100586699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656273241,"filename":"image_12012025_05_29_02_649934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77d97ef0c3639e1682525ec98f8fa693.jpg","text":"TemporaryFile(/tmp/multipartBody4368123686968514809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656273241,"filename":"image_12012025_05_29_02_649934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc054962302c8fd712c25cb49b98ac5d.jpg","text":"TemporaryFile(/tmp/multipartBody1716448842076971638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656273241,"filename":"image_12012025_05_29_02_649934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4eed0986ad4560f96cade8dffc846de0.jpg","text":"TemporaryFile(/tmp/multipartBody7540580027404124288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656273241,"filename":"image_12012025_05_28_03_063042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328343480","file1":"1328343478","file0":"1328343476","file3":"1328343482"},"map_files_photo_id_array":[{"photo_id":"1328343480","filename":"file2"},{"photo_id":"1328343478","filename":"file1"},{"photo_id":"1328343476","filename":"file0"},{"photo_id":"1328343482","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328343478":["hashtag1","hashtag2"]},{"1328343480":["hashtag1","hashtag2"]},{"1328343482":["hashtag1","hashtag2"]},{"1328343476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328343478, 1328343480, 1328343482, 1328343476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47916579246521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:31:02.588085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0003.jpg', '/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0000.jpg', '/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0001.jpg', '/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/29/image_12012025_05_29_02_649934_0003.jpg
/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0000.jpg
/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0001.jpg
/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328343517","1328343516","1328343519","1328343521"],"photo_ids_order":["1328343516","1328343517","1328343519","1328343521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f13617cbfd10668fa5db1ae293da2927.jpg","text":"TemporaryFile(/tmp/multipartBody5239716141235663281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656332793,"filename":"image_12012025_05_30_02_139034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca8811193f9bcf65564dd740b32de2a2.jpg","text":"TemporaryFile(/tmp/multipartBody8967312679932759435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656332793,"filename":"image_12012025_05_29_02_649934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f202cfda98957b109b2e74a6fea4e816.jpg","text":"TemporaryFile(/tmp/multipartBody8729697982354621832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656332793,"filename":"image_12012025_05_30_02_139034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73ecbfe551defaeba06f3502b533dac4.jpg","text":"TemporaryFile(/tmp/multipartBody2875322124600740258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656332793,"filename":"image_12012025_05_30_02_139034_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328343519","file1":"1328343517","file0":"1328343516","file3":"1328343521"},"map_files_photo_id_array":[{"photo_id":"1328343519","filename":"file2"},{"photo_id":"1328343517","filename":"file1"},{"photo_id":"1328343516","filename":"file0"},{"photo_id":"1328343521","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328343517":["hashtag1","hashtag2"]},{"1328343516":["hashtag1","hashtag2"]},{"1328343519":["hashtag1","hashtag2"]},{"1328343521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328343517, 1328343516, 1328343519, 1328343521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.427876710891724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:32:03.168205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0003.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0000.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0001.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0003.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0000.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0001.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.882225036621094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:32:22.701007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0003.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0000.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0001.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0002.jpg', '/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0003.jpg', '/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/30/image_12012025_05_30_02_139034_0003.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0000.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0001.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0002.jpg
/home/pi/Desktop/images/12012025/05/31/image_12012025_05_31_02_913114_0003.jpg
/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344274","1328344085","1328344250","1328344088","1328344133","1328344276"],"photo_ids_order":["1328344085","1328344088","1328344133","1328344250","1328344274","1328344276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ff41123ee99332049f0ae7a23eb9cc6.jpg","text":"TemporaryFile(/tmp/multipartBody3497172590528853748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656417695,"filename":"image_12012025_05_31_02_913114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10fe49b4d2eddb6c74793b52dea1b93c.jpg","text":"TemporaryFile(/tmp/multipartBody7595493760729600429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656417695,"filename":"image_12012025_05_30_02_139034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfcf353b499bf42f4bbebf4130dd2c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1252811267660965774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656417695,"filename":"image_12012025_05_31_02_913114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/245c1e1c9606f3a12bea3b1917f4d3a9.jpg","text":"TemporaryFile(/tmp/multipartBody6990119736686853021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656417695,"filename":"image_12012025_05_31_02_913114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9dc68b00e56fb08ba78be4e133a6250.jpg","text":"TemporaryFile(/tmp/multipartBody625138516872828177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656417695,"filename":"image_12012025_05_31_02_913114_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1bcd4d3ff2a6900af69da15db837cd02.jpg","text":"TemporaryFile(/tmp/multipartBody2555470102699637253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656417695,"filename":"image_12012025_05_32_02_410102_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344133","file1":"1328344088","file0":"1328344085","file4":"1328344274","file5":"1328344276","file3":"1328344250"},"map_files_photo_id_array":[{"photo_id":"1328344276","filename":"file5"},{"photo_id":"1328344133","filename":"file2"},{"photo_id":"1328344274","filename":"file4"},{"photo_id":"1328344088","filename":"file1"},{"photo_id":"1328344085","filename":"file0"},{"photo_id":"1328344250","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344274":["hashtag1","hashtag2"]},{"1328344085":["hashtag1","hashtag2"]},{"1328344250":["hashtag1","hashtag2"]},{"1328344088":["hashtag1","hashtag2"]},{"1328344133":["hashtag1","hashtag2"]},{"1328344276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344274, 1328344085, 1328344250, 1328344088, 1328344133, 1328344276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.50834536552429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:33:22.279632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0001.jpg', '/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0002.jpg', '/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0003.jpg', '/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0000.jpg', '/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0001.jpg', '/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0001.jpg
/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0002.jpg
/home/pi/Desktop/images/12012025/05/32/image_12012025_05_32_02_410102_0003.jpg
/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0000.jpg
/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0001.jpg
/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344324","1328344318","1328344326","1328344320","1328344322","1328344316"],"photo_ids_order":["1328344316","1328344318","1328344320","1328344322","1328344324","1328344326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8144ea1238fa01c5bda05d5608a0b460.jpg","text":"TemporaryFile(/tmp/multipartBody6475886951291282809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656477136,"filename":"image_12012025_05_33_03_148338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12b5dc663614eaeec3a591aa6cec48d0.jpg","text":"TemporaryFile(/tmp/multipartBody814560907378800046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656477136,"filename":"image_12012025_05_32_02_410102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e254edecb31d49196a0f343709c39db.jpg","text":"TemporaryFile(/tmp/multipartBody9062962485788960292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656477136,"filename":"image_12012025_05_33_03_148338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/927becaf3575ec5eaad6c08d6cb5db4b.jpg","text":"TemporaryFile(/tmp/multipartBody4583569835693623152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656477136,"filename":"image_12012025_05_32_02_410102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecb512fe89e007384147c3421715c820.jpg","text":"TemporaryFile(/tmp/multipartBody3837525806513047140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656477136,"filename":"image_12012025_05_33_03_148338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7552cf10a375b572959975d86d9b115e.jpg","text":"TemporaryFile(/tmp/multipartBody4239172945958644490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656477136,"filename":"image_12012025_05_32_02_410102_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344320","file1":"1328344318","file0":"1328344316","file4":"1328344324","file5":"1328344326","file3":"1328344322"},"map_files_photo_id_array":[{"photo_id":"1328344326","filename":"file5"},{"photo_id":"1328344320","filename":"file2"},{"photo_id":"1328344324","filename":"file4"},{"photo_id":"1328344318","filename":"file1"},{"photo_id":"1328344316","filename":"file0"},{"photo_id":"1328344322","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344324":["hashtag1","hashtag2"]},{"1328344318":["hashtag1","hashtag2"]},{"1328344326":["hashtag1","hashtag2"]},{"1328344320":["hashtag1","hashtag2"]},{"1328344322":["hashtag1","hashtag2"]},{"1328344316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344324, 1328344318, 1328344326, 1328344320, 1328344322, 1328344316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.37351870536804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:34:21.760004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0003.jpg', '/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0000.jpg', '/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0001.jpg', '/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/33/image_12012025_05_33_03_148338_0003.jpg
/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0000.jpg
/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0001.jpg
/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344327","1328344329","1328344331","1328344334"],"photo_ids_order":["1328344327","1328344329","1328344331","1328344334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f01a6cf33f7e1a7b91d75059aa290fdb.jpg","text":"TemporaryFile(/tmp/multipartBody9194165799049149526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656531883,"filename":"image_12012025_05_33_03_148338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cbe92d81806c8dddbb0394626d5bce4.jpg","text":"TemporaryFile(/tmp/multipartBody6426806970539119077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656531883,"filename":"image_12012025_05_34_02_636317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84fc622ba4df9cfa25a647edc3c6fa52.jpg","text":"TemporaryFile(/tmp/multipartBody8289977335066407936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656531883,"filename":"image_12012025_05_34_02_636317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aec69e76e6e9438eb9a5e3bdc41c476f.jpg","text":"TemporaryFile(/tmp/multipartBody6538045383855978848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656531883,"filename":"image_12012025_05_34_02_636317_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344331","file1":"1328344329","file0":"1328344327","file3":"1328344334"},"map_files_photo_id_array":[{"photo_id":"1328344331","filename":"file2"},{"photo_id":"1328344329","filename":"file1"},{"photo_id":"1328344327","filename":"file0"},{"photo_id":"1328344334","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344327":["hashtag1","hashtag2"]},{"1328344329":["hashtag1","hashtag2"]},{"1328344331":["hashtag1","hashtag2"]},{"1328344334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344327, 1328344329, 1328344331, 1328344334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00115370750427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:35:02.823943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:35:22.189260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0003.jpg', '/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0000.jpg', '/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0001.jpg', '/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/34/image_12012025_05_34_02_636317_0003.jpg
/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0000.jpg
/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0001.jpg
/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344351","1328344347","1328344343","1328344349"],"photo_ids_order":["1328344343","1328344347","1328344349","1328344351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45d66dda2aadc72e8430fd65f4cf11d7.jpg","text":"TemporaryFile(/tmp/multipartBody2789853274747846440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656592399,"filename":"image_12012025_05_35_02_138858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08974301023d354fa53137c732634aba.jpg","text":"TemporaryFile(/tmp/multipartBody8621174422339196274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656592399,"filename":"image_12012025_05_35_02_138858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/941fbf87b81299b09cd572c0305ff375.jpg","text":"TemporaryFile(/tmp/multipartBody555083722015373116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656592399,"filename":"image_12012025_05_34_02_636317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/736d535edd03a559df2a534a2a0bacb8.jpg","text":"TemporaryFile(/tmp/multipartBody9018695331583453033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656592399,"filename":"image_12012025_05_35_02_138858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344349","file1":"1328344347","file0":"1328344343","file3":"1328344351"},"map_files_photo_id_array":[{"photo_id":"1328344349","filename":"file2"},{"photo_id":"1328344347","filename":"file1"},{"photo_id":"1328344343","filename":"file0"},{"photo_id":"1328344351","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344351":["hashtag1","hashtag2"]},{"1328344347":["hashtag1","hashtag2"]},{"1328344343":["hashtag1","hashtag2"]},{"1328344349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344351, 1328344347, 1328344343, 1328344349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.36300325393677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:36:22.169832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0003.jpg', '/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0000.jpg', '/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0001.jpg', '/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/35/image_12012025_05_35_02_138858_0003.jpg
/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0000.jpg
/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0001.jpg
/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344363","1328344359","1328344356","1328344361"],"photo_ids_order":["1328344356","1328344359","1328344361","1328344363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eeb122135872dd9fe53dc8142ba1a4fb.jpg","text":"TemporaryFile(/tmp/multipartBody7161609944368998756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656652355,"filename":"image_12012025_05_36_02_627484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7be9fa39b43fd2c6b302f201cd09dcd9.jpg","text":"TemporaryFile(/tmp/multipartBody4607796182750666792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656652355,"filename":"image_12012025_05_36_02_627484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88e72528a1d92fd80cf176221a74d918.jpg","text":"TemporaryFile(/tmp/multipartBody8341617572014083771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656652355,"filename":"image_12012025_05_35_02_138858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0368a2e07f9303414315008c310f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody7121603880817739841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656652355,"filename":"image_12012025_05_36_02_627484_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344361","file1":"1328344359","file0":"1328344356","file3":"1328344363"},"map_files_photo_id_array":[{"photo_id":"1328344361","filename":"file2"},{"photo_id":"1328344359","filename":"file1"},{"photo_id":"1328344356","filename":"file0"},{"photo_id":"1328344363","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344363":["hashtag1","hashtag2"]},{"1328344359":["hashtag1","hashtag2"]},{"1328344356":["hashtag1","hashtag2"]},{"1328344361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344363, 1328344359, 1328344356, 1328344361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.975253105163574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:37:03.197014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:37:22.627203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0003.jpg', '/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0000.jpg', '/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0001.jpg', '/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/36/image_12012025_05_36_02_627484_0003.jpg
/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0000.jpg
/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0001.jpg
/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344377","1328344374","1328344379","1328344370"],"photo_ids_order":["1328344370","1328344374","1328344377","1328344379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f83ee395c36cbd323391d242dac6d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6970580582656020472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656712889,"filename":"image_12012025_05_37_02_587166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27f23371061ec0d8c2cd2ee6d37c78bd.jpg","text":"TemporaryFile(/tmp/multipartBody1966856393697939396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656712889,"filename":"image_12012025_05_37_02_587166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3379f40ed9f2ab7101dff4c0fa2a8a8.jpg","text":"TemporaryFile(/tmp/multipartBody5894241738639083813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656712889,"filename":"image_12012025_05_37_02_587166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6c808b8b40d8d6114af7515027dbc20.jpg","text":"TemporaryFile(/tmp/multipartBody8553585419688016700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656712889,"filename":"image_12012025_05_36_02_627484_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344377","file1":"1328344374","file0":"1328344370","file3":"1328344379"},"map_files_photo_id_array":[{"photo_id":"1328344377","filename":"file2"},{"photo_id":"1328344374","filename":"file1"},{"photo_id":"1328344370","filename":"file0"},{"photo_id":"1328344379","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344377":["hashtag1","hashtag2"]},{"1328344374":["hashtag1","hashtag2"]},{"1328344379":["hashtag1","hashtag2"]},{"1328344370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344377, 1328344374, 1328344379, 1328344370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06276226043701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:38:02.840749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:38:22.330385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0003.jpg', '/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0000.jpg', '/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0001.jpg', '/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/37/image_12012025_05_37_02_587166_0003.jpg
/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0000.jpg
/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0001.jpg
/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344386","1328344394","1328344397","1328344390"],"photo_ids_order":["1328344386","1328344390","1328344394","1328344397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce4556436dec7dcf07ff7c8d725d7017.jpg","text":"TemporaryFile(/tmp/multipartBody5316190906897966365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656772524,"filename":"image_12012025_05_37_02_587166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a62b90916a3f718b3273094ddbb8f1f.jpg","text":"TemporaryFile(/tmp/multipartBody385534813490827948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656772524,"filename":"image_12012025_05_38_03_080254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6eafc7e167e0f43bd9e75bcdd7f730a2.jpg","text":"TemporaryFile(/tmp/multipartBody5345077947833888201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656772524,"filename":"image_12012025_05_38_03_080254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/743f71b6814456211aabf1fa4956a2cb.jpg","text":"TemporaryFile(/tmp/multipartBody570846197235293740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656772524,"filename":"image_12012025_05_38_03_080254_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344394","file1":"1328344390","file0":"1328344386","file3":"1328344397"},"map_files_photo_id_array":[{"photo_id":"1328344394","filename":"file2"},{"photo_id":"1328344390","filename":"file1"},{"photo_id":"1328344386","filename":"file0"},{"photo_id":"1328344397","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344386":["hashtag1","hashtag2"]},{"1328344394":["hashtag1","hashtag2"]},{"1328344397":["hashtag1","hashtag2"]},{"1328344390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344386, 1328344394, 1328344397, 1328344390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77830648422241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:39:02.423718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:39:21.736288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0003.jpg', '/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0000.jpg', '/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0001.jpg', '/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/38/image_12012025_05_38_03_080254_0003.jpg
/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0000.jpg
/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0001.jpg
/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344429","1328344431","1328344433","1328344415"],"photo_ids_order":["1328344415","1328344429","1328344431","1328344433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1bd04b366f0120fbeb7bd75cda5e85e6.jpg","text":"TemporaryFile(/tmp/multipartBody4678250267039662507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656831806,"filename":"image_12012025_05_39_02_694532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1232e622ac0293de1def3c3dbd017153.jpg","text":"TemporaryFile(/tmp/multipartBody6426070584111169055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656831806,"filename":"image_12012025_05_39_02_694532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d3be383d53cd93caed7c5627ed0d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody1878018941064353715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656831806,"filename":"image_12012025_05_39_02_694532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56fc2fb09b8215d27efc2251f1009c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8322336554821450831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656831806,"filename":"image_12012025_05_38_03_080254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344431","file1":"1328344429","file0":"1328344415","file3":"1328344433"},"map_files_photo_id_array":[{"photo_id":"1328344431","filename":"file2"},{"photo_id":"1328344429","filename":"file1"},{"photo_id":"1328344415","filename":"file0"},{"photo_id":"1328344433","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344429":["hashtag1","hashtag2"]},{"1328344431":["hashtag1","hashtag2"]},{"1328344433":["hashtag1","hashtag2"]},{"1328344415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344429, 1328344431, 1328344433, 1328344415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.046310901641846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:40:02.778694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:40:22.335155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0003.jpg', '/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0000.jpg', '/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0001.jpg', '/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0003.jpg
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0000.jpg
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0001.jpg
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.901567697525024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:41:02.612302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0003.jpg', '/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0000.jpg', '/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0001.jpg', '/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/39/image_12012025_05_39_02_694532_0003.jpg
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0000.jpg
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0001.jpg
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344461","1328344460","1328344463","1328344466"],"photo_ids_order":["1328344460","1328344461","1328344463","1328344466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46b0e583028a4c69381f74d3c2cb81ec.jpg","text":"TemporaryFile(/tmp/multipartBody5460965893632582533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656932940,"filename":"image_12012025_05_40_02_197208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aea31c92200a3b475a37413f1e62d467.jpg","text":"TemporaryFile(/tmp/multipartBody404639638649798269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656932940,"filename":"image_12012025_05_39_02_694532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6204457203230ac7c27dfa200b2c064.jpg","text":"TemporaryFile(/tmp/multipartBody461153558926957593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656932940,"filename":"image_12012025_05_40_02_197208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b5c0d67dc86cb28dc431e3732809025.jpg","text":"TemporaryFile(/tmp/multipartBody6266646308507618729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736656932940,"filename":"image_12012025_05_40_02_197208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344463","file1":"1328344461","file0":"1328344460","file3":"1328344466"},"map_files_photo_id_array":[{"photo_id":"1328344463","filename":"file2"},{"photo_id":"1328344461","filename":"file1"},{"photo_id":"1328344460","filename":"file0"},{"photo_id":"1328344466","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344461":["hashtag1","hashtag2"]},{"1328344460":["hashtag1","hashtag2"]},{"1328344463":["hashtag1","hashtag2"]},{"1328344466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344461, 1328344460, 1328344463, 1328344466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.634427547454834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:42:02.768528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0003.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0000.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0001.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0003.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0000.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0001.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.013059377670288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:42:22.403991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0003.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0000.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0001.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0002.jpg', '/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0003.jpg', '/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/40/image_12012025_05_40_02_197208_0003.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0000.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0001.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0002.jpg
/home/pi/Desktop/images/12012025/05/41/image_12012025_05_41_02_737167_0003.jpg
/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344510","1328344504","1328344512","1328344506","1328344508","1328344489"],"photo_ids_order":["1328344489","1328344504","1328344506","1328344508","1328344510","1328344512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6ba7ce30b6f917cf8fa4bc3443d9e87.jpg","text":"TemporaryFile(/tmp/multipartBody4091803089940351205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657017516,"filename":"image_12012025_05_41_02_737167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5304b82b1dedb11b3de2a7fa1b422f0.jpg","text":"TemporaryFile(/tmp/multipartBody2606840672307281255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657017516,"filename":"image_12012025_05_41_02_737167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e18dec0723a3a030df485c9e381e55d.jpg","text":"TemporaryFile(/tmp/multipartBody3524250547638762446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657017516,"filename":"image_12012025_05_42_02_287349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3c766b0f4ef278d3dbe65eea4ad2a98.jpg","text":"TemporaryFile(/tmp/multipartBody2681629335817408703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657017516,"filename":"image_12012025_05_41_02_737167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97872c8bd06f5e2c321ef1352170f290.jpg","text":"TemporaryFile(/tmp/multipartBody4405174043501038587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657017516,"filename":"image_12012025_05_41_02_737167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcb1daecf1875578e12be2df794dfff0.jpg","text":"TemporaryFile(/tmp/multipartBody5391821189553489894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657017516,"filename":"image_12012025_05_40_02_197208_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344506","file1":"1328344504","file0":"1328344489","file4":"1328344510","file5":"1328344512","file3":"1328344508"},"map_files_photo_id_array":[{"photo_id":"1328344512","filename":"file5"},{"photo_id":"1328344506","filename":"file2"},{"photo_id":"1328344510","filename":"file4"},{"photo_id":"1328344504","filename":"file1"},{"photo_id":"1328344489","filename":"file0"},{"photo_id":"1328344508","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344510":["hashtag1","hashtag2"]},{"1328344504":["hashtag1","hashtag2"]},{"1328344512":["hashtag1","hashtag2"]},{"1328344506":["hashtag1","hashtag2"]},{"1328344508":["hashtag1","hashtag2"]},{"1328344489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344510, 1328344504, 1328344512, 1328344506, 1328344508, 1328344489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1878445148468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:43:21.884533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0001.jpg', '/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0002.jpg', '/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0003.jpg', '/home/pi/Desktop/images/12012025/05/43/image_12012025_05_43_02_778044_0000.jpg', '/home/pi/Desktop/images/12012025/05/43/image_12012025_05_43_02_778044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0001.jpg
/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0002.jpg
/home/pi/Desktop/images/12012025/05/42/image_12012025_05_42_02_287349_0003.jpg
/home/pi/Desktop/images/12012025/05/43/image_12012025_05_43_02_778044_0000.jpg
/home/pi/Desktop/images/12012025/05/43/image_12012025_05_43_02_778044_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344522","1328344516","1328344525","1328344519","1328344524"],"photo_ids_order":["1328344516","1328344519","1328344522","1328344524","1328344525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a59f06ec48baaa021201aa865cb4d306.jpg","text":"TemporaryFile(/tmp/multipartBody105311541782481333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657074404,"filename":"image_12012025_05_42_02_287349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/455d135845d9479f7d5993b5dbc61d06.jpg","text":"TemporaryFile(/tmp/multipartBody2532594778166406003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657074404,"filename":"image_12012025_05_42_02_287349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50f84a489683fb50b70f7f5f2eda5a39.jpg","text":"TemporaryFile(/tmp/multipartBody8056381403753916271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657074404,"filename":"image_12012025_05_43_02_778044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2287ea7b170a047a0c34f9bc6fdbe0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1619262862865732805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657074404,"filename":"image_12012025_05_42_02_287349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07d9b5d553d6b21201ec3554fd9d8668.jpg","text":"TemporaryFile(/tmp/multipartBody404516790531988237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657074404,"filename":"image_12012025_05_43_02_778044_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344522","file1":"1328344519","file0":"1328344516","file4":"1328344525","file3":"1328344524"},"map_files_photo_id_array":[{"photo_id":"1328344522","filename":"file2"},{"photo_id":"1328344525","filename":"file4"},{"photo_id":"1328344519","filename":"file1"},{"photo_id":"1328344516","filename":"file0"},{"photo_id":"1328344524","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344522":["hashtag1","hashtag2"]},{"1328344516":["hashtag1","hashtag2"]},{"1328344525":["hashtag1","hashtag2"]},{"1328344519":["hashtag1","hashtag2"]},{"1328344524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344522, 1328344516, 1328344525, 1328344519, 1328344524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.874797105789185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:44:22.481288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/43/image_12012025_05_43_02_778044_0003.jpg', '/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0000.jpg', '/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0001.jpg', '/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/43/image_12012025_05_43_02_778044_0003.jpg
/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0000.jpg
/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0001.jpg
/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344542","1328344545","1328344539","1328344536"],"photo_ids_order":["1328344536","1328344539","1328344542","1328344545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/817003bbe3019351749b20bced92072d.jpg","text":"TemporaryFile(/tmp/multipartBody4485879941991771618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657132701,"filename":"image_12012025_05_44_02_322903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b488d4295d67e36db7273c36fcce3f4d.jpg","text":"TemporaryFile(/tmp/multipartBody2309908176033289018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657132701,"filename":"image_12012025_05_44_02_322903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a162d2cbd7d45eedb5ab364ca8c4efc.jpg","text":"TemporaryFile(/tmp/multipartBody9144354522304418030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657132701,"filename":"image_12012025_05_44_02_322903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f14016e94f2d8789f862c9c9931ee66f.jpg","text":"TemporaryFile(/tmp/multipartBody8651209222295685271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657132701,"filename":"image_12012025_05_43_02_778044_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344542","file1":"1328344539","file0":"1328344536","file3":"1328344545"},"map_files_photo_id_array":[{"photo_id":"1328344542","filename":"file2"},{"photo_id":"1328344539","filename":"file1"},{"photo_id":"1328344536","filename":"file0"},{"photo_id":"1328344545","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344542":["hashtag1","hashtag2"]},{"1328344545":["hashtag1","hashtag2"]},{"1328344539":["hashtag1","hashtag2"]},{"1328344536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344542, 1328344545, 1328344539, 1328344536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33347415924072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:45:21.987669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0003.jpg', '/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0000.jpg', '/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0001.jpg', '/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/44/image_12012025_05_44_02_322903_0003.jpg
/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0000.jpg
/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0001.jpg
/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344606","1328344616","1328344610","1328344613"],"photo_ids_order":["1328344606","1328344610","1328344613","1328344616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a150acc800fa54c281f1d696d10838e8.jpg","text":"TemporaryFile(/tmp/multipartBody6684959177048253751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657192471,"filename":"image_12012025_05_44_02_322903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7e3a7da5805466b0f7fe140ee0eb0f1.jpg","text":"TemporaryFile(/tmp/multipartBody1587294312617262967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657192471,"filename":"image_12012025_05_45_02_849247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/025ba7275aacd34f9f1ab857d71bd1d1.jpg","text":"TemporaryFile(/tmp/multipartBody2881694565349118020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657192471,"filename":"image_12012025_05_45_02_849247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67b20559da92861caf1deef2c5fe45e3.jpg","text":"TemporaryFile(/tmp/multipartBody8456365440546851758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657192471,"filename":"image_12012025_05_45_02_849247_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344613","file1":"1328344610","file0":"1328344606","file3":"1328344616"},"map_files_photo_id_array":[{"photo_id":"1328344613","filename":"file2"},{"photo_id":"1328344610","filename":"file1"},{"photo_id":"1328344606","filename":"file0"},{"photo_id":"1328344616","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344606":["hashtag1","hashtag2"]},{"1328344616":["hashtag1","hashtag2"]},{"1328344610":["hashtag1","hashtag2"]},{"1328344613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344606, 1328344616, 1328344610, 1328344613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12099742889404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:46:22.499668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0003.jpg', '/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0000.jpg', '/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0001.jpg', '/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0003.jpg
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0000.jpg
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0001.jpg
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.809720039367676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:47:02.680560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0003.jpg', '/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0000.jpg', '/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0001.jpg', '/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/45/image_12012025_05_45_02_849247_0003.jpg
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0000.jpg
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0001.jpg
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328344807","1328344671","1328344830","1328344766"],"photo_ids_order":["1328344671","1328344766","1328344807","1328344830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3af3f54a3f6a97cf05d3b7cd5f0e8e24.jpg","text":"TemporaryFile(/tmp/multipartBody7360061331772744458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657292953,"filename":"image_12012025_05_46_02_377953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91c524f746dc71a65b70b13fc798f03b.jpg","text":"TemporaryFile(/tmp/multipartBody1569301259418502313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657292953,"filename":"image_12012025_05_45_02_849247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05a51319766e14e286cd155a2ba35326.jpg","text":"TemporaryFile(/tmp/multipartBody7297974958026097801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657292953,"filename":"image_12012025_05_46_02_377953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ba6a52ee19cdb52d90f8b09275c49ee.jpg","text":"TemporaryFile(/tmp/multipartBody3175565235311851190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657292953,"filename":"image_12012025_05_46_02_377953_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328344807","file1":"1328344766","file0":"1328344671","file3":"1328344830"},"map_files_photo_id_array":[{"photo_id":"1328344807","filename":"file2"},{"photo_id":"1328344766","filename":"file1"},{"photo_id":"1328344671","filename":"file0"},{"photo_id":"1328344830","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328344807":["hashtag1","hashtag2"]},{"1328344671":["hashtag1","hashtag2"]},{"1328344830":["hashtag1","hashtag2"]},{"1328344766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328344807, 1328344671, 1328344830, 1328344766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.427634954452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:48:03.038129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0003.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0000.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0001.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0003.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0000.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0001.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.679513931274414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:48:22.658244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0003.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0000.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0001.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0002.jpg', '/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0003.jpg', '/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/46/image_12012025_05_46_02_377953_0003.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0000.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0001.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0002.jpg
/home/pi/Desktop/images/12012025/05/47/image_12012025_05_47_02_862812_0003.jpg
/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345388","1328345436","1328345438","1328345458","1328345386","1328345347"],"photo_ids_order":["1328345347","1328345386","1328345388","1328345436","1328345438","1328345458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71d7f3f2fa5de032f6015a761e7db767.jpg","text":"TemporaryFile(/tmp/multipartBody4922399445139789805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657377490,"filename":"image_12012025_05_47_02_862812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e234d0e03a5e814091ecc988cab2757c.jpg","text":"TemporaryFile(/tmp/multipartBody1047967559391822726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657377490,"filename":"image_12012025_05_47_02_862812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cce90e3cfcdf8f98460c33a28a8cdec9.jpg","text":"TemporaryFile(/tmp/multipartBody828858272619032200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657377490,"filename":"image_12012025_05_47_02_862812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92d0c035e1fb07dc18d180f4df9912ab.jpg","text":"TemporaryFile(/tmp/multipartBody1689877352588726485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657377490,"filename":"image_12012025_05_48_02_379287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3d1097eeb800b8bdfc408acb4e44ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1640057338869332983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657377490,"filename":"image_12012025_05_47_02_862812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/338fa865dac52c709313ae7c6bd032d0.jpg","text":"TemporaryFile(/tmp/multipartBody392492227651573739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657377490,"filename":"image_12012025_05_46_02_377953_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345388","file1":"1328345386","file0":"1328345347","file4":"1328345438","file5":"1328345458","file3":"1328345436"},"map_files_photo_id_array":[{"photo_id":"1328345458","filename":"file5"},{"photo_id":"1328345388","filename":"file2"},{"photo_id":"1328345438","filename":"file4"},{"photo_id":"1328345386","filename":"file1"},{"photo_id":"1328345347","filename":"file0"},{"photo_id":"1328345436","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345388":["hashtag1","hashtag2"]},{"1328345436":["hashtag1","hashtag2"]},{"1328345438":["hashtag1","hashtag2"]},{"1328345458":["hashtag1","hashtag2"]},{"1328345386":["hashtag1","hashtag2"]},{"1328345347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345388, 1328345436, 1328345438, 1328345458, 1328345386, 1328345347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.61665391921997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:49:22.213090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0001.jpg', '/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0002.jpg', '/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0003.jpg', '/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0000.jpg', '/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0001.jpg', '/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0001.jpg
/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0002.jpg
/home/pi/Desktop/images/12012025/05/48/image_12012025_05_48_02_379287_0003.jpg
/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0000.jpg
/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0001.jpg
/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345466","1328345475","1328345469","1328345463","1328345471","1328345473"],"photo_ids_order":["1328345463","1328345466","1328345469","1328345471","1328345473","1328345475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22bfd48ce80505bc35e17d02a1baed9e.jpg","text":"TemporaryFile(/tmp/multipartBody6233330859942523195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657437109,"filename":"image_12012025_05_48_02_379287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ba0ac1ac09061841c7b9eaae8c6c2de.jpg","text":"TemporaryFile(/tmp/multipartBody1124579045964338703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657437109,"filename":"image_12012025_05_49_03_006779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1008b28d4af6d58c8a8ac0978e7158e6.jpg","text":"TemporaryFile(/tmp/multipartBody4438973293920724205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657437109,"filename":"image_12012025_05_48_02_379287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c99d2f3cc13ded7fb1239879d38912f.jpg","text":"TemporaryFile(/tmp/multipartBody4576116779912958815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657437109,"filename":"image_12012025_05_48_02_379287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d045f66596cc04b22a7a1fc7677fbe42.jpg","text":"TemporaryFile(/tmp/multipartBody2145776746797535362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657437109,"filename":"image_12012025_05_49_03_006779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6679f57956028029b1db35d99febeea8.jpg","text":"TemporaryFile(/tmp/multipartBody1864353417914452511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657437109,"filename":"image_12012025_05_49_03_006779_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345469","file1":"1328345466","file0":"1328345463","file4":"1328345473","file5":"1328345475","file3":"1328345471"},"map_files_photo_id_array":[{"photo_id":"1328345475","filename":"file5"},{"photo_id":"1328345469","filename":"file2"},{"photo_id":"1328345473","filename":"file4"},{"photo_id":"1328345466","filename":"file1"},{"photo_id":"1328345463","filename":"file0"},{"photo_id":"1328345471","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345466":["hashtag1","hashtag2"]},{"1328345475":["hashtag1","hashtag2"]},{"1328345469":["hashtag1","hashtag2"]},{"1328345463":["hashtag1","hashtag2"]},{"1328345471":["hashtag1","hashtag2"]},{"1328345473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345466, 1328345475, 1328345469, 1328345463, 1328345471, 1328345473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.15645122528076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:50:22.680595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0003.jpg', '/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0000.jpg', '/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0001.jpg', '/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/49/image_12012025_05_49_03_006779_0003.jpg
/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0000.jpg
/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0001.jpg
/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345478","1328345486","1328345489","1328345482"],"photo_ids_order":["1328345478","1328345482","1328345486","1328345489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/644679306b649cc57020efcf4d94994d.jpg","text":"TemporaryFile(/tmp/multipartBody4672856213312095891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657492875,"filename":"image_12012025_05_49_03_006779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ae42afc8ba9212fcc8b7548bc2c83f1.jpg","text":"TemporaryFile(/tmp/multipartBody880680274345499115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657492875,"filename":"image_12012025_05_50_02_543464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf624343d9b127dbf060a5dd50bf673f.jpg","text":"TemporaryFile(/tmp/multipartBody8608193761955632798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657492875,"filename":"image_12012025_05_50_02_543464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea24618ce45e931f8b56daa42d79e430.jpg","text":"TemporaryFile(/tmp/multipartBody3485797961456130231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657492875,"filename":"image_12012025_05_50_02_543464_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345486","file1":"1328345482","file0":"1328345478","file3":"1328345489"},"map_files_photo_id_array":[{"photo_id":"1328345486","filename":"file2"},{"photo_id":"1328345482","filename":"file1"},{"photo_id":"1328345478","filename":"file0"},{"photo_id":"1328345489","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345478":["hashtag1","hashtag2"]},{"1328345486":["hashtag1","hashtag2"]},{"1328345489":["hashtag1","hashtag2"]},{"1328345482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345478, 1328345486, 1328345489, 1328345482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13591766357422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:51:22.137662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0003.jpg', '/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0000.jpg', '/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0001.jpg', '/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/50/image_12012025_05_50_02_543464_0003.jpg
/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0000.jpg
/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0001.jpg
/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345520","1328345497","1328345509","1328345499"],"photo_ids_order":["1328345497","1328345499","1328345509","1328345520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b968bc85b1ea1a79b7ac46892b5452ab.jpg","text":"TemporaryFile(/tmp/multipartBody2383166536572772708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657552367,"filename":"image_12012025_05_51_03_034936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c79d46a69791b011df5495a3cc4880b.jpg","text":"TemporaryFile(/tmp/multipartBody9058590393136300108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657552367,"filename":"image_12012025_05_50_02_543464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2e21c88616a3a82b25bf6d1bbc90858.jpg","text":"TemporaryFile(/tmp/multipartBody7123052830598441087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657552367,"filename":"image_12012025_05_51_03_034936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b320e7fc919bf06c13ea6030506a2210.jpg","text":"TemporaryFile(/tmp/multipartBody1888340267287534274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657552367,"filename":"image_12012025_05_51_03_034936_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345509","file1":"1328345499","file0":"1328345497","file3":"1328345520"},"map_files_photo_id_array":[{"photo_id":"1328345509","filename":"file2"},{"photo_id":"1328345499","filename":"file1"},{"photo_id":"1328345497","filename":"file0"},{"photo_id":"1328345520","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345520":["hashtag1","hashtag2"]},{"1328345497":["hashtag1","hashtag2"]},{"1328345509":["hashtag1","hashtag2"]},{"1328345499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345520, 1328345497, 1328345509, 1328345499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54677200317383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:52:03.255035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:52:22.687723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0003.jpg', '/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0000.jpg', '/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0001.jpg', '/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/51/image_12012025_05_51_03_034936_0003.jpg
/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0000.jpg
/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0001.jpg
/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345595","1328345591","1328345585","1328345587"],"photo_ids_order":["1328345585","1328345587","1328345591","1328345595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c5d0b9748b6032ad7724225e79e1beb.jpg","text":"TemporaryFile(/tmp/multipartBody1072685314576192402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657612904,"filename":"image_12012025_05_52_02_574880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1276d5d15d3c0ea44595adb9593d7f97.jpg","text":"TemporaryFile(/tmp/multipartBody7105486014041656381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657612904,"filename":"image_12012025_05_52_02_574880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1782eafa3932656665a6805541c9c27b.jpg","text":"TemporaryFile(/tmp/multipartBody696034349036139300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657612904,"filename":"image_12012025_05_51_03_034936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cd7b12953aa9e1307f572fbb57cc078.jpg","text":"TemporaryFile(/tmp/multipartBody3889671535219196029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657612904,"filename":"image_12012025_05_52_02_574880_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345591","file1":"1328345587","file0":"1328345585","file3":"1328345595"},"map_files_photo_id_array":[{"photo_id":"1328345591","filename":"file2"},{"photo_id":"1328345587","filename":"file1"},{"photo_id":"1328345585","filename":"file0"},{"photo_id":"1328345595","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345595":["hashtag1","hashtag2"]},{"1328345591":["hashtag1","hashtag2"]},{"1328345585":["hashtag1","hashtag2"]},{"1328345587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345595, 1328345591, 1328345585, 1328345587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.310153007507324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:53:22.187063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0003.jpg', '/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0000.jpg', '/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0001.jpg', '/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/52/image_12012025_05_52_02_574880_0003.jpg
/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0000.jpg
/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0001.jpg
/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345607","1328345609","1328345603","1328345605"],"photo_ids_order":["1328345603","1328345605","1328345607","1328345609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c23d5b9dde159fe92b198cf9c9f0acb8.jpg","text":"TemporaryFile(/tmp/multipartBody5356201542123929681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657672414,"filename":"image_12012025_05_53_03_058034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcb99553fc69f73ab2fd076645fa3fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5292735308699281874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657672414,"filename":"image_12012025_05_53_03_058034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/776c2a8705b46b1f668732e381904b30.jpg","text":"TemporaryFile(/tmp/multipartBody6789902953099361190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657672414,"filename":"image_12012025_05_52_02_574880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a16ac149ac45e9baa6f9c018394d95ac.jpg","text":"TemporaryFile(/tmp/multipartBody1512183969029943321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657672414,"filename":"image_12012025_05_53_03_058034_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345607","file1":"1328345605","file0":"1328345603","file3":"1328345609"},"map_files_photo_id_array":[{"photo_id":"1328345607","filename":"file2"},{"photo_id":"1328345605","filename":"file1"},{"photo_id":"1328345603","filename":"file0"},{"photo_id":"1328345609","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345607":["hashtag1","hashtag2"]},{"1328345609":["hashtag1","hashtag2"]},{"1328345603":["hashtag1","hashtag2"]},{"1328345605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345607, 1328345609, 1328345603, 1328345605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.76001954078674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:54:22.713685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0003.jpg', '/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0000.jpg', '/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0001.jpg', '/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/53/image_12012025_05_53_03_058034_0003.jpg
/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0000.jpg
/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0001.jpg
/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345628","1328345616","1328345617","1328345614"],"photo_ids_order":["1328345614","1328345616","1328345617","1328345628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4f9cb6db768c2ba1236d3f25988f913.jpg","text":"TemporaryFile(/tmp/multipartBody2042873775063819656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657732876,"filename":"image_12012025_05_54_02_558683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/613e3269d5407f9ff6df00b639ed1052.jpg","text":"TemporaryFile(/tmp/multipartBody6877737265778114658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657732876,"filename":"image_12012025_05_54_02_558683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82bf5270b5c7fa457c49989aa118f83e.jpg","text":"TemporaryFile(/tmp/multipartBody6175741499698926399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657732876,"filename":"image_12012025_05_54_02_558683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d11ada9fc6a6d9ce30baeb0f85bc2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7075493189216787105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657732876,"filename":"image_12012025_05_53_03_058034_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345617","file1":"1328345616","file0":"1328345614","file3":"1328345628"},"map_files_photo_id_array":[{"photo_id":"1328345617","filename":"file2"},{"photo_id":"1328345616","filename":"file1"},{"photo_id":"1328345614","filename":"file0"},{"photo_id":"1328345628","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345628":["hashtag1","hashtag2"]},{"1328345616":["hashtag1","hashtag2"]},{"1328345617":["hashtag1","hashtag2"]},{"1328345614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345628, 1328345616, 1328345617, 1328345614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04480528831482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:55:02.698298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:55:22.141492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0003.jpg', '/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0000.jpg', '/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0001.jpg', '/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/54/image_12012025_05_54_02_558683_0003.jpg
/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0000.jpg
/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0001.jpg
/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345670","1328345666","1328345669","1328345671"],"photo_ids_order":["1328345666","1328345669","1328345670","1328345671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c9b592fc7e7d7b02f5d986b4807af63.jpg","text":"TemporaryFile(/tmp/multipartBody5538773025569463621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657792182,"filename":"image_12012025_05_55_03_076949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/475f07c28fb4f6451feadde2a0234169.jpg","text":"TemporaryFile(/tmp/multipartBody6980377902798238215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657792182,"filename":"image_12012025_05_54_02_558683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/359e3c6fad9ef24516e55940c4513618.jpg","text":"TemporaryFile(/tmp/multipartBody8213162974185166916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657792182,"filename":"image_12012025_05_55_03_076949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a931d9f1ef1ae34baf3aea8a33e545bd.jpg","text":"TemporaryFile(/tmp/multipartBody8890340932574442373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657792182,"filename":"image_12012025_05_55_03_076949_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345670","file1":"1328345669","file0":"1328345666","file3":"1328345671"},"map_files_photo_id_array":[{"photo_id":"1328345670","filename":"file2"},{"photo_id":"1328345669","filename":"file1"},{"photo_id":"1328345666","filename":"file0"},{"photo_id":"1328345671","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345670":["hashtag1","hashtag2"]},{"1328345666":["hashtag1","hashtag2"]},{"1328345669":["hashtag1","hashtag2"]},{"1328345671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345670, 1328345666, 1328345669, 1328345671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.133745193481445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:56:02.255487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 05:56:21.666492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0003.jpg', '/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0000.jpg', '/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0003.jpg
/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0000.jpg
/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_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.433211088180542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:57:02.802104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0003.jpg', '/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0000.jpg', '/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/55/image_12012025_05_55_03_076949_0003.jpg
/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0000.jpg
/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328345701","1328345706","1328345702"],"photo_ids_order":["1328345701","1328345702","1328345706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e883dd1e9601200db3adab790d71049.jpg","text":"TemporaryFile(/tmp/multipartBody3648643318356065565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657890690,"filename":"image_12012025_05_55_03_076949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e52cc1cdc4252cc2053518474f9726ff.jpg","text":"TemporaryFile(/tmp/multipartBody5497105436222255048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657890690,"filename":"image_12012025_05_56_02_531039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37bbcc825bf03580b84062cac897b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody6484779197653091634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736657890690,"filename":"image_12012025_05_56_02_531039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328345706","file1":"1328345702","file0":"1328345701"},"map_files_photo_id_array":[{"photo_id":"1328345706","filename":"file2"},{"photo_id":"1328345702","filename":"file1"},{"photo_id":"1328345701","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328345701":["hashtag1","hashtag2"]},{"1328345706":["hashtag1","hashtag2"]},{"1328345702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328345701, 1328345706, 1328345702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.12689471244812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 05:59:02.579106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0002.jpg', '/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0000.jpg', '/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0001.jpg', '/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0002.jpg', '/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0003.jpg', '/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/56/image_12012025_05_56_02_531039_0002.jpg
/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0000.jpg
/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0001.jpg
/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0002.jpg
/home/pi/Desktop/images/12012025/05/57/image_12012025_05_57_02_140790_0003.jpg
/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328346443","1328346272","1328346431","1328346230","1328346481","1328346471"],"photo_ids_order":["1328346230","1328346272","1328346431","1328346443","1328346471","1328346481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0189b9b8e1b6bd71e80639f9039bf234.jpg","text":"TemporaryFile(/tmp/multipartBody2904372299806989724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658017748,"filename":"image_12012025_05_57_02_140790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3849b8681e0898be1f8be85feda45240.jpg","text":"TemporaryFile(/tmp/multipartBody2372921920140200014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658017748,"filename":"image_12012025_05_57_02_140790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/984aa74d393db1b68b4d6a561e55d17d.jpg","text":"TemporaryFile(/tmp/multipartBody1566010630573883030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658017748,"filename":"image_12012025_05_57_02_140790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bb51d6f2752fe2493177c4cf032faf8f.jpg","text":"TemporaryFile(/tmp/multipartBody8309280762967687603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658017748,"filename":"image_12012025_05_56_02_531039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/868ab35fec7e2395814be4d0954e8244.jpg","text":"TemporaryFile(/tmp/multipartBody6619594095338919770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658017748,"filename":"image_12012025_05_58_02_712777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54c3cdecdb8b4d27c3dc6360ec966b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3513506337392822643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658017748,"filename":"image_12012025_05_57_02_140790_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328346431","file1":"1328346272","file0":"1328346230","file4":"1328346471","file5":"1328346481","file3":"1328346443"},"map_files_photo_id_array":[{"photo_id":"1328346481","filename":"file5"},{"photo_id":"1328346431","filename":"file2"},{"photo_id":"1328346471","filename":"file4"},{"photo_id":"1328346272","filename":"file1"},{"photo_id":"1328346230","filename":"file0"},{"photo_id":"1328346443","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328346443":["hashtag1","hashtag2"]},{"1328346272":["hashtag1","hashtag2"]},{"1328346431":["hashtag1","hashtag2"]},{"1328346230":["hashtag1","hashtag2"]},{"1328346481":["hashtag1","hashtag2"]},{"1328346471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328346443, 1328346272, 1328346431, 1328346230, 1328346481, 1328346471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.00937795639038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:00:03.168573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0001.jpg', '/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0002.jpg', '/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0003.jpg', '/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0000.jpg', '/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0001.jpg', '/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0001.jpg
/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0002.jpg
/home/pi/Desktop/images/12012025/05/58/image_12012025_05_58_02_712777_0003.jpg
/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0000.jpg
/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0001.jpg
/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328346494","1328346497","1328346485","1328346490","1328346487","1328346637"],"photo_ids_order":["1328346485","1328346487","1328346490","1328346494","1328346497","1328346637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c98303cba9080b2adc4b05f42f7e5c9.jpg","text":"TemporaryFile(/tmp/multipartBody5397908702965839458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658078055,"filename":"image_12012025_05_59_02_368808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1aca07a348a0edd32f7bbca87854103d.jpg","text":"TemporaryFile(/tmp/multipartBody2043803206744152211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658078055,"filename":"image_12012025_05_59_02_368808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a7665516b0c68fc8f48a7811bb23ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2263696774556165924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658078055,"filename":"image_12012025_05_58_02_712777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/464e921592342970ee58688e38d0e651.jpg","text":"TemporaryFile(/tmp/multipartBody7686728558825110026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658078055,"filename":"image_12012025_05_58_02_712777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cfb79c40b29e31a48cca2573ea445b02.jpg","text":"TemporaryFile(/tmp/multipartBody3411656121857466131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658078055,"filename":"image_12012025_05_58_02_712777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/873f1c97ca6c6f37913b38d10de5ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody8430341243681286908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658078055,"filename":"image_12012025_05_59_02_368808_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328346490","file1":"1328346487","file0":"1328346485","file4":"1328346497","file5":"1328346637","file3":"1328346494"},"map_files_photo_id_array":[{"photo_id":"1328346637","filename":"file5"},{"photo_id":"1328346490","filename":"file2"},{"photo_id":"1328346497","filename":"file4"},{"photo_id":"1328346487","filename":"file1"},{"photo_id":"1328346485","filename":"file0"},{"photo_id":"1328346494","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328346494":["hashtag1","hashtag2"]},{"1328346497":["hashtag1","hashtag2"]},{"1328346485":["hashtag1","hashtag2"]},{"1328346490":["hashtag1","hashtag2"]},{"1328346487":["hashtag1","hashtag2"]},{"1328346637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328346494, 1328346497, 1328346485, 1328346490, 1328346487, 1328346637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.46715998649597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:01:02.923876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0003.jpg', '/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0000.jpg', '/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0001.jpg', '/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/05/59/image_12012025_05_59_02_368808_0003.jpg
/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0000.jpg
/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0001.jpg
/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328346852","1328346877","1328346868","1328346873"],"photo_ids_order":["1328346852","1328346868","1328346873","1328346877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8e6c05deab255c05c94721a2ebe42e4.jpg","text":"TemporaryFile(/tmp/multipartBody167821066724497791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658133121,"filename":"image_12012025_05_59_02_368808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09911344c22cb2ef0121165cfeff1c08.jpg","text":"TemporaryFile(/tmp/multipartBody4791432605915203266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658133121,"filename":"image_12012025_06_00_02_499622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c47afcbc0036a2b815b9f18340059102.jpg","text":"TemporaryFile(/tmp/multipartBody3746847813081166704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658133121,"filename":"image_12012025_06_00_02_499622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8832ca1256d13fc49d81de3e06f97af6.jpg","text":"TemporaryFile(/tmp/multipartBody5629330713738494530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658133121,"filename":"image_12012025_06_00_02_499622_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328346873","file1":"1328346868","file0":"1328346852","file3":"1328346877"},"map_files_photo_id_array":[{"photo_id":"1328346873","filename":"file2"},{"photo_id":"1328346868","filename":"file1"},{"photo_id":"1328346852","filename":"file0"},{"photo_id":"1328346877","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328346852":["hashtag1","hashtag2"]},{"1328346877":["hashtag1","hashtag2"]},{"1328346868":["hashtag1","hashtag2"]},{"1328346873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328346852, 1328346877, 1328346868, 1328346873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.51133346557617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:02:02.270360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0003.jpg', '/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0000.jpg', '/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0001.jpg', '/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/00/image_12012025_06_00_02_499622_0003.jpg
/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0000.jpg
/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0001.jpg
/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328346881","1328346883","1328346886","1328346888"],"photo_ids_order":["1328346881","1328346883","1328346886","1328346888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a939bc8f22f20a26e6f72453441d7857.jpg","text":"TemporaryFile(/tmp/multipartBody6699936785739439574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658192652,"filename":"image_12012025_06_00_02_499622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/efe53ac7bc2501607b1a67fc2fd64e78.jpg","text":"TemporaryFile(/tmp/multipartBody6675090831274672574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658192652,"filename":"image_12012025_06_01_03_073541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0045485510794dff31deb99c3063ad03.jpg","text":"TemporaryFile(/tmp/multipartBody6613947500861064591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658192652,"filename":"image_12012025_06_01_03_073541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4a5bd4a2e00c1bb614cee56d7e0f6ee.jpg","text":"TemporaryFile(/tmp/multipartBody5921923493746639833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658192652,"filename":"image_12012025_06_01_03_073541_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328346886","file1":"1328346883","file0":"1328346881","file3":"1328346888"},"map_files_photo_id_array":[{"photo_id":"1328346886","filename":"file2"},{"photo_id":"1328346883","filename":"file1"},{"photo_id":"1328346881","filename":"file0"},{"photo_id":"1328346888","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328346881":["hashtag1","hashtag2"]},{"1328346883":["hashtag1","hashtag2"]},{"1328346886":["hashtag1","hashtag2"]},{"1328346888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328346881, 1328346883, 1328346886, 1328346888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97454881668091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:03:02.869321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0003.jpg', '/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0000.jpg', '/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0001.jpg', '/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/01/image_12012025_06_01_03_073541_0003.jpg
/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0000.jpg
/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0001.jpg
/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328346917","1328346919","1328346916","1328346921"],"photo_ids_order":["1328346916","1328346917","1328346919","1328346921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/217f0ed791e0df29a7533d24db4bfae3.jpg","text":"TemporaryFile(/tmp/multipartBody8120000303481137132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658253177,"filename":"image_12012025_06_02_02_584659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55b316cab8145b6c3cd14f6d3170f98c.jpg","text":"TemporaryFile(/tmp/multipartBody1760558083334208881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658253177,"filename":"image_12012025_06_02_02_584659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/618deba2bd777ed19243f818cee46840.jpg","text":"TemporaryFile(/tmp/multipartBody4571463647862132774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658253177,"filename":"image_12012025_06_01_03_073541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0394b774c776a067a50d4f40034c570b.jpg","text":"TemporaryFile(/tmp/multipartBody5052360926748667408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658253177,"filename":"image_12012025_06_02_02_584659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328346919","file1":"1328346917","file0":"1328346916","file3":"1328346921"},"map_files_photo_id_array":[{"photo_id":"1328346919","filename":"file2"},{"photo_id":"1328346917","filename":"file1"},{"photo_id":"1328346916","filename":"file0"},{"photo_id":"1328346921","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328346917":["hashtag1","hashtag2"]},{"1328346919":["hashtag1","hashtag2"]},{"1328346916":["hashtag1","hashtag2"]},{"1328346921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328346917, 1328346919, 1328346916, 1328346921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.528679609298706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:04:02.540314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0003.jpg', '/home/pi/Desktop/images/12012025/06/03/image_12012025_06_03_02_194981_0000.jpg', '/home/pi/Desktop/images/12012025/06/03/image_12012025_06_03_02_194981_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/02/image_12012025_06_02_02_584659_0003.jpg
/home/pi/Desktop/images/12012025/06/03/image_12012025_06_03_02_194981_0000.jpg
/home/pi/Desktop/images/12012025/06/03/image_12012025_06_03_02_194981_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328346970","1328346967","1328346969"],"photo_ids_order":["1328346967","1328346969","1328346970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50ca4645413790250d73b810a7d93d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6517878247507348642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658310360,"filename":"image_12012025_06_03_02_194981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/338cdac8b45c99a94bac6cf6100f42e1.jpg","text":"TemporaryFile(/tmp/multipartBody334798793874502289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658310360,"filename":"image_12012025_06_02_02_584659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92ee0ce335d1286bf13e71443ebcb993.jpg","text":"TemporaryFile(/tmp/multipartBody103778100446739939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658310360,"filename":"image_12012025_06_03_02_194981_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328346970","file1":"1328346969","file0":"1328346967"},"map_files_photo_id_array":[{"photo_id":"1328346970","filename":"file2"},{"photo_id":"1328346969","filename":"file1"},{"photo_id":"1328346967","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328346970":["hashtag1","hashtag2"]},{"1328346967":["hashtag1","hashtag2"]},{"1328346969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328346970, 1328346967, 1328346969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.95624613761902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:05:03.226196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/03/image_12012025_06_03_02_194981_0003.jpg', '/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0000.jpg', '/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0001.jpg', '/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/03/image_12012025_06_03_02_194981_0003.jpg
/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0000.jpg
/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0001.jpg
/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347013","1328347010","1328347007","1328346985"],"photo_ids_order":["1328346985","1328347007","1328347010","1328347013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f13db350a6fad33c9747c296e3e0ed05.jpg","text":"TemporaryFile(/tmp/multipartBody3079121745676705204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658373524,"filename":"image_12012025_06_04_02_688218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ec6b19710d1e368586fc65a1d292cb7.jpg","text":"TemporaryFile(/tmp/multipartBody3492860343112100022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658373524,"filename":"image_12012025_06_04_02_688218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80e8c399d918dbc7ddd9324adcd57665.jpg","text":"TemporaryFile(/tmp/multipartBody3215137019996654435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658373524,"filename":"image_12012025_06_04_02_688218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/041ce8034e3ae2a99e6ca66bc7984546.jpg","text":"TemporaryFile(/tmp/multipartBody8324515250325459166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658373524,"filename":"image_12012025_06_03_02_194981_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347010","file1":"1328347007","file0":"1328346985","file3":"1328347013"},"map_files_photo_id_array":[{"photo_id":"1328347010","filename":"file2"},{"photo_id":"1328347007","filename":"file1"},{"photo_id":"1328346985","filename":"file0"},{"photo_id":"1328347013","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347013":["hashtag1","hashtag2"]},{"1328347010":["hashtag1","hashtag2"]},{"1328347007":["hashtag1","hashtag2"]},{"1328346985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347013, 1328347010, 1328347007, 1328346985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33044171333313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:06:02.463152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0003.jpg', '/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0000.jpg', '/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0001.jpg', '/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/04/image_12012025_06_04_02_688218_0003.jpg
/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0000.jpg
/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0001.jpg
/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347124","1328347150","1328347147","1328347122"],"photo_ids_order":["1328347122","1328347124","1328347147","1328347150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87963730794487b9aabe69903294c534.jpg","text":"TemporaryFile(/tmp/multipartBody5639104718678433437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658432644,"filename":"image_12012025_06_05_02_392485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a72051e220af2d4126e424884eb52de.jpg","text":"TemporaryFile(/tmp/multipartBody5162033031578962153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658432644,"filename":"image_12012025_06_05_02_392485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03d109ba6a88514394506824160d296b.jpg","text":"TemporaryFile(/tmp/multipartBody1719236114517717164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658432644,"filename":"image_12012025_06_05_02_392485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b188332e7c6de9e480b7993e39fcc04.jpg","text":"TemporaryFile(/tmp/multipartBody4747978366977841926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658432644,"filename":"image_12012025_06_04_02_688218_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347147","file1":"1328347124","file0":"1328347122","file3":"1328347150"},"map_files_photo_id_array":[{"photo_id":"1328347147","filename":"file2"},{"photo_id":"1328347124","filename":"file1"},{"photo_id":"1328347122","filename":"file0"},{"photo_id":"1328347150","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347124":["hashtag1","hashtag2"]},{"1328347150":["hashtag1","hashtag2"]},{"1328347147":["hashtag1","hashtag2"]},{"1328347122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347124, 1328347150, 1328347147, 1328347122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23925065994263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:07:03.373884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0003.jpg', '/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0000.jpg', '/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0001.jpg', '/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/05/image_12012025_06_05_02_392485_0003.jpg
/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0000.jpg
/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0001.jpg
/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347189","1328347191","1328347188","1328347193"],"photo_ids_order":["1328347188","1328347189","1328347191","1328347193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/138cdcfc9bb8735c19b0ec135e70fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody7617836884361487995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658493685,"filename":"image_12012025_06_06_02_924201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/881b258c88dbea8f888fcfd9ad845955.jpg","text":"TemporaryFile(/tmp/multipartBody2560313936136630327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658493685,"filename":"image_12012025_06_06_02_924201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f2cfb19f4202a22b2e31d32f1a8b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody8617603686412833645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658493685,"filename":"image_12012025_06_05_02_392485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/acc409eb467fd3111fd09df90826a7d6.jpg","text":"TemporaryFile(/tmp/multipartBody2279359844383058855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658493685,"filename":"image_12012025_06_06_02_924201_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347191","file1":"1328347189","file0":"1328347188","file3":"1328347193"},"map_files_photo_id_array":[{"photo_id":"1328347191","filename":"file2"},{"photo_id":"1328347189","filename":"file1"},{"photo_id":"1328347188","filename":"file0"},{"photo_id":"1328347193","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347189":["hashtag1","hashtag2"]},{"1328347191":["hashtag1","hashtag2"]},{"1328347188":["hashtag1","hashtag2"]},{"1328347193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347189, 1328347191, 1328347188, 1328347193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92287039756775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:08:02.841135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0003.jpg', '/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0000.jpg', '/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0001.jpg', '/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/06/image_12012025_06_06_02_924201_0003.jpg
/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0000.jpg
/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0001.jpg
/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347370","1328347334","1328347372","1328347374"],"photo_ids_order":["1328347334","1328347370","1328347372","1328347374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8277a6b36c82b9ceb800df3a4a6bafe8.jpg","text":"TemporaryFile(/tmp/multipartBody467593822098298436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658553078,"filename":"image_12012025_06_07_02_580933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ec12a2b6fc0abb216862e7b911a7d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1871930322745868780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658553078,"filename":"image_12012025_06_06_02_924201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c8b5f17ad2d1fa6a6a27a87473283b4.jpg","text":"TemporaryFile(/tmp/multipartBody4520519509858408580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658553078,"filename":"image_12012025_06_07_02_580933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/feb7bd36f9ec567c284131e858ec3322.jpg","text":"TemporaryFile(/tmp/multipartBody5387216015888077928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658553078,"filename":"image_12012025_06_07_02_580933_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347372","file1":"1328347370","file0":"1328347334","file3":"1328347374"},"map_files_photo_id_array":[{"photo_id":"1328347372","filename":"file2"},{"photo_id":"1328347370","filename":"file1"},{"photo_id":"1328347334","filename":"file0"},{"photo_id":"1328347374","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347370":["hashtag1","hashtag2"]},{"1328347334":["hashtag1","hashtag2"]},{"1328347372":["hashtag1","hashtag2"]},{"1328347374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347370, 1328347334, 1328347372, 1328347374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.576767921447754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:09:02.533314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0003.jpg', '/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0000.jpg', '/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0003.jpg
/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0000.jpg
/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_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.432026386260986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:09:21.810626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0003.jpg', '/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0000.jpg', '/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0001.jpg', '/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0002.jpg', '/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0000.jpg', '/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/07/image_12012025_06_07_02_580933_0003.jpg
/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0000.jpg
/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0001.jpg
/home/pi/Desktop/images/12012025/06/08/image_12012025_06_08_03_123713_0002.jpg
/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0000.jpg
/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347424","1328347420","1328347417","1328347389","1328347398","1328347422"],"photo_ids_order":["1328347389","1328347398","1328347417","1328347420","1328347422","1328347424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e98cef682bfb178e77f79a4b6b0b885.jpg","text":"TemporaryFile(/tmp/multipartBody8384222396925298913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658636720,"filename":"image_12012025_06_09_02_689518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7845e00e07ac3aa0ac0ba7a48a04a20.jpg","text":"TemporaryFile(/tmp/multipartBody6892732365989295113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658636720,"filename":"image_12012025_06_08_03_123713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a273a54f1f8e99d05e15fd0f516a9bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4541066716056485890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658636720,"filename":"image_12012025_06_08_03_123713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d4a5c4065d66c37305b1b7d32ce9756.jpg","text":"TemporaryFile(/tmp/multipartBody6096234867948118564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658636720,"filename":"image_12012025_06_07_02_580933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bdefa80bb5bc9b5242d9a976af68444.jpg","text":"TemporaryFile(/tmp/multipartBody8690006395409025300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658636720,"filename":"image_12012025_06_08_03_123713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b67871da201428773d0f46b990383cd5.jpg","text":"TemporaryFile(/tmp/multipartBody4255224972330815997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658636720,"filename":"image_12012025_06_09_02_689518_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347417","file1":"1328347398","file0":"1328347389","file4":"1328347422","file5":"1328347424","file3":"1328347420"},"map_files_photo_id_array":[{"photo_id":"1328347424","filename":"file5"},{"photo_id":"1328347417","filename":"file2"},{"photo_id":"1328347422","filename":"file4"},{"photo_id":"1328347398","filename":"file1"},{"photo_id":"1328347389","filename":"file0"},{"photo_id":"1328347420","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347424":["hashtag1","hashtag2"]},{"1328347420":["hashtag1","hashtag2"]},{"1328347417":["hashtag1","hashtag2"]},{"1328347389":["hashtag1","hashtag2"]},{"1328347398":["hashtag1","hashtag2"]},{"1328347422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347424, 1328347420, 1328347417, 1328347389, 1328347398, 1328347422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.708582401275635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:10:22.404730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0002.jpg', '/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0003.jpg', '/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0000.jpg', '/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0001.jpg', '/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0002.jpg
/home/pi/Desktop/images/12012025/06/09/image_12012025_06_09_02_689518_0003.jpg
/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0000.jpg
/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0001.jpg
/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347439","1328347430","1328347429","1328347437","1328347434"],"photo_ids_order":["1328347429","1328347430","1328347434","1328347437","1328347439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9a1e78c8add33edd04f63715c9a084b.jpg","text":"TemporaryFile(/tmp/multipartBody3987255507408579890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658695071,"filename":"image_12012025_06_10_02_178806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec8bcef4e6dfe198f6e5a7d2440089cc.jpg","text":"TemporaryFile(/tmp/multipartBody7152486058598159430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658695071,"filename":"image_12012025_06_09_02_689518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a00f0a9dbe565f411ed23b000a9628e9.jpg","text":"TemporaryFile(/tmp/multipartBody2663624504918821267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658695071,"filename":"image_12012025_06_09_02_689518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a838503fd38568fa6d4b427b509ac442.jpg","text":"TemporaryFile(/tmp/multipartBody4941656154968639218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658695071,"filename":"image_12012025_06_10_02_178806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8ff2f0cc4d52babcb834b24f691c368.jpg","text":"TemporaryFile(/tmp/multipartBody955913017844846225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658695071,"filename":"image_12012025_06_10_02_178806_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347434","file1":"1328347430","file0":"1328347429","file4":"1328347439","file3":"1328347437"},"map_files_photo_id_array":[{"photo_id":"1328347434","filename":"file2"},{"photo_id":"1328347439","filename":"file4"},{"photo_id":"1328347430","filename":"file1"},{"photo_id":"1328347429","filename":"file0"},{"photo_id":"1328347437","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347439":["hashtag1","hashtag2"]},{"1328347430":["hashtag1","hashtag2"]},{"1328347429":["hashtag1","hashtag2"]},{"1328347437":["hashtag1","hashtag2"]},{"1328347434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347439, 1328347430, 1328347429, 1328347437, 1328347434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.03921341896057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:11:21.926020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0003.jpg', '/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0000.jpg', '/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0001.jpg', '/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/10/image_12012025_06_10_02_178806_0003.jpg
/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0000.jpg
/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0001.jpg
/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347454","1328347457","1328347450","1328347452"],"photo_ids_order":["1328347450","1328347452","1328347454","1328347457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/15bdfba0444de804da82fd00dfa38a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5494665576115987224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658752089,"filename":"image_12012025_06_11_02_854117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44d425d45599c9110fd4b159e776fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3779403604807445837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658752089,"filename":"image_12012025_06_11_02_854117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f306422e2ccdbbbe7f21810e1cd1105.jpg","text":"TemporaryFile(/tmp/multipartBody904859286945601518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658752089,"filename":"image_12012025_06_10_02_178806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df3333f9fa046d01ace43b609e20f45e.jpg","text":"TemporaryFile(/tmp/multipartBody1550312299024454840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658752089,"filename":"image_12012025_06_11_02_854117_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347454","file1":"1328347452","file0":"1328347450","file3":"1328347457"},"map_files_photo_id_array":[{"photo_id":"1328347454","filename":"file2"},{"photo_id":"1328347452","filename":"file1"},{"photo_id":"1328347450","filename":"file0"},{"photo_id":"1328347457","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347454":["hashtag1","hashtag2"]},{"1328347457":["hashtag1","hashtag2"]},{"1328347450":["hashtag1","hashtag2"]},{"1328347452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347454, 1328347457, 1328347450, 1328347452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89161157608032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:12:03.017597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:12:22.585416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0003.jpg', '/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0000.jpg', '/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0003.jpg
/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0000.jpg
/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_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.240226984024048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:13:02.688595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0003.jpg', '/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0000.jpg', '/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/11/image_12012025_06_11_02_854117_0003.jpg
/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0000.jpg
/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347520","1328347525","1328347522"],"photo_ids_order":["1328347520","1328347522","1328347525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6699937538f9b890850aabcadcbd3074.jpg","text":"TemporaryFile(/tmp/multipartBody7325165023644274402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658850381,"filename":"image_12012025_06_11_02_854117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2e6957fb942cefafa4d5ef71c7d558a.jpg","text":"TemporaryFile(/tmp/multipartBody6466874921136616060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658850381,"filename":"image_12012025_06_12_02_401262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/666887f04d814fb01ed50dfed864592f.jpg","text":"TemporaryFile(/tmp/multipartBody3054919791045264249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658850381,"filename":"image_12012025_06_12_02_401262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347525","file1":"1328347522","file0":"1328347520"},"map_files_photo_id_array":[{"photo_id":"1328347525","filename":"file2"},{"photo_id":"1328347522","filename":"file1"},{"photo_id":"1328347520","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347520":["hashtag1","hashtag2"]},{"1328347525":["hashtag1","hashtag2"]},{"1328347522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347520, 1328347525, 1328347522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.08174109458923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:14:02.092937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0003.jpg', '/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0000.jpg', '/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0001.jpg', '/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/12/image_12012025_06_12_02_401262_0003.jpg
/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0000.jpg
/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0001.jpg
/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347670","1328347662","1328347665","1328347659"],"photo_ids_order":["1328347659","1328347662","1328347665","1328347670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/051cf60b648d8405e2595e431c5f7e83.jpg","text":"TemporaryFile(/tmp/multipartBody5874579755765625352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658912337,"filename":"image_12012025_06_13_02_965662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28d554869decacd7f8a35301821f7a07.jpg","text":"TemporaryFile(/tmp/multipartBody6008190868248264870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658912337,"filename":"image_12012025_06_13_02_965662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89b24b1ae411ba4981041ba9220de961.jpg","text":"TemporaryFile(/tmp/multipartBody6931754766545327149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658912337,"filename":"image_12012025_06_13_02_965662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88397166efadd1406fe4ec8dda35fb44.jpg","text":"TemporaryFile(/tmp/multipartBody1117536504777377718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658912337,"filename":"image_12012025_06_12_02_401262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347665","file1":"1328347662","file0":"1328347659","file3":"1328347670"},"map_files_photo_id_array":[{"photo_id":"1328347665","filename":"file2"},{"photo_id":"1328347662","filename":"file1"},{"photo_id":"1328347659","filename":"file0"},{"photo_id":"1328347670","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347670":["hashtag1","hashtag2"]},{"1328347662":["hashtag1","hashtag2"]},{"1328347665":["hashtag1","hashtag2"]},{"1328347659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347670, 1328347662, 1328347665, 1328347659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67105579376221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:15:02.969639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0003.jpg', '/home/pi/Desktop/images/12012025/06/14/image_12012025_06_14_02_490664_0000.jpg', '/home/pi/Desktop/images/12012025/06/14/image_12012025_06_14_02_490664_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/13/image_12012025_06_13_02_965662_0003.jpg
/home/pi/Desktop/images/12012025/06/14/image_12012025_06_14_02_490664_0000.jpg
/home/pi/Desktop/images/12012025/06/14/image_12012025_06_14_02_490664_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347686","1328347680","1328347683"],"photo_ids_order":["1328347680","1328347683","1328347686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/417ed0382176e6a2872b52bae410993e.jpg","text":"TemporaryFile(/tmp/multipartBody3575344653863279129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658970672,"filename":"image_12012025_06_14_02_490664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75e02238a495fd199581be71a3c4a0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5480068016651125184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658970672,"filename":"image_12012025_06_13_02_965662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e28ac6f32316a0168309996b64b9203c.jpg","text":"TemporaryFile(/tmp/multipartBody406483934517462317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736658970672,"filename":"image_12012025_06_14_02_490664_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347686","file1":"1328347683","file0":"1328347680"},"map_files_photo_id_array":[{"photo_id":"1328347686","filename":"file2"},{"photo_id":"1328347683","filename":"file1"},{"photo_id":"1328347680","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347686":["hashtag1","hashtag2"]},{"1328347680":["hashtag1","hashtag2"]},{"1328347683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347686, 1328347680, 1328347683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.169549465179443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:16:02.362759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/14/image_12012025_06_14_02_490664_0003.jpg', '/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0000.jpg', '/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0001.jpg', '/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/14/image_12012025_06_14_02_490664_0003.jpg
/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0000.jpg
/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0001.jpg
/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328347739","1328347721","1328347718","1328347725"],"photo_ids_order":["1328347718","1328347721","1328347725","1328347739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2eed9dd6c49830b59160a447051f9629.jpg","text":"TemporaryFile(/tmp/multipartBody8742103960222783273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659032746,"filename":"image_12012025_06_15_02_148852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28af42ed55c5746373ceaea7c181dcaf.jpg","text":"TemporaryFile(/tmp/multipartBody8343843227445307576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659032746,"filename":"image_12012025_06_15_02_148852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/113df3cc2bced94c7914b82e694ba18a.jpg","text":"TemporaryFile(/tmp/multipartBody1459914904077950565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659032746,"filename":"image_12012025_06_14_02_490664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd6815c564c8b6d6e4c8642d3634b63f.jpg","text":"TemporaryFile(/tmp/multipartBody4524900100760445977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659032746,"filename":"image_12012025_06_15_02_148852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328347725","file1":"1328347721","file0":"1328347718","file3":"1328347739"},"map_files_photo_id_array":[{"photo_id":"1328347725","filename":"file2"},{"photo_id":"1328347721","filename":"file1"},{"photo_id":"1328347718","filename":"file0"},{"photo_id":"1328347739","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328347739":["hashtag1","hashtag2"]},{"1328347721":["hashtag1","hashtag2"]},{"1328347718":["hashtag1","hashtag2"]},{"1328347725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328347739, 1328347721, 1328347718, 1328347725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29817199707031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:17:02.789322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0003.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0000.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0001.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0003.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0000.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0001.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.853349685668945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:17:22.317079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0003.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0000.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0001.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0002.jpg', '/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0003.jpg', '/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/15/image_12012025_06_15_02_148852_0003.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0000.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0001.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0002.jpg
/home/pi/Desktop/images/12012025/06/16/image_12012025_06_16_02_716832_0003.jpg
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348377","1328348371","1328348373","1328348465","1328348372","1328348375"],"photo_ids_order":["1328348371","1328348372","1328348373","1328348375","1328348377","1328348465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a32babdfff960106a77482fd5bdec7df.jpg","text":"TemporaryFile(/tmp/multipartBody2572623846649507096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659117224,"filename":"image_12012025_06_16_02_716832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91b393766e29b3a0627e9b0759730dfd.jpg","text":"TemporaryFile(/tmp/multipartBody731598664296021413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659117224,"filename":"image_12012025_06_15_02_148852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86934535f506a94f75d7d17b9a2b6d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1465706979223313514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659117224,"filename":"image_12012025_06_16_02_716832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/704095a27188423f9baed591f6d14d79.jpg","text":"TemporaryFile(/tmp/multipartBody1597686228472036365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659117224,"filename":"image_12012025_06_17_02_236014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb91ebfe6f5bda6db13e722c89484a36.jpg","text":"TemporaryFile(/tmp/multipartBody5902909388262219897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659117224,"filename":"image_12012025_06_16_02_716832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88eae5b2bc5aabb7d14452ab5f9dff1f.jpg","text":"TemporaryFile(/tmp/multipartBody836134832799541414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659117224,"filename":"image_12012025_06_16_02_716832_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348373","file1":"1328348372","file0":"1328348371","file4":"1328348377","file5":"1328348465","file3":"1328348375"},"map_files_photo_id_array":[{"photo_id":"1328348465","filename":"file5"},{"photo_id":"1328348373","filename":"file2"},{"photo_id":"1328348377","filename":"file4"},{"photo_id":"1328348372","filename":"file1"},{"photo_id":"1328348371","filename":"file0"},{"photo_id":"1328348375","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348377":["hashtag1","hashtag2"]},{"1328348371":["hashtag1","hashtag2"]},{"1328348373":["hashtag1","hashtag2"]},{"1328348465":["hashtag1","hashtag2"]},{"1328348372":["hashtag1","hashtag2"]},{"1328348375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348377, 1328348371, 1328348373, 1328348465, 1328348372, 1328348375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.863808393478394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:18:22.171403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0001.jpg', '/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0002.jpg', '/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0003.jpg', '/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0000.jpg', '/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0001.jpg', '/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0001.jpg
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0002.jpg
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0003.jpg
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0000.jpg
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0001.jpg
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.706451892852783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:19:03.224004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0001.jpg', '/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0002.jpg', '/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0003.jpg', '/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0000.jpg', '/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0001.jpg', '/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0001.jpg
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0002.jpg
/home/pi/Desktop/images/12012025/06/17/image_12012025_06_17_02_236014_0003.jpg
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0000.jpg
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0001.jpg
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348590","1328348577","1328348586","1328348589","1328348582","1328348573"],"photo_ids_order":["1328348573","1328348577","1328348582","1328348586","1328348589","1328348590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50d385d0db4167479a6fe8b90b292706.jpg","text":"TemporaryFile(/tmp/multipartBody8210851264968122819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659218409,"filename":"image_12012025_06_18_02_785955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a4a10f50f284be1f7204d0bdda77b53.jpg","text":"TemporaryFile(/tmp/multipartBody8232657661245276190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659218409,"filename":"image_12012025_06_17_02_236014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39c4554a57ece711b3dad5dec4b04000.jpg","text":"TemporaryFile(/tmp/multipartBody4876290248065614576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659218409,"filename":"image_12012025_06_18_02_785955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e6e0109f028f8806f128e95bd6d3021.jpg","text":"TemporaryFile(/tmp/multipartBody8654753100836362362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659218409,"filename":"image_12012025_06_18_02_785955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c3116ff5778dcafb43a3160b698325b.jpg","text":"TemporaryFile(/tmp/multipartBody4383624864748623028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659218409,"filename":"image_12012025_06_17_02_236014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4bcc7a52ca43af034a40e97704b901e9.jpg","text":"TemporaryFile(/tmp/multipartBody1352679748967265593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659218409,"filename":"image_12012025_06_17_02_236014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348582","file1":"1328348577","file0":"1328348573","file4":"1328348589","file5":"1328348590","file3":"1328348586"},"map_files_photo_id_array":[{"photo_id":"1328348590","filename":"file5"},{"photo_id":"1328348582","filename":"file2"},{"photo_id":"1328348589","filename":"file4"},{"photo_id":"1328348577","filename":"file1"},{"photo_id":"1328348573","filename":"file0"},{"photo_id":"1328348586","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348590":["hashtag1","hashtag2"]},{"1328348577":["hashtag1","hashtag2"]},{"1328348586":["hashtag1","hashtag2"]},{"1328348589":["hashtag1","hashtag2"]},{"1328348582":["hashtag1","hashtag2"]},{"1328348573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348590, 1328348577, 1328348586, 1328348589, 1328348582, 1328348573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66358494758606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:20:02.805084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0003.jpg', '/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0000.jpg', '/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0001.jpg', '/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/18/image_12012025_06_18_02_785955_0003.jpg
/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0000.jpg
/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0001.jpg
/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348598","1328348601","1328348604","1328348607"],"photo_ids_order":["1328348598","1328348601","1328348604","1328348607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23498fb5f33115ef5de26c43d57b63cf.jpg","text":"TemporaryFile(/tmp/multipartBody9006660551103588266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659273097,"filename":"image_12012025_06_18_02_785955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20048330a83f5f892a39dea787f8253f.jpg","text":"TemporaryFile(/tmp/multipartBody3654470384200271383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659273097,"filename":"image_12012025_06_19_02_493272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd97fbfaa64a3053b68a8b470dd6c2b5.jpg","text":"TemporaryFile(/tmp/multipartBody3261042375704430374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659273097,"filename":"image_12012025_06_19_02_493272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c83a291d50aca6d61928bb332006f101.jpg","text":"TemporaryFile(/tmp/multipartBody5327215656717355734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659273097,"filename":"image_12012025_06_19_02_493272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348604","file1":"1328348601","file0":"1328348598","file3":"1328348607"},"map_files_photo_id_array":[{"photo_id":"1328348604","filename":"file2"},{"photo_id":"1328348601","filename":"file1"},{"photo_id":"1328348598","filename":"file0"},{"photo_id":"1328348607","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348598":["hashtag1","hashtag2"]},{"1328348601":["hashtag1","hashtag2"]},{"1328348604":["hashtag1","hashtag2"]},{"1328348607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348598, 1328348601, 1328348604, 1328348607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79133939743042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:21:02.266879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0003.jpg', '/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0000.jpg', '/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0001.jpg', '/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/19/image_12012025_06_19_02_493272_0003.jpg
/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0000.jpg
/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0001.jpg
/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348615","1328348617","1328348619","1328348613"],"photo_ids_order":["1328348613","1328348615","1328348617","1328348619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09f73022733a26ec6614b91e8be62499.jpg","text":"TemporaryFile(/tmp/multipartBody1526034430355704953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659332546,"filename":"image_12012025_06_20_02_999215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e6c429494ecc4726c9099f64f3693c9.jpg","text":"TemporaryFile(/tmp/multipartBody7747061781448075093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659332546,"filename":"image_12012025_06_20_02_999215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df5177c6603363db3a17bd1eb86ccbbf.jpg","text":"TemporaryFile(/tmp/multipartBody6331927273768974263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659332546,"filename":"image_12012025_06_20_02_999215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08334d884a2545f5d3391df09b7541ed.jpg","text":"TemporaryFile(/tmp/multipartBody3024836773968438142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659332546,"filename":"image_12012025_06_19_02_493272_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348617","file1":"1328348615","file0":"1328348613","file3":"1328348619"},"map_files_photo_id_array":[{"photo_id":"1328348617","filename":"file2"},{"photo_id":"1328348615","filename":"file1"},{"photo_id":"1328348613","filename":"file0"},{"photo_id":"1328348619","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348615":["hashtag1","hashtag2"]},{"1328348617":["hashtag1","hashtag2"]},{"1328348619":["hashtag1","hashtag2"]},{"1328348613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348615, 1328348617, 1328348619, 1328348613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.820791244506836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:22:02.865043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0003.jpg', '/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0000.jpg', '/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0001.jpg', '/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/20/image_12012025_06_20_02_999215_0003.jpg
/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0000.jpg
/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0001.jpg
/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348662","1328348664","1328348661","1328348666"],"photo_ids_order":["1328348661","1328348662","1328348664","1328348666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8778af62d6b36fe342518a5ad90705f4.jpg","text":"TemporaryFile(/tmp/multipartBody4241958133012458029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659393150,"filename":"image_12012025_06_21_02_636874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ea8512c0c34cce6a3180de34ae944bc.jpg","text":"TemporaryFile(/tmp/multipartBody1002554438937541947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659393150,"filename":"image_12012025_06_21_02_636874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72fc8212d52c456ceac2c891852bc59c.jpg","text":"TemporaryFile(/tmp/multipartBody6764043791774240147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659393150,"filename":"image_12012025_06_20_02_999215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/582d9cd8b915b71152366923b798bec8.jpg","text":"TemporaryFile(/tmp/multipartBody6722000884729051432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659393150,"filename":"image_12012025_06_21_02_636874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348664","file1":"1328348662","file0":"1328348661","file3":"1328348666"},"map_files_photo_id_array":[{"photo_id":"1328348664","filename":"file2"},{"photo_id":"1328348662","filename":"file1"},{"photo_id":"1328348661","filename":"file0"},{"photo_id":"1328348666","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348662":["hashtag1","hashtag2"]},{"1328348664":["hashtag1","hashtag2"]},{"1328348661":["hashtag1","hashtag2"]},{"1328348666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348662, 1328348664, 1328348661, 1328348666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.703006744384766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:23:02.423180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0003.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0000.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0001.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0003.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0000.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0001.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.924875974655151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:23:21.764142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0003.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0000.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0001.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0002.jpg', '/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0003.jpg', '/home/pi/Desktop/images/12012025/06/23/image_12012025_06_23_02_708304_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/21/image_12012025_06_21_02_636874_0003.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0000.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0001.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0002.jpg
/home/pi/Desktop/images/12012025/06/22/image_12012025_06_22_02_109148_0003.jpg
/home/pi/Desktop/images/12012025/06/23/image_12012025_06_23_02_708304_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348689","1328348683","1328348691","1328348685","1328348693","1328348687"],"photo_ids_order":["1328348683","1328348685","1328348687","1328348689","1328348691","1328348693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0a66705f0243ff0bc51398dc9cf4148.jpg","text":"TemporaryFile(/tmp/multipartBody4402777458149098518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659476743,"filename":"image_12012025_06_22_02_109148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14cdc6b65e6c917636ffa4d7f4e12769.jpg","text":"TemporaryFile(/tmp/multipartBody5090207958389463279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659476743,"filename":"image_12012025_06_21_02_636874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/821dc52b324f9e29f282153e1f52433f.jpg","text":"TemporaryFile(/tmp/multipartBody7267978613608981362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659476743,"filename":"image_12012025_06_22_02_109148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/374d70efb20e0f0ed56bafa54c04ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody2685784916391240736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659476743,"filename":"image_12012025_06_22_02_109148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66c6991b41e857e93c5b5cd6ab603ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3047850469241340661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659476743,"filename":"image_12012025_06_23_02_708304_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c623a61816a78fde688ae0d646a2f1f9.jpg","text":"TemporaryFile(/tmp/multipartBody7202003687701851393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659476743,"filename":"image_12012025_06_22_02_109148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348687","file1":"1328348685","file0":"1328348683","file4":"1328348691","file5":"1328348693","file3":"1328348689"},"map_files_photo_id_array":[{"photo_id":"1328348693","filename":"file5"},{"photo_id":"1328348687","filename":"file2"},{"photo_id":"1328348691","filename":"file4"},{"photo_id":"1328348685","filename":"file1"},{"photo_id":"1328348683","filename":"file0"},{"photo_id":"1328348689","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348689":["hashtag1","hashtag2"]},{"1328348683":["hashtag1","hashtag2"]},{"1328348691":["hashtag1","hashtag2"]},{"1328348685":["hashtag1","hashtag2"]},{"1328348693":["hashtag1","hashtag2"]},{"1328348687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348689, 1328348683, 1328348691, 1328348685, 1328348693, 1328348687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44517469406128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:24:22.420802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/23/image_12012025_06_23_02_708304_0002.jpg', '/home/pi/Desktop/images/12012025/06/23/image_12012025_06_23_02_708304_0003.jpg', '/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0000.jpg', '/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0001.jpg', '/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/23/image_12012025_06_23_02_708304_0002.jpg
/home/pi/Desktop/images/12012025/06/23/image_12012025_06_23_02_708304_0003.jpg
/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0000.jpg
/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0001.jpg
/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348705","1328348735","1328348702","1328348700","1328348718"],"photo_ids_order":["1328348700","1328348702","1328348705","1328348718","1328348735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45d9f8e4402f784ada0665b22429206b.jpg","text":"TemporaryFile(/tmp/multipartBody9087420807888020431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659535430,"filename":"image_12012025_06_24_02_232004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5095efd094e9598b6ba580af96cfd685.jpg","text":"TemporaryFile(/tmp/multipartBody7815438601169222061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659535430,"filename":"image_12012025_06_24_02_232004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c092cc45bbcc6100c82b2813b54ae128.jpg","text":"TemporaryFile(/tmp/multipartBody7096440256562969483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659535430,"filename":"image_12012025_06_23_02_708304_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/612f5c573b1c3b6b06d28b089ba85c46.jpg","text":"TemporaryFile(/tmp/multipartBody854858819081585903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659535430,"filename":"image_12012025_06_23_02_708304_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f698343c694f1ae3836d7300f6168ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3606422001934905378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659535430,"filename":"image_12012025_06_24_02_232004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348705","file1":"1328348702","file0":"1328348700","file4":"1328348735","file3":"1328348718"},"map_files_photo_id_array":[{"photo_id":"1328348705","filename":"file2"},{"photo_id":"1328348735","filename":"file4"},{"photo_id":"1328348702","filename":"file1"},{"photo_id":"1328348700","filename":"file0"},{"photo_id":"1328348718","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348705":["hashtag1","hashtag2"]},{"1328348735":["hashtag1","hashtag2"]},{"1328348702":["hashtag1","hashtag2"]},{"1328348700":["hashtag1","hashtag2"]},{"1328348718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348705, 1328348735, 1328348702, 1328348700, 1328348718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.42762875556946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:25:21.959424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0003.jpg', '/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0000.jpg', '/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0001.jpg', '/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/24/image_12012025_06_24_02_232004_0003.jpg
/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0000.jpg
/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0001.jpg
/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348753","1328348746","1328348749","1328348751"],"photo_ids_order":["1328348746","1328348749","1328348751","1328348753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f85f7716922bb5fc1c5c82af004aaa1.jpg","text":"TemporaryFile(/tmp/multipartBody6923340243341162916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659592209,"filename":"image_12012025_06_25_02_854759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/387af43d652cf9a920d6b274b68d1aab.jpg","text":"TemporaryFile(/tmp/multipartBody2261409775697258405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659592209,"filename":"image_12012025_06_24_02_232004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68972b758bfcd7ac0d83de6e44afe40c.jpg","text":"TemporaryFile(/tmp/multipartBody36929384248694185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659592209,"filename":"image_12012025_06_25_02_854759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/31e65e6d3329d376328f79c659dea2d1.jpg","text":"TemporaryFile(/tmp/multipartBody8539751989111801574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659592209,"filename":"image_12012025_06_25_02_854759_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348751","file1":"1328348749","file0":"1328348746","file3":"1328348753"},"map_files_photo_id_array":[{"photo_id":"1328348751","filename":"file2"},{"photo_id":"1328348749","filename":"file1"},{"photo_id":"1328348746","filename":"file0"},{"photo_id":"1328348753","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348753":["hashtag1","hashtag2"]},{"1328348746":["hashtag1","hashtag2"]},{"1328348749":["hashtag1","hashtag2"]},{"1328348751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348753, 1328348746, 1328348749, 1328348751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54333996772766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:26:02.858678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:26:22.439954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0003.jpg', '/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0000.jpg', '/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0003.jpg
/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0000.jpg
/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_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.421006679534912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:27:02.640396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0003.jpg', '/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0000.jpg', '/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/25/image_12012025_06_25_02_854759_0003.jpg
/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0000.jpg
/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348769","1328348774","1328348771"],"photo_ids_order":["1328348769","1328348771","1328348774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3af1165ef29c5f17e3d97a75eb303aad.jpg","text":"TemporaryFile(/tmp/multipartBody4519887878589262067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659690522,"filename":"image_12012025_06_25_02_854759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5401b1da8c20257ed6cf621660e88100.jpg","text":"TemporaryFile(/tmp/multipartBody6850953992650560475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659690522,"filename":"image_12012025_06_26_02_368602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/855217b6aa02af8fff41817416ed3aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4960520376549387778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659690522,"filename":"image_12012025_06_26_02_368602_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348774","file1":"1328348771","file0":"1328348769"},"map_files_photo_id_array":[{"photo_id":"1328348774","filename":"file2"},{"photo_id":"1328348771","filename":"file1"},{"photo_id":"1328348769","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348769":["hashtag1","hashtag2"]},{"1328348774":["hashtag1","hashtag2"]},{"1328348771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348769, 1328348774, 1328348771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.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 --only_old=0 --last_day=15
2025-01-12 06:28:02.984434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0002.jpg', '/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0000.jpg', '/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0001.jpg', '/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/26/image_12012025_06_26_02_368602_0002.jpg
/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0000.jpg
/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0001.jpg
/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348799","1328348790","1328348792","1328348795"],"photo_ids_order":["1328348790","1328348792","1328348795","1328348799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27f6a83fe87f775b0fc597e8e886ed12.jpg","text":"TemporaryFile(/tmp/multipartBody5590448049058966634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659753075,"filename":"image_12012025_06_27_02_838422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aae8887e9e17d4343fbe1f472ceae930.jpg","text":"TemporaryFile(/tmp/multipartBody8306593806963602263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659753075,"filename":"image_12012025_06_26_02_368602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85d4333ad27ed9d7f94c2aa2316afcb6.jpg","text":"TemporaryFile(/tmp/multipartBody1125013300636963418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659753075,"filename":"image_12012025_06_27_02_838422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3fca601d685ce4cc4af87fcfc8a6d85.jpg","text":"TemporaryFile(/tmp/multipartBody1518735638650747183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659753075,"filename":"image_12012025_06_27_02_838422_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348795","file1":"1328348792","file0":"1328348790","file3":"1328348799"},"map_files_photo_id_array":[{"photo_id":"1328348795","filename":"file2"},{"photo_id":"1328348792","filename":"file1"},{"photo_id":"1328348790","filename":"file0"},{"photo_id":"1328348799","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348799":["hashtag1","hashtag2"]},{"1328348790":["hashtag1","hashtag2"]},{"1328348792":["hashtag1","hashtag2"]},{"1328348795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348799, 1328348790, 1328348792, 1328348795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.444326400756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:29:02.655657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0003.jpg', '/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0000.jpg', '/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0001.jpg', '/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/27/image_12012025_06_27_02_838422_0003.jpg
/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0000.jpg
/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0001.jpg
/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348810","1328348807","1328348815","1328348818"],"photo_ids_order":["1328348807","1328348810","1328348815","1328348818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16a13123f7051b16190a16bab30ec801.jpg","text":"TemporaryFile(/tmp/multipartBody7390538650630911328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659812760,"filename":"image_12012025_06_28_02_373510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee45763e3749eee4a5bd3709e7f5797a.jpg","text":"TemporaryFile(/tmp/multipartBody1013181988239774863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659812760,"filename":"image_12012025_06_27_02_838422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1236c6f9319a79171bd264a5bcaac1ee.jpg","text":"TemporaryFile(/tmp/multipartBody3811210084658442349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659812760,"filename":"image_12012025_06_28_02_373510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9dc2b444e30cfa07b2a419b8fe445dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1328586489190455290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659812760,"filename":"image_12012025_06_28_02_373510_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348815","file1":"1328348810","file0":"1328348807","file3":"1328348818"},"map_files_photo_id_array":[{"photo_id":"1328348815","filename":"file2"},{"photo_id":"1328348810","filename":"file1"},{"photo_id":"1328348807","filename":"file0"},{"photo_id":"1328348818","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348810":["hashtag1","hashtag2"]},{"1328348807":["hashtag1","hashtag2"]},{"1328348815":["hashtag1","hashtag2"]},{"1328348818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348810, 1328348807, 1328348815, 1328348818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12887716293335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:30:02.260014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0003.jpg', '/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0000.jpg', '/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0001.jpg', '/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/28/image_12012025_06_28_02_373510_0003.jpg
/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0000.jpg
/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0001.jpg
/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348842","1328348844","1328348838","1328348840"],"photo_ids_order":["1328348838","1328348840","1328348842","1328348844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f43366e7b9053a39f987798e48688494.jpg","text":"TemporaryFile(/tmp/multipartBody4747701844152154952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659872496,"filename":"image_12012025_06_29_03_019510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcc8f9ef8c6e510eaa0bc1b2f9560cc1.jpg","text":"TemporaryFile(/tmp/multipartBody2827071733996396028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659872496,"filename":"image_12012025_06_29_03_019510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d769cd67b1d0396f433875196af3057d.jpg","text":"TemporaryFile(/tmp/multipartBody2241138690859023447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659872496,"filename":"image_12012025_06_28_02_373510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ff4cabd1a569f4c21724dd5ef9d91c0.jpg","text":"TemporaryFile(/tmp/multipartBody4586067442717611259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659872496,"filename":"image_12012025_06_29_03_019510_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348842","file1":"1328348840","file0":"1328348838","file3":"1328348844"},"map_files_photo_id_array":[{"photo_id":"1328348842","filename":"file2"},{"photo_id":"1328348840","filename":"file1"},{"photo_id":"1328348838","filename":"file0"},{"photo_id":"1328348844","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348842":["hashtag1","hashtag2"]},{"1328348844":["hashtag1","hashtag2"]},{"1328348838":["hashtag1","hashtag2"]},{"1328348840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348842, 1328348844, 1328348838, 1328348840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.729169845581055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:31:02.913321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0003.jpg', '/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0000.jpg', '/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0001.jpg', '/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/29/image_12012025_06_29_03_019510_0003.jpg
/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0000.jpg
/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0001.jpg
/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348863","1328348872","1328348860","1328348867"],"photo_ids_order":["1328348860","1328348863","1328348867","1328348872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a0ea28cbc23e8b6a260bbca934d7099.jpg","text":"TemporaryFile(/tmp/multipartBody3270288586726997913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659933307,"filename":"image_12012025_06_30_02_588566_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/368caa63f9c8566fd50a496f19f3f139.jpg","text":"TemporaryFile(/tmp/multipartBody5463491645626581254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659933307,"filename":"image_12012025_06_30_02_588566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19b41f6254330bb073ce149abe86143b.jpg","text":"TemporaryFile(/tmp/multipartBody4251237658401951621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659933307,"filename":"image_12012025_06_29_03_019510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dea6d16d2d856ec55e4b379f8b242d05.jpg","text":"TemporaryFile(/tmp/multipartBody789773122321755234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659933307,"filename":"image_12012025_06_30_02_588566_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348867","file1":"1328348863","file0":"1328348860","file3":"1328348872"},"map_files_photo_id_array":[{"photo_id":"1328348867","filename":"file2"},{"photo_id":"1328348863","filename":"file1"},{"photo_id":"1328348860","filename":"file0"},{"photo_id":"1328348872","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348863":["hashtag1","hashtag2"]},{"1328348872":["hashtag1","hashtag2"]},{"1328348860":["hashtag1","hashtag2"]},{"1328348867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348863, 1328348872, 1328348860, 1328348867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96388483047485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:32:02.492367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0003.jpg', '/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0000.jpg', '/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0001.jpg', '/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/30/image_12012025_06_30_02_588566_0003.jpg
/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0000.jpg
/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0001.jpg
/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348877","1328348885","1328348879","1328348882"],"photo_ids_order":["1328348877","1328348879","1328348882","1328348885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da590783f2d500a2f49b9bea7fe60d4c.jpg","text":"TemporaryFile(/tmp/multipartBody48057671550605286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659992760,"filename":"image_12012025_06_30_02_588566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcf3daabef00f29384e344cc7ccdc929.jpg","text":"TemporaryFile(/tmp/multipartBody1094893392323610962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659992760,"filename":"image_12012025_06_31_02_240900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/345ab18f26fbac0da60a07529c59d8eb.jpg","text":"TemporaryFile(/tmp/multipartBody7365124760344700429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659992760,"filename":"image_12012025_06_31_02_240900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5596b14faf2703b73394b3a2331879a0.jpg","text":"TemporaryFile(/tmp/multipartBody7779779032531612905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736659992760,"filename":"image_12012025_06_31_02_240900_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348882","file1":"1328348879","file0":"1328348877","file3":"1328348885"},"map_files_photo_id_array":[{"photo_id":"1328348882","filename":"file2"},{"photo_id":"1328348879","filename":"file1"},{"photo_id":"1328348877","filename":"file0"},{"photo_id":"1328348885","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348877":["hashtag1","hashtag2"]},{"1328348885":["hashtag1","hashtag2"]},{"1328348879":["hashtag1","hashtag2"]},{"1328348882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348877, 1328348885, 1328348879, 1328348882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.699065923690796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:33:03.182475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0003.jpg', '/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0000.jpg', '/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0001.jpg', '/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/31/image_12012025_06_31_02_240900_0003.jpg
/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0000.jpg
/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0001.jpg
/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348896","1328348893","1328348898","1328348894"],"photo_ids_order":["1328348893","1328348894","1328348896","1328348898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52f04cd7be178d4cfaa627ee6e43c8fa.jpg","text":"TemporaryFile(/tmp/multipartBody1565736815097016905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660053453,"filename":"image_12012025_06_32_02_753942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b2d861e16e44fe8896580a2df21de77.jpg","text":"TemporaryFile(/tmp/multipartBody189447764836915566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660053453,"filename":"image_12012025_06_31_02_240900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fe92cbdc5369c8604388753aafb10e1.jpg","text":"TemporaryFile(/tmp/multipartBody1130355282070629016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660053453,"filename":"image_12012025_06_32_02_753942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4938c33ab8fce884b12feb7fd8f59ead.jpg","text":"TemporaryFile(/tmp/multipartBody7849092663633577744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660053453,"filename":"image_12012025_06_32_02_753942_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348896","file1":"1328348894","file0":"1328348893","file3":"1328348898"},"map_files_photo_id_array":[{"photo_id":"1328348896","filename":"file2"},{"photo_id":"1328348894","filename":"file1"},{"photo_id":"1328348893","filename":"file0"},{"photo_id":"1328348898","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348896":["hashtag1","hashtag2"]},{"1328348893":["hashtag1","hashtag2"]},{"1328348898":["hashtag1","hashtag2"]},{"1328348894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348896, 1328348893, 1328348898, 1328348894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56435680389404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:34:02.697266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0003.jpg', '/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0000.jpg', '/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0001.jpg', '/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/32/image_12012025_06_32_02_753942_0003.jpg
/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0000.jpg
/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0001.jpg
/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328348930","1328348933","1328348932","1328348934"],"photo_ids_order":["1328348930","1328348932","1328348933","1328348934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d26e5952c79f6dd83d3c5bf5ec0aa62.jpg","text":"TemporaryFile(/tmp/multipartBody7496695855855639139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660112911,"filename":"image_12012025_06_32_02_753942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/569a4b0177922fce364eab8406a72a60.jpg","text":"TemporaryFile(/tmp/multipartBody105407139751381409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660112911,"filename":"image_12012025_06_33_02_464628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5df3995edcc493dfeb3630c57230878f.jpg","text":"TemporaryFile(/tmp/multipartBody5270804745479489826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660112911,"filename":"image_12012025_06_33_02_464628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad30b9fec73a2909840d4223bb132e35.jpg","text":"TemporaryFile(/tmp/multipartBody4499689762663167843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660112911,"filename":"image_12012025_06_33_02_464628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328348933","file1":"1328348932","file0":"1328348930","file3":"1328348934"},"map_files_photo_id_array":[{"photo_id":"1328348933","filename":"file2"},{"photo_id":"1328348932","filename":"file1"},{"photo_id":"1328348930","filename":"file0"},{"photo_id":"1328348934","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328348930":["hashtag1","hashtag2"]},{"1328348933":["hashtag1","hashtag2"]},{"1328348932":["hashtag1","hashtag2"]},{"1328348934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328348930, 1328348933, 1328348932, 1328348934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.621588468551636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:35:02.647240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0003.jpg', '/home/pi/Desktop/images/12012025/06/34/image_12012025_06_34_03_008352_0000.jpg', '/home/pi/Desktop/images/12012025/06/34/image_12012025_06_34_03_008352_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/33/image_12012025_06_33_02_464628_0003.jpg
/home/pi/Desktop/images/12012025/06/34/image_12012025_06_34_03_008352_0000.jpg
/home/pi/Desktop/images/12012025/06/34/image_12012025_06_34_03_008352_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328349340","1328349750","1328349546"],"photo_ids_order":["1328349340","1328349546","1328349750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d93961105cb82ca77ab7135562c859ea.jpg","text":"TemporaryFile(/tmp/multipartBody6966546876623517363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660170491,"filename":"image_12012025_06_33_02_464628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7be658eee34fb8fb9404d38a536fe26.jpg","text":"TemporaryFile(/tmp/multipartBody4927718480406649563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660170491,"filename":"image_12012025_06_34_03_008352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2732ae8b8521dc71b83ebb55f68b1a76.jpg","text":"TemporaryFile(/tmp/multipartBody4523518194387495002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660170491,"filename":"image_12012025_06_34_03_008352_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328349750","file1":"1328349546","file0":"1328349340"},"map_files_photo_id_array":[{"photo_id":"1328349750","filename":"file2"},{"photo_id":"1328349546","filename":"file1"},{"photo_id":"1328349340","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328349340":["hashtag1","hashtag2"]},{"1328349750":["hashtag1","hashtag2"]},{"1328349546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328349340, 1328349750, 1328349546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.672709465026855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:36:02.969923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/34/image_12012025_06_34_03_008352_0003.jpg', '/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0000.jpg', '/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0001.jpg', '/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/34/image_12012025_06_34_03_008352_0003.jpg
/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0000.jpg
/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0001.jpg
/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328349925","1328349922","1328349918","1328349920"],"photo_ids_order":["1328349918","1328349920","1328349922","1328349925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d31f9c07189cb8d4fa1fcdefd4541f7.jpg","text":"TemporaryFile(/tmp/multipartBody5630119273943193182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660233231,"filename":"image_12012025_06_35_02_737655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef8dd8493ebae45579c5eb756b7f828b.jpg","text":"TemporaryFile(/tmp/multipartBody5057043545448257488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660233231,"filename":"image_12012025_06_35_02_737655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a6fbac68bb9f2ea69e0be6a6b265249.jpg","text":"TemporaryFile(/tmp/multipartBody6954095360447809851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660233231,"filename":"image_12012025_06_34_03_008352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8cf1bf01326bfa3b163d1577135ec69.jpg","text":"TemporaryFile(/tmp/multipartBody4437653107756957286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660233231,"filename":"image_12012025_06_35_02_737655_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328349922","file1":"1328349920","file0":"1328349918","file3":"1328349925"},"map_files_photo_id_array":[{"photo_id":"1328349922","filename":"file2"},{"photo_id":"1328349920","filename":"file1"},{"photo_id":"1328349918","filename":"file0"},{"photo_id":"1328349925","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328349925":["hashtag1","hashtag2"]},{"1328349922":["hashtag1","hashtag2"]},{"1328349918":["hashtag1","hashtag2"]},{"1328349920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328349925, 1328349922, 1328349918, 1328349920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80357313156128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:37:02.552194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0003.jpg', '/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0000.jpg', '/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0001.jpg', '/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/35/image_12012025_06_35_02_737655_0003.jpg
/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0000.jpg
/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0001.jpg
/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350489","1328350462","1328350539","1328350490"],"photo_ids_order":["1328350462","1328350489","1328350490","1328350539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a965ca06652d4bacdb3042ed1e8081f2.jpg","text":"TemporaryFile(/tmp/multipartBody5413011152925628949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660292982,"filename":"image_12012025_06_36_02_311125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1541232490c4fef335a7d54d4c664c2e.jpg","text":"TemporaryFile(/tmp/multipartBody715822758953102072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660292982,"filename":"image_12012025_06_35_02_737655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/964c231811b5b58e00759fb59690448c.jpg","text":"TemporaryFile(/tmp/multipartBody6716246149230550698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660292982,"filename":"image_12012025_06_36_02_311125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d33862219016c99fe71561eb43bae5c.jpg","text":"TemporaryFile(/tmp/multipartBody2140369757303620801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660292982,"filename":"image_12012025_06_36_02_311125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350490","file1":"1328350489","file0":"1328350462","file3":"1328350539"},"map_files_photo_id_array":[{"photo_id":"1328350490","filename":"file2"},{"photo_id":"1328350489","filename":"file1"},{"photo_id":"1328350462","filename":"file0"},{"photo_id":"1328350539","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350489":["hashtag1","hashtag2"]},{"1328350462":["hashtag1","hashtag2"]},{"1328350539":["hashtag1","hashtag2"]},{"1328350490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350489, 1328350462, 1328350539, 1328350490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78789663314819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:38:03.198429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0003.jpg', '/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0000.jpg', '/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0001.jpg', '/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/36/image_12012025_06_36_02_311125_0003.jpg
/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0000.jpg
/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0001.jpg
/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350576","1328350575","1328350578","1328350577"],"photo_ids_order":["1328350575","1328350576","1328350577","1328350578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4df8ba22984d8b0399432e5e746e17ff.jpg","text":"TemporaryFile(/tmp/multipartBody9161500607477091952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660353454,"filename":"image_12012025_06_37_02_872070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44895544cb77241bb7740f9de943abd9.jpg","text":"TemporaryFile(/tmp/multipartBody6391620365824505680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660353454,"filename":"image_12012025_06_36_02_311125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7209f61efd5636c4fb43e16e915eb9f7.jpg","text":"TemporaryFile(/tmp/multipartBody6810288493558893846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660353454,"filename":"image_12012025_06_37_02_872070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fb0ab82203ee0451581c7e3c25d496b.jpg","text":"TemporaryFile(/tmp/multipartBody7410300199407256292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660353454,"filename":"image_12012025_06_37_02_872070_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350577","file1":"1328350576","file0":"1328350575","file3":"1328350578"},"map_files_photo_id_array":[{"photo_id":"1328350577","filename":"file2"},{"photo_id":"1328350576","filename":"file1"},{"photo_id":"1328350575","filename":"file0"},{"photo_id":"1328350578","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350576":["hashtag1","hashtag2"]},{"1328350575":["hashtag1","hashtag2"]},{"1328350578":["hashtag1","hashtag2"]},{"1328350577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350576, 1328350575, 1328350578, 1328350577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64545798301697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:39:02.730146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0003.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0000.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0001.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0003.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0000.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0001.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.9729642868042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:39:22.099382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0003.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0000.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0001.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0002.jpg', '/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0003.jpg', '/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/37/image_12012025_06_37_02_872070_0003.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0000.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0001.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0002.jpg
/home/pi/Desktop/images/12012025/06/38/image_12012025_06_38_02_354761_0003.jpg
/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350604","1328350600","1328350593","1328350598","1328350602","1328350595"],"photo_ids_order":["1328350593","1328350595","1328350598","1328350600","1328350602","1328350604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6fbbfc745d9932187c27bddc6cdf0129.jpg","text":"TemporaryFile(/tmp/multipartBody4657142721756914221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660437231,"filename":"image_12012025_06_39_03_038379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b6d3d77f4ce5385fe56c4b51ee816e1.jpg","text":"TemporaryFile(/tmp/multipartBody4861453138464430897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660437231,"filename":"image_12012025_06_38_02_354761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c63ea6c13c4ee18dcd79905bbba0322.jpg","text":"TemporaryFile(/tmp/multipartBody5685094360390615505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660437231,"filename":"image_12012025_06_37_02_872070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e1d1a80262f2461f8748f57295bc426.jpg","text":"TemporaryFile(/tmp/multipartBody1398623409468545056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660437231,"filename":"image_12012025_06_38_02_354761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4580a0112c38e7f30324b1dd483b4bb1.jpg","text":"TemporaryFile(/tmp/multipartBody227931721010995616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660437231,"filename":"image_12012025_06_38_02_354761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70f7add3ca7467c5243c9bfb79a140c5.jpg","text":"TemporaryFile(/tmp/multipartBody5171152983962611828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660437231,"filename":"image_12012025_06_38_02_354761_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350598","file1":"1328350595","file0":"1328350593","file4":"1328350602","file5":"1328350604","file3":"1328350600"},"map_files_photo_id_array":[{"photo_id":"1328350604","filename":"file5"},{"photo_id":"1328350598","filename":"file2"},{"photo_id":"1328350602","filename":"file4"},{"photo_id":"1328350595","filename":"file1"},{"photo_id":"1328350593","filename":"file0"},{"photo_id":"1328350600","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350604":["hashtag1","hashtag2"]},{"1328350600":["hashtag1","hashtag2"]},{"1328350593":["hashtag1","hashtag2"]},{"1328350598":["hashtag1","hashtag2"]},{"1328350602":["hashtag1","hashtag2"]},{"1328350595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350604, 1328350600, 1328350593, 1328350598, 1328350602, 1328350595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.50404477119446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:40:21.800653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0001.jpg', '/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0002.jpg', '/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0003.jpg', '/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0000.jpg', '/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0001.jpg', '/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0001.jpg
/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0002.jpg
/home/pi/Desktop/images/12012025/06/39/image_12012025_06_39_03_038379_0003.jpg
/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0000.jpg
/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0001.jpg
/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350616","1328350619","1328350610","1328350612","1328350609","1328350614"],"photo_ids_order":["1328350609","1328350610","1328350612","1328350614","1328350616","1328350619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a0d4169368e5017821089103254f0f1d.jpg","text":"TemporaryFile(/tmp/multipartBody418411297511837005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660496819,"filename":"image_12012025_06_40_02_505048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/feb10078b5fda082a7e7d0061e57998c.jpg","text":"TemporaryFile(/tmp/multipartBody3316962804948461427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660496819,"filename":"image_12012025_06_40_02_505048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/040909c290df46a84eca60c6654af921.jpg","text":"TemporaryFile(/tmp/multipartBody1836696213870109644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660496819,"filename":"image_12012025_06_39_03_038379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84485adeeb2f77c2473709df8cad86af.jpg","text":"TemporaryFile(/tmp/multipartBody3236522835181561571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660496819,"filename":"image_12012025_06_39_03_038379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ec1456329a128455d02b54dcf454767.jpg","text":"TemporaryFile(/tmp/multipartBody9202221480258368077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660496819,"filename":"image_12012025_06_39_03_038379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25d41ba198fcebbea27fcf7bf1112f05.jpg","text":"TemporaryFile(/tmp/multipartBody8106819992283903946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660496819,"filename":"image_12012025_06_40_02_505048_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350612","file1":"1328350610","file0":"1328350609","file4":"1328350616","file5":"1328350619","file3":"1328350614"},"map_files_photo_id_array":[{"photo_id":"1328350619","filename":"file5"},{"photo_id":"1328350612","filename":"file2"},{"photo_id":"1328350616","filename":"file4"},{"photo_id":"1328350610","filename":"file1"},{"photo_id":"1328350609","filename":"file0"},{"photo_id":"1328350614","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350616":["hashtag1","hashtag2"]},{"1328350619":["hashtag1","hashtag2"]},{"1328350610":["hashtag1","hashtag2"]},{"1328350612":["hashtag1","hashtag2"]},{"1328350609":["hashtag1","hashtag2"]},{"1328350614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350616, 1328350619, 1328350610, 1328350612, 1328350609, 1328350614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.99464559555054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:41:22.318190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0003.jpg', '/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0000.jpg', '/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0001.jpg', '/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/40/image_12012025_06_40_02_505048_0003.jpg
/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0000.jpg
/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0001.jpg
/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350630","1328350633","1328350635","1328350628"],"photo_ids_order":["1328350628","1328350630","1328350633","1328350635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b35a1f5b1922496264a9f333dfe9e5e.jpg","text":"TemporaryFile(/tmp/multipartBody733548757780809967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660552496,"filename":"image_12012025_06_41_02_157110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83610f58400c2f0788fcb02199ec9d80.jpg","text":"TemporaryFile(/tmp/multipartBody6419045780378990109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660552496,"filename":"image_12012025_06_41_02_157110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8afbc6f45172595e677d6e84e795188d.jpg","text":"TemporaryFile(/tmp/multipartBody5362273811236584933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660552496,"filename":"image_12012025_06_41_02_157110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed0a50f13ba0b6a2bd32a9d66f76b07d.jpg","text":"TemporaryFile(/tmp/multipartBody4108281525302696732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660552496,"filename":"image_12012025_06_40_02_505048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350633","file1":"1328350630","file0":"1328350628","file3":"1328350635"},"map_files_photo_id_array":[{"photo_id":"1328350633","filename":"file2"},{"photo_id":"1328350630","filename":"file1"},{"photo_id":"1328350628","filename":"file0"},{"photo_id":"1328350635","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350630":["hashtag1","hashtag2"]},{"1328350633":["hashtag1","hashtag2"]},{"1328350635":["hashtag1","hashtag2"]},{"1328350628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350630, 1328350633, 1328350635, 1328350628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.95653200149536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:42:21.824680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0003.jpg', '/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0000.jpg', '/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0001.jpg', '/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/41/image_12012025_06_41_02_157110_0003.jpg
/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0000.jpg
/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0001.jpg
/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350662","1328350650","1328350644","1328350647"],"photo_ids_order":["1328350644","1328350647","1328350650","1328350662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bc92ce287de78bcdcb4450b79845303.jpg","text":"TemporaryFile(/tmp/multipartBody8677512796880532386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660612120,"filename":"image_12012025_06_42_02_666842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a5dec62ca64e1bce833ffb9de91b2401.jpg","text":"TemporaryFile(/tmp/multipartBody5317150652964269615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660612120,"filename":"image_12012025_06_42_02_666842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11d66e7054a1dcf0bd450a05c94be2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7208162668719635118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660612120,"filename":"image_12012025_06_41_02_157110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a0f0de6f93bd0fdcdb0b67b21856bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1077734557149432819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660612120,"filename":"image_12012025_06_42_02_666842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350650","file1":"1328350647","file0":"1328350644","file3":"1328350662"},"map_files_photo_id_array":[{"photo_id":"1328350650","filename":"file2"},{"photo_id":"1328350647","filename":"file1"},{"photo_id":"1328350644","filename":"file0"},{"photo_id":"1328350662","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350662":["hashtag1","hashtag2"]},{"1328350650":["hashtag1","hashtag2"]},{"1328350644":["hashtag1","hashtag2"]},{"1328350647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350662, 1328350650, 1328350644, 1328350647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22117590904236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:43:22.375406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0003.jpg', '/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0000.jpg', '/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0001.jpg', '/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_02_666842_0003.jpg
/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0000.jpg
/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0001.jpg
/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350687","1328350684","1328350689","1328350685"],"photo_ids_order":["1328350684","1328350685","1328350687","1328350689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad2166cf348b58e17b7b9a4267d5e72c.jpg","text":"TemporaryFile(/tmp/multipartBody2884691935770224660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660672558,"filename":"image_12012025_06_43_02_242455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ceadc5663b14e24e72cb879c25b1e986.jpg","text":"TemporaryFile(/tmp/multipartBody1295111669711345693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660672558,"filename":"image_12012025_06_42_02_666842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/141742d83b45e4139bfb69d0f31f478b.jpg","text":"TemporaryFile(/tmp/multipartBody6586913060699037451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660672558,"filename":"image_12012025_06_43_02_242455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8548aed2863aa421a49944bf7e942c35.jpg","text":"TemporaryFile(/tmp/multipartBody1043060354775833270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660672558,"filename":"image_12012025_06_43_02_242455_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350687","file1":"1328350685","file0":"1328350684","file3":"1328350689"},"map_files_photo_id_array":[{"photo_id":"1328350687","filename":"file2"},{"photo_id":"1328350685","filename":"file1"},{"photo_id":"1328350684","filename":"file0"},{"photo_id":"1328350689","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350687":["hashtag1","hashtag2"]},{"1328350684":["hashtag1","hashtag2"]},{"1328350689":["hashtag1","hashtag2"]},{"1328350685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350687, 1328350684, 1328350689, 1328350685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34246587753296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:44:21.854165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0003.jpg', '/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0000.jpg', '/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0001.jpg', '/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/43/image_12012025_06_43_02_242455_0003.jpg
/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0000.jpg
/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0001.jpg
/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350711","1328350702","1328350713","1328350707"],"photo_ids_order":["1328350702","1328350707","1328350711","1328350713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a06a9fc572faeb085930f8383f97e607.jpg","text":"TemporaryFile(/tmp/multipartBody8372764144319078103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660732184,"filename":"image_12012025_06_44_02_752036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/786a93a9d8e37c71c5f6c75914470d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2737314887810709245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660732184,"filename":"image_12012025_06_43_02_242455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85aaf39c01182c01edd2f57ebcd945d6.jpg","text":"TemporaryFile(/tmp/multipartBody3010803642238643905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660732184,"filename":"image_12012025_06_44_02_752036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cff81ab0de20a8c6bde2191c8eb8f06.jpg","text":"TemporaryFile(/tmp/multipartBody8930180738118796809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660732184,"filename":"image_12012025_06_44_02_752036_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350711","file1":"1328350707","file0":"1328350702","file3":"1328350713"},"map_files_photo_id_array":[{"photo_id":"1328350711","filename":"file2"},{"photo_id":"1328350707","filename":"file1"},{"photo_id":"1328350702","filename":"file0"},{"photo_id":"1328350713","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350711":["hashtag1","hashtag2"]},{"1328350702":["hashtag1","hashtag2"]},{"1328350713":["hashtag1","hashtag2"]},{"1328350707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350711, 1328350702, 1328350713, 1328350707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.20430946350098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:45:22.395239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0003.jpg', '/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0000.jpg', '/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0001.jpg', '/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/44/image_12012025_06_44_02_752036_0003.jpg
/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0000.jpg
/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0001.jpg
/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350726","1328350720","1328350734","1328350722"],"photo_ids_order":["1328350720","1328350722","1328350726","1328350734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da2c95369c9e644203135fd050b2943b.jpg","text":"TemporaryFile(/tmp/multipartBody1863064853521147794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660792640,"filename":"image_12012025_06_45_02_261229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/872e5fc65003b1e1359bc8f980023192.jpg","text":"TemporaryFile(/tmp/multipartBody8095718699241767024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660792640,"filename":"image_12012025_06_44_02_752036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95e0d3b3aebf9665a645d4203107b0eb.jpg","text":"TemporaryFile(/tmp/multipartBody738736936282985585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660792640,"filename":"image_12012025_06_45_02_261229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5aa219e627708e2a72643539ad550c7.jpg","text":"TemporaryFile(/tmp/multipartBody4323663971431325589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660792640,"filename":"image_12012025_06_45_02_261229_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350726","file1":"1328350722","file0":"1328350720","file3":"1328350734"},"map_files_photo_id_array":[{"photo_id":"1328350726","filename":"file2"},{"photo_id":"1328350722","filename":"file1"},{"photo_id":"1328350720","filename":"file0"},{"photo_id":"1328350734","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350726":["hashtag1","hashtag2"]},{"1328350720":["hashtag1","hashtag2"]},{"1328350734":["hashtag1","hashtag2"]},{"1328350722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350726, 1328350720, 1328350734, 1328350722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70526599884033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:46:21.935885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0003.jpg', '/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0000.jpg', '/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0001.jpg', '/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/45/image_12012025_06_45_02_261229_0003.jpg
/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0000.jpg
/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0001.jpg
/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350776","1328350775","1328350772","1328350769"],"photo_ids_order":["1328350769","1328350772","1328350775","1328350776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4dbc623755cb2171fc1ad72f7823fced.jpg","text":"TemporaryFile(/tmp/multipartBody7283265629394181851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660852239,"filename":"image_12012025_06_46_02_791192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44a5c5f14ec826b57857e8010047c88b.jpg","text":"TemporaryFile(/tmp/multipartBody219865450943473341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660852239,"filename":"image_12012025_06_46_02_791192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3dbf4d874fbe8385f3aa8a8f8d12a621.jpg","text":"TemporaryFile(/tmp/multipartBody3985666032155589772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660852239,"filename":"image_12012025_06_46_02_791192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a29571fa907a27b15946904bfac7284c.jpg","text":"TemporaryFile(/tmp/multipartBody3902336173751558194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660852239,"filename":"image_12012025_06_45_02_261229_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350775","file1":"1328350772","file0":"1328350769","file3":"1328350776"},"map_files_photo_id_array":[{"photo_id":"1328350775","filename":"file2"},{"photo_id":"1328350772","filename":"file1"},{"photo_id":"1328350769","filename":"file0"},{"photo_id":"1328350776","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350776":["hashtag1","hashtag2"]},{"1328350775":["hashtag1","hashtag2"]},{"1328350772":["hashtag1","hashtag2"]},{"1328350769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350776, 1328350775, 1328350772, 1328350769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98245429992676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:47:03.007165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:47:22.513071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0003.jpg', '/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0000.jpg', '/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0001.jpg', '/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/46/image_12012025_06_46_02_791192_0003.jpg
/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0000.jpg
/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0001.jpg
/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328350811","1328350804","1328350806","1328350809"],"photo_ids_order":["1328350804","1328350806","1328350809","1328350811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee42849ea357f746a49e72a648c7b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody3087308177909220919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660912614,"filename":"image_12012025_06_47_02_314621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/559f6bec11b9d9f0cc4625cef2533dae.jpg","text":"TemporaryFile(/tmp/multipartBody474424765841894770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660912614,"filename":"image_12012025_06_46_02_791192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eba90dd8d4fa485c552debfd463baad7.jpg","text":"TemporaryFile(/tmp/multipartBody6513143734713936606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660912614,"filename":"image_12012025_06_47_02_314621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d709f36ce7547dd29e2dc1f6918e5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6221388178078739492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660912614,"filename":"image_12012025_06_47_02_314621_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328350809","file1":"1328350806","file0":"1328350804","file3":"1328350811"},"map_files_photo_id_array":[{"photo_id":"1328350809","filename":"file2"},{"photo_id":"1328350806","filename":"file1"},{"photo_id":"1328350804","filename":"file0"},{"photo_id":"1328350811","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328350811":["hashtag1","hashtag2"]},{"1328350804":["hashtag1","hashtag2"]},{"1328350806":["hashtag1","hashtag2"]},{"1328350809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328350811, 1328350804, 1328350806, 1328350809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60063934326172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:48:02.547965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:48:22.154478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0003.jpg', '/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0000.jpg', '/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0001.jpg', '/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/47/image_12012025_06_47_02_314621_0003.jpg
/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0000.jpg
/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0001.jpg
/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328351248","1328351035","1328350849","1328351436"],"photo_ids_order":["1328350849","1328351035","1328351248","1328351436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b3752971830e22f4380d6f59a64fe59.jpg","text":"TemporaryFile(/tmp/multipartBody1912425537174237423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660972314,"filename":"image_12012025_06_48_02_794158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/981ef2041edf1318da45cc0370839b79.jpg","text":"TemporaryFile(/tmp/multipartBody116894553243837790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660972314,"filename":"image_12012025_06_48_02_794158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62874449db6053976ec1ad8f9b28261a.jpg","text":"TemporaryFile(/tmp/multipartBody6227859761448077507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660972314,"filename":"image_12012025_06_47_02_314621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3929ff2bf2fa1de273034b085a0ad622.jpg","text":"TemporaryFile(/tmp/multipartBody7914230535814353421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736660972314,"filename":"image_12012025_06_48_02_794158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328351248","file1":"1328351035","file0":"1328350849","file3":"1328351436"},"map_files_photo_id_array":[{"photo_id":"1328351248","filename":"file2"},{"photo_id":"1328351035","filename":"file1"},{"photo_id":"1328350849","filename":"file0"},{"photo_id":"1328351436","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328351248":["hashtag1","hashtag2"]},{"1328351035":["hashtag1","hashtag2"]},{"1328350849":["hashtag1","hashtag2"]},{"1328351436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328351248, 1328351035, 1328350849, 1328351436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02497911453247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:49:03.212804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:49:22.528381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0003.jpg', '/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0000.jpg', '/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0001.jpg', '/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/48/image_12012025_06_48_02_794158_0003.jpg
/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0000.jpg
/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0001.jpg
/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328351658","1328351817","1328351654","1328351900"],"photo_ids_order":["1328351654","1328351658","1328351817","1328351900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/afac1ebcb414929dd2e7721b2c3b6b38.jpg","text":"TemporaryFile(/tmp/multipartBody5390827461172018968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661032668,"filename":"image_12012025_06_49_02_442498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e575852cd60cb278f2b277d32669edb.jpg","text":"TemporaryFile(/tmp/multipartBody3561339590112329275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661032668,"filename":"image_12012025_06_49_02_442498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a8565fecf75592c07a1f649aed9b869.jpg","text":"TemporaryFile(/tmp/multipartBody8034130807442773598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661032668,"filename":"image_12012025_06_48_02_794158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee45b1826a8b62dbf0773ecc254873c2.jpg","text":"TemporaryFile(/tmp/multipartBody7264070306924832697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661032668,"filename":"image_12012025_06_49_02_442498_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328351817","file1":"1328351658","file0":"1328351654","file3":"1328351900"},"map_files_photo_id_array":[{"photo_id":"1328351817","filename":"file2"},{"photo_id":"1328351658","filename":"file1"},{"photo_id":"1328351654","filename":"file0"},{"photo_id":"1328351900","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328351658":["hashtag1","hashtag2"]},{"1328351817":["hashtag1","hashtag2"]},{"1328351654":["hashtag1","hashtag2"]},{"1328351900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328351658, 1328351817, 1328351654, 1328351900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5242063999176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:50:02.495058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:50:22.077168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0003.jpg', '/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0000.jpg', '/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0001.jpg', '/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0003.jpg
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0000.jpg
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0001.jpg
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.711833238601685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:51:03.219158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0003.jpg', '/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0000.jpg', '/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0001.jpg', '/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/49/image_12012025_06_49_02_442498_0003.jpg
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0000.jpg
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0001.jpg
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328351991","1328351994","1328351996","1328351989"],"photo_ids_order":["1328351989","1328351991","1328351994","1328351996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc637004f7827e610b7f6ce44da5d526.jpg","text":"TemporaryFile(/tmp/multipartBody69209460730226714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661133373,"filename":"image_12012025_06_50_02_952531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6cc9b6a5ceb7242f9ac1f2ff1f36cfbc.jpg","text":"TemporaryFile(/tmp/multipartBody1433985083615092811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661133373,"filename":"image_12012025_06_50_02_952531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f08e01191f227ffad1d0194aa40d264d.jpg","text":"TemporaryFile(/tmp/multipartBody7178400585835586047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661133373,"filename":"image_12012025_06_50_02_952531_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d31f271a9fc2856e8c17a1e1ed83bec6.jpg","text":"TemporaryFile(/tmp/multipartBody7263290858601715447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661133373,"filename":"image_12012025_06_49_02_442498_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328351994","file1":"1328351991","file0":"1328351989","file3":"1328351996"},"map_files_photo_id_array":[{"photo_id":"1328351994","filename":"file2"},{"photo_id":"1328351991","filename":"file1"},{"photo_id":"1328351989","filename":"file0"},{"photo_id":"1328351996","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328351991":["hashtag1","hashtag2"]},{"1328351994":["hashtag1","hashtag2"]},{"1328351996":["hashtag1","hashtag2"]},{"1328351989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328351991, 1328351994, 1328351996, 1328351989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89541935920715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:52:02.836853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0003.jpg', '/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0000.jpg', '/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0001.jpg', '/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/50/image_12012025_06_50_02_952531_0003.jpg
/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0000.jpg
/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0001.jpg
/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352030","1328352035","1328352038","1328352032"],"photo_ids_order":["1328352030","1328352032","1328352035","1328352038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fa9065aed13664db718b39dd7d5fa30.jpg","text":"TemporaryFile(/tmp/multipartBody989833303801042599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661193021,"filename":"image_12012025_06_50_02_952531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a08c7988afe2311d3429ac458149a257.jpg","text":"TemporaryFile(/tmp/multipartBody7957223276489156308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661193021,"filename":"image_12012025_06_51_02_506508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34808ccdd96b4ef75550868cda97748e.jpg","text":"TemporaryFile(/tmp/multipartBody3142853231163572851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661193021,"filename":"image_12012025_06_51_02_506508_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef953bdf0f3deb9b5c6d103760fb8dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5513591839445325831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661193021,"filename":"image_12012025_06_51_02_506508_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352035","file1":"1328352032","file0":"1328352030","file3":"1328352038"},"map_files_photo_id_array":[{"photo_id":"1328352035","filename":"file2"},{"photo_id":"1328352032","filename":"file1"},{"photo_id":"1328352030","filename":"file0"},{"photo_id":"1328352038","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352030":["hashtag1","hashtag2"]},{"1328352035":["hashtag1","hashtag2"]},{"1328352038":["hashtag1","hashtag2"]},{"1328352032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352030, 1328352035, 1328352038, 1328352032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.006643295288086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:53:02.389179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0003.jpg', '/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0000.jpg', '/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0001.jpg', '/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_02_506508_0003.jpg
/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0000.jpg
/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0001.jpg
/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352049","1328352051","1328352048","1328352053"],"photo_ids_order":["1328352048","1328352049","1328352051","1328352053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1122b5139bc09dc60dabf673a03a5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody359423316538653133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661252548,"filename":"image_12012025_06_52_03_019016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1ef1376ef8f88425912f423330550243.jpg","text":"TemporaryFile(/tmp/multipartBody5192511496568950967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661252548,"filename":"image_12012025_06_52_03_019016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01309c99f3f0dbefe2f20f4714f88e34.jpg","text":"TemporaryFile(/tmp/multipartBody8724480439628725071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661252548,"filename":"image_12012025_06_51_02_506508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/705e47000bfc2b16ca9475d3a5b51c56.jpg","text":"TemporaryFile(/tmp/multipartBody5066974328139757350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661252548,"filename":"image_12012025_06_52_03_019016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352051","file1":"1328352049","file0":"1328352048","file3":"1328352053"},"map_files_photo_id_array":[{"photo_id":"1328352051","filename":"file2"},{"photo_id":"1328352049","filename":"file1"},{"photo_id":"1328352048","filename":"file0"},{"photo_id":"1328352053","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352049":["hashtag1","hashtag2"]},{"1328352051":["hashtag1","hashtag2"]},{"1328352048":["hashtag1","hashtag2"]},{"1328352053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352049, 1328352051, 1328352048, 1328352053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.92387652397156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:54:02.998459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0003.jpg', '/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0000.jpg', '/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0001.jpg', '/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/52/image_12012025_06_52_03_019016_0003.jpg
/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0000.jpg
/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0001.jpg
/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352063","1328352065","1328352062","1328352067"],"photo_ids_order":["1328352062","1328352063","1328352065","1328352067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/328cddbcbcef30fb53c13141c29ed46c.jpg","text":"TemporaryFile(/tmp/multipartBody5812725415768167328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661313234,"filename":"image_12012025_06_53_02_703554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9324d4c6b1a6248920c9768ab8066dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7994213727454662477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661313234,"filename":"image_12012025_06_53_02_703554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b43af6f42b3736c787e0d80aea65bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody1703699293510189293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661313234,"filename":"image_12012025_06_52_03_019016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3600fae5f6b9193ac82abb5abf0f9fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1956289231032986435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661313234,"filename":"image_12012025_06_53_02_703554_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352065","file1":"1328352063","file0":"1328352062","file3":"1328352067"},"map_files_photo_id_array":[{"photo_id":"1328352065","filename":"file2"},{"photo_id":"1328352063","filename":"file1"},{"photo_id":"1328352062","filename":"file0"},{"photo_id":"1328352067","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352063":["hashtag1","hashtag2"]},{"1328352065":["hashtag1","hashtag2"]},{"1328352062":["hashtag1","hashtag2"]},{"1328352067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352063, 1328352065, 1328352062, 1328352067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6958224773407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:55:02.543828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0003.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0000.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0001.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0003.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0000.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0001.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.920796871185303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:55:22.007390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0003.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0000.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0001.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0002.jpg', '/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0003.jpg', '/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/53/image_12012025_06_53_02_703554_0003.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0000.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0001.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0002.jpg
/home/pi/Desktop/images/12012025/06/54/image_12012025_06_54_02_258196_0003.jpg
/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352132","1328352207","1328352197","1328352284","1328352254","1328352236"],"photo_ids_order":["1328352132","1328352197","1328352207","1328352236","1328352254","1328352284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f62a42508aa298259e91e00d85cde61.jpg","text":"TemporaryFile(/tmp/multipartBody3473687085966259206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661397091,"filename":"image_12012025_06_53_02_703554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9cf30d6d4b8bb5121dd77709cb6ada75.jpg","text":"TemporaryFile(/tmp/multipartBody4273475239409684643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661397091,"filename":"image_12012025_06_54_02_258196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8661568e80e55a017f8d30a25aded2e.jpg","text":"TemporaryFile(/tmp/multipartBody619687572350081054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661397091,"filename":"image_12012025_06_54_02_258196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56889b24a6f642ecc5fa2ed241f9c1a8.jpg","text":"TemporaryFile(/tmp/multipartBody5645531260333678279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661397091,"filename":"image_12012025_06_55_02_908876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72751b013eb16fa10855f7df64dddef3.jpg","text":"TemporaryFile(/tmp/multipartBody1387602784935078154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661397091,"filename":"image_12012025_06_54_02_258196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2a1d90742751884dfc1c4f91d72cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody7506037219939609256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661397091,"filename":"image_12012025_06_54_02_258196_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352207","file1":"1328352197","file0":"1328352132","file4":"1328352254","file5":"1328352284","file3":"1328352236"},"map_files_photo_id_array":[{"photo_id":"1328352284","filename":"file5"},{"photo_id":"1328352207","filename":"file2"},{"photo_id":"1328352254","filename":"file4"},{"photo_id":"1328352197","filename":"file1"},{"photo_id":"1328352132","filename":"file0"},{"photo_id":"1328352236","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352132":["hashtag1","hashtag2"]},{"1328352207":["hashtag1","hashtag2"]},{"1328352197":["hashtag1","hashtag2"]},{"1328352284":["hashtag1","hashtag2"]},{"1328352254":["hashtag1","hashtag2"]},{"1328352236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352132, 1328352207, 1328352197, 1328352284, 1328352254, 1328352236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.655128955841064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:56:21.766015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0001.jpg', '/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0002.jpg', '/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0003.jpg', '/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0000.jpg', '/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0001.jpg', '/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0001.jpg
/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0002.jpg
/home/pi/Desktop/images/12012025/06/55/image_12012025_06_55_02_908876_0003.jpg
/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0000.jpg
/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0001.jpg
/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352297","1328352291","1328352288","1328352293","1328352295","1328352289"],"photo_ids_order":["1328352288","1328352289","1328352291","1328352293","1328352295","1328352297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d46fda7fa8a963020acc1f99a2087cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2607442096838761324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661456805,"filename":"image_12012025_06_56_02_472922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4bb084588635a8331bc2d5dfc0fb42ce.jpg","text":"TemporaryFile(/tmp/multipartBody5870136104110669269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661456805,"filename":"image_12012025_06_55_02_908876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/638a7b10c3886708062ceb64da0bd4ae.jpg","text":"TemporaryFile(/tmp/multipartBody1948260562038272051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661456805,"filename":"image_12012025_06_55_02_908876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/649c194289dadc0f37f9049f6334a276.jpg","text":"TemporaryFile(/tmp/multipartBody312691196348410419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661456805,"filename":"image_12012025_06_56_02_472922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/79dc12a4d94b449ee9ec1b3aa31ed3be.jpg","text":"TemporaryFile(/tmp/multipartBody6066287088269683071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661456805,"filename":"image_12012025_06_56_02_472922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd26a5c0544390b176fddd4655d0af4d.jpg","text":"TemporaryFile(/tmp/multipartBody4885783396388851459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661456805,"filename":"image_12012025_06_55_02_908876_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352291","file1":"1328352289","file0":"1328352288","file4":"1328352295","file5":"1328352297","file3":"1328352293"},"map_files_photo_id_array":[{"photo_id":"1328352297","filename":"file5"},{"photo_id":"1328352291","filename":"file2"},{"photo_id":"1328352295","filename":"file4"},{"photo_id":"1328352289","filename":"file1"},{"photo_id":"1328352288","filename":"file0"},{"photo_id":"1328352293","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352297":["hashtag1","hashtag2"]},{"1328352291":["hashtag1","hashtag2"]},{"1328352288":["hashtag1","hashtag2"]},{"1328352293":["hashtag1","hashtag2"]},{"1328352295":["hashtag1","hashtag2"]},{"1328352289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352297, 1328352291, 1328352288, 1328352293, 1328352295, 1328352289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.835529088974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 06:57:22.257948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0003.jpg', '/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0000.jpg', '/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0001.jpg', '/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/56/image_12012025_06_56_02_472922_0003.jpg
/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0000.jpg
/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0001.jpg
/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352309","1328352312","1328352332","1328352317"],"photo_ids_order":["1328352309","1328352312","1328352317","1328352332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff9587460397d06d3bccee6d05345a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2742256743046795673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661512437,"filename":"image_12012025_06_56_02_472922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4513527af2c5b5ccb3333cd4fb908b2.jpg","text":"TemporaryFile(/tmp/multipartBody2358568569992073090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661512437,"filename":"image_12012025_06_57_02_129831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64a9e044c78dd64315f60e16cd4a8f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6083940865922476982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661512437,"filename":"image_12012025_06_57_02_129831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd765c6d70934a7e567af749db32be6c.jpg","text":"TemporaryFile(/tmp/multipartBody2114831882501440576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661512437,"filename":"image_12012025_06_57_02_129831_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352317","file1":"1328352312","file0":"1328352309","file3":"1328352332"},"map_files_photo_id_array":[{"photo_id":"1328352317","filename":"file2"},{"photo_id":"1328352312","filename":"file1"},{"photo_id":"1328352309","filename":"file0"},{"photo_id":"1328352332","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352309":["hashtag1","hashtag2"]},{"1328352312":["hashtag1","hashtag2"]},{"1328352332":["hashtag1","hashtag2"]},{"1328352317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352309, 1328352312, 1328352332, 1328352317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.663044929504395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 06:59:02.552407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0003.jpg', '/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0000.jpg', '/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0001.jpg', '/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/57/image_12012025_06_57_02_129831_0003.jpg
/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0000.jpg
/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0001.jpg
/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352351","1328352347","1328352355","1328352358"],"photo_ids_order":["1328352347","1328352351","1328352355","1328352358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a1871594b6bee44d59e2eba0a47d6039.jpg","text":"TemporaryFile(/tmp/multipartBody2728181413610028515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661612842,"filename":"image_12012025_06_58_02_714080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a2ef638e10c2a165703ce94642190a3.jpg","text":"TemporaryFile(/tmp/multipartBody5795274264205618962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661612842,"filename":"image_12012025_06_57_02_129831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff3c5bb1932e113c00b1fbe0f859bbf9.jpg","text":"TemporaryFile(/tmp/multipartBody8478674498997198423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661612842,"filename":"image_12012025_06_58_02_714080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/857509e88c04c1704da2ace4b8c36c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7076273068783230211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661612842,"filename":"image_12012025_06_58_02_714080_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352355","file1":"1328352351","file0":"1328352347","file3":"1328352358"},"map_files_photo_id_array":[{"photo_id":"1328352355","filename":"file2"},{"photo_id":"1328352351","filename":"file1"},{"photo_id":"1328352347","filename":"file0"},{"photo_id":"1328352358","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352351":["hashtag1","hashtag2"]},{"1328352347":["hashtag1","hashtag2"]},{"1328352355":["hashtag1","hashtag2"]},{"1328352358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352351, 1328352347, 1328352355, 1328352358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12646818161011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:00:03.252662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0003.jpg', '/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0000.jpg', '/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0001.jpg', '/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/58/image_12012025_06_58_02_714080_0003.jpg
/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0000.jpg
/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0001.jpg
/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328352373","1328352382","1328352376","1328352379"],"photo_ids_order":["1328352373","1328352376","1328352379","1328352382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81a9704d84e6ec012e57a3b3389627f0.jpg","text":"TemporaryFile(/tmp/multipartBody2016576069414917050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661673378,"filename":"image_12012025_06_58_02_714080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8f8d014068738eaa63ecd951c413f93.jpg","text":"TemporaryFile(/tmp/multipartBody6102566664200406707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661673378,"filename":"image_12012025_06_59_02_171760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab5dbb917aaf7bb0b1b3dcf96cbdcc04.jpg","text":"TemporaryFile(/tmp/multipartBody7074193015143368055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661673378,"filename":"image_12012025_06_59_02_171760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36d70baffadfc110c1ad65a262f7603e.jpg","text":"TemporaryFile(/tmp/multipartBody8063440735521600645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661673378,"filename":"image_12012025_06_59_02_171760_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328352379","file1":"1328352376","file0":"1328352373","file3":"1328352382"},"map_files_photo_id_array":[{"photo_id":"1328352379","filename":"file2"},{"photo_id":"1328352376","filename":"file1"},{"photo_id":"1328352373","filename":"file0"},{"photo_id":"1328352382","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328352373":["hashtag1","hashtag2"]},{"1328352382":["hashtag1","hashtag2"]},{"1328352376":["hashtag1","hashtag2"]},{"1328352379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328352373, 1328352382, 1328352376, 1328352379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.902409076690674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:01:02.764757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0003.jpg', '/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0000.jpg', '/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0001.jpg', '/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/06/59/image_12012025_06_59_02_171760_0003.jpg
/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0000.jpg
/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0001.jpg
/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328353292","1328353076","1328352848","1328353369"],"photo_ids_order":["1328352848","1328353076","1328353292","1328353369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3d94e0d065ed20e4ed7d64e857eab3a.jpg","text":"TemporaryFile(/tmp/multipartBody1206197924614531500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661732925,"filename":"image_12012025_07_00_02_414939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85b0605406978b8b2e116cf4ac4f2121.jpg","text":"TemporaryFile(/tmp/multipartBody3510460749012605867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661732925,"filename":"image_12012025_07_00_02_414939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a1d39573eedadf9db75a4e22498b918.jpg","text":"TemporaryFile(/tmp/multipartBody8689387266350713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661732925,"filename":"image_12012025_06_59_02_171760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cec74601bac8a85190fb3ba5addf949.jpg","text":"TemporaryFile(/tmp/multipartBody1407429575943293515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661732925,"filename":"image_12012025_07_00_02_414939_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328353292","file1":"1328353076","file0":"1328352848","file3":"1328353369"},"map_files_photo_id_array":[{"photo_id":"1328353292","filename":"file2"},{"photo_id":"1328353076","filename":"file1"},{"photo_id":"1328352848","filename":"file0"},{"photo_id":"1328353369","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328353292":["hashtag1","hashtag2"]},{"1328353076":["hashtag1","hashtag2"]},{"1328352848":["hashtag1","hashtag2"]},{"1328353369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328353292, 1328353076, 1328352848, 1328353369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.917020082473755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:02:02.309637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0003.jpg', '/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0000.jpg', '/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0001.jpg', '/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/00/image_12012025_07_00_02_414939_0003.jpg
/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0000.jpg
/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0001.jpg
/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328353508","1328353513","1328353516","1328353510"],"photo_ids_order":["1328353508","1328353510","1328353513","1328353516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4135143e24112131890aaba9957c214c.jpg","text":"TemporaryFile(/tmp/multipartBody407463396493856676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661792561,"filename":"image_12012025_07_00_02_414939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2583b58eaf0122553d1d2f3a8911c68.jpg","text":"TemporaryFile(/tmp/multipartBody1475930783854983843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661792561,"filename":"image_12012025_07_01_03_113659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb845d556d7de87aae754390c0ba5bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1281786957767259415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661792561,"filename":"image_12012025_07_01_03_113659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1aefb070c088926b74c2af9fcf1582a0.jpg","text":"TemporaryFile(/tmp/multipartBody700414129059105443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661792561,"filename":"image_12012025_07_01_03_113659_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328353513","file1":"1328353510","file0":"1328353508","file3":"1328353516"},"map_files_photo_id_array":[{"photo_id":"1328353513","filename":"file2"},{"photo_id":"1328353510","filename":"file1"},{"photo_id":"1328353508","filename":"file0"},{"photo_id":"1328353516","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328353508":["hashtag1","hashtag2"]},{"1328353513":["hashtag1","hashtag2"]},{"1328353516":["hashtag1","hashtag2"]},{"1328353510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328353508, 1328353513, 1328353516, 1328353510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.02700328826904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:03:03.191673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0003.jpg', '/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0000.jpg', '/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0001.jpg', '/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/01/image_12012025_07_01_03_113659_0003.jpg
/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0000.jpg
/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0001.jpg
/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328354133","1328354159","1328354212","1328354161"],"photo_ids_order":["1328354133","1328354159","1328354161","1328354212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8eeee69a4243a3764afd88bf2f4f90ce.jpg","text":"TemporaryFile(/tmp/multipartBody6553382025315294066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661853505,"filename":"image_12012025_07_01_03_113659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6361e1ab0d14c1c3217c4d7927a1a0f4.jpg","text":"TemporaryFile(/tmp/multipartBody4935042969630965316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661853505,"filename":"image_12012025_07_02_02_613666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d94e247a2460aae15e5166439b32207.jpg","text":"TemporaryFile(/tmp/multipartBody1855568844523317574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661853505,"filename":"image_12012025_07_02_02_613666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f7b3f98224bcc7e218467f7ad1871fc.jpg","text":"TemporaryFile(/tmp/multipartBody438603860324196108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661853505,"filename":"image_12012025_07_02_02_613666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328354161","file1":"1328354159","file0":"1328354133","file3":"1328354212"},"map_files_photo_id_array":[{"photo_id":"1328354161","filename":"file2"},{"photo_id":"1328354159","filename":"file1"},{"photo_id":"1328354133","filename":"file0"},{"photo_id":"1328354212","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328354133":["hashtag1","hashtag2"]},{"1328354159":["hashtag1","hashtag2"]},{"1328354212":["hashtag1","hashtag2"]},{"1328354161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328354133, 1328354159, 1328354212, 1328354161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0769259929657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:04:02.592913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0003.jpg', '/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0000.jpg', '/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0001.jpg', '/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/02/image_12012025_07_02_02_613666_0003.jpg
/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0000.jpg
/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0001.jpg
/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328354252","1328354251","1328354253","1328354250"],"photo_ids_order":["1328354250","1328354251","1328354252","1328354253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff13d371f299abaf84ef1f776e41fb33.jpg","text":"TemporaryFile(/tmp/multipartBody1837945496981978226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661912889,"filename":"image_12012025_07_03_02_350832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2ac8cb6a7e00e16dff8690d90ab12a6.jpg","text":"TemporaryFile(/tmp/multipartBody6850056330316326098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661912889,"filename":"image_12012025_07_03_02_350832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/406cd80d1aef498c6ffba22d94d83d59.jpg","text":"TemporaryFile(/tmp/multipartBody472188188914737293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661912889,"filename":"image_12012025_07_03_02_350832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b1dbcb95cce39d7a1cfd3bb6e19a39e.jpg","text":"TemporaryFile(/tmp/multipartBody1935665073259516032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661912889,"filename":"image_12012025_07_02_02_613666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328354252","file1":"1328354251","file0":"1328354250","file3":"1328354253"},"map_files_photo_id_array":[{"photo_id":"1328354252","filename":"file2"},{"photo_id":"1328354251","filename":"file1"},{"photo_id":"1328354250","filename":"file0"},{"photo_id":"1328354253","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328354252":["hashtag1","hashtag2"]},{"1328354251":["hashtag1","hashtag2"]},{"1328354253":["hashtag1","hashtag2"]},{"1328354250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328354252, 1328354251, 1328354253, 1328354250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33308434486389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:05:03.355310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0003.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0000.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0001.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0003.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0000.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0001.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.856840372085571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:05:22.770725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0003.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0000.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0001.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0002.jpg', '/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0003.jpg', '/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/03/image_12012025_07_03_02_350832_0003.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0000.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0001.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0002.jpg
/home/pi/Desktop/images/12012025/07/04/image_12012025_07_04_02_869295_0003.jpg
/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328354944","1328355037","1328354854","1328355093","1328354923","1328355117"],"photo_ids_order":["1328354854","1328354923","1328354944","1328355037","1328355093","1328355117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d9057326d3d0f995982d32cf45f9df5.jpg","text":"TemporaryFile(/tmp/multipartBody2022428699674294740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661997776,"filename":"image_12012025_07_04_02_869295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6731b8f2f0a25d94adff436d48c857bd.jpg","text":"TemporaryFile(/tmp/multipartBody7556815268535467894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661997776,"filename":"image_12012025_07_04_02_869295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad6353f563fdabd923404b8127c422ec.jpg","text":"TemporaryFile(/tmp/multipartBody2286826344291380693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661997776,"filename":"image_12012025_07_03_02_350832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d991f9d4fcbae69a300acd79a9e25f54.jpg","text":"TemporaryFile(/tmp/multipartBody6866085462012084584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661997776,"filename":"image_12012025_07_04_02_869295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbf290140f37b5456e50a7ec7be4fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody947690042891231953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661997776,"filename":"image_12012025_07_04_02_869295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5719e2870616ed1b46875a9e5758a0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7256401798733682036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736661997776,"filename":"image_12012025_07_05_02_507215_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328354944","file1":"1328354923","file0":"1328354854","file4":"1328355093","file5":"1328355117","file3":"1328355037"},"map_files_photo_id_array":[{"photo_id":"1328355117","filename":"file5"},{"photo_id":"1328354944","filename":"file2"},{"photo_id":"1328355093","filename":"file4"},{"photo_id":"1328354923","filename":"file1"},{"photo_id":"1328354854","filename":"file0"},{"photo_id":"1328355037","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328354944":["hashtag1","hashtag2"]},{"1328355037":["hashtag1","hashtag2"]},{"1328354854":["hashtag1","hashtag2"]},{"1328355093":["hashtag1","hashtag2"]},{"1328354923":["hashtag1","hashtag2"]},{"1328355117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328354944, 1328355037, 1328354854, 1328355093, 1328354923, 1328355117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.25230884552002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:06:22.509172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0001.jpg', '/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0002.jpg', '/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0003.jpg', '/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0000.jpg', '/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0001.jpg', '/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0001.jpg
/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0002.jpg
/home/pi/Desktop/images/12012025/07/05/image_12012025_07_05_02_507215_0003.jpg
/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0000.jpg
/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0001.jpg
/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328355199","1328355196","1328355181","1328355192","1328355194","1328355176"],"photo_ids_order":["1328355176","1328355181","1328355192","1328355194","1328355196","1328355199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4304bb4136f17bd98bb0ddcdde98cfd1.jpg","text":"TemporaryFile(/tmp/multipartBody210162132083689562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662057576,"filename":"image_12012025_07_06_03_145541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66a434a52b57b9719a847254243f41a6.jpg","text":"TemporaryFile(/tmp/multipartBody1821748845298607738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662057576,"filename":"image_12012025_07_06_03_145541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b63e6c83991c148fa365846bd10177b.jpg","text":"TemporaryFile(/tmp/multipartBody8972571276710042960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662057576,"filename":"image_12012025_07_05_02_507215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e4aeff37058c850ee3cfe77d629e3bb.jpg","text":"TemporaryFile(/tmp/multipartBody7438151782294391865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662057576,"filename":"image_12012025_07_05_02_507215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8f03cbeb353affa07eea9d19aae3ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8171162161468555694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662057576,"filename":"image_12012025_07_06_03_145541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1d588f4fca7f1f936a63620714a2a91.jpg","text":"TemporaryFile(/tmp/multipartBody7930328530523302580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662057576,"filename":"image_12012025_07_05_02_507215_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355192","file1":"1328355181","file0":"1328355176","file4":"1328355196","file5":"1328355199","file3":"1328355194"},"map_files_photo_id_array":[{"photo_id":"1328355199","filename":"file5"},{"photo_id":"1328355192","filename":"file2"},{"photo_id":"1328355196","filename":"file4"},{"photo_id":"1328355181","filename":"file1"},{"photo_id":"1328355176","filename":"file0"},{"photo_id":"1328355194","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355199":["hashtag1","hashtag2"]},{"1328355196":["hashtag1","hashtag2"]},{"1328355181":["hashtag1","hashtag2"]},{"1328355192":["hashtag1","hashtag2"]},{"1328355194":["hashtag1","hashtag2"]},{"1328355176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355199, 1328355196, 1328355181, 1328355192, 1328355194, 1328355176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07843041419983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:07:21.973958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0003.jpg', '/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0000.jpg', '/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0001.jpg', '/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/06/image_12012025_07_06_03_145541_0003.jpg
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0000.jpg
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0001.jpg
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328355212","1328355211","1328355208","1328355213"],"photo_ids_order":["1328355208","1328355211","1328355212","1328355213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5f9ec919414aaa083570cbbfbf74448.jpg","text":"TemporaryFile(/tmp/multipartBody3406853433338167212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662112071,"filename":"image_12012025_07_07_02_910237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/554430f678fabc281b2d4cadb2ab6a65.jpg","text":"TemporaryFile(/tmp/multipartBody476192491974054152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662112071,"filename":"image_12012025_07_07_02_910237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab8e2c104fc8046cc0d31a496b4ede1a.jpg","text":"TemporaryFile(/tmp/multipartBody7042116436185092615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662112071,"filename":"image_12012025_07_06_03_145541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67ada45d83acdd61f4219cc2483e5f93.jpg","text":"TemporaryFile(/tmp/multipartBody4297530214545130562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662112071,"filename":"image_12012025_07_07_02_910237_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355212","file1":"1328355211","file0":"1328355208","file3":"1328355213"},"map_files_photo_id_array":[{"photo_id":"1328355212","filename":"file2"},{"photo_id":"1328355211","filename":"file1"},{"photo_id":"1328355208","filename":"file0"},{"photo_id":"1328355213","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355212":["hashtag1","hashtag2"]},{"1328355211":["hashtag1","hashtag2"]},{"1328355208":["hashtag1","hashtag2"]},{"1328355213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355212, 1328355211, 1328355208, 1328355213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94623684883118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:08:02.948447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:08:22.514858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.921127557754517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:09:02.694737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_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>885kjk63f</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>885kjk63f</strong>.
uploaded 0 photos
time to upload: 39.96753931045532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:10:03.171755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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.73211932182312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:10:22.721260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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>885kjp1e6</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>885kjp1e6</strong>.
uploaded 0 photos
time to upload: 44.71931982040405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:11:22.287604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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>885kk2bhn</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>885kk2bhn</strong>.
uploaded 0 photos
time to upload: 44.73711133003235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:12:22.733768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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>885kk5n23</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>885kk5n23</strong>.
uploaded 0 photos
time to upload: 44.72021818161011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:13:22.189971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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>885kk974i</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>885kk974i</strong>.
uploaded 0 photos
time to upload: 44.81910705566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:14:21.869857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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.713909387588501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:15:03.014438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg', '/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/07/image_12012025_07_07_02_910237_0003.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0000.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0001.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0002.jpg
/home/pi/Desktop/images/12012025/07/08/image_12012025_07_08_02_418716_0003.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_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":["1328355263","1328355272","1328355268","1328355256","1328355276","1328355258"],"photo_ids_order":["1328355256","1328355258","1328355263","1328355268","1328355272","1328355276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7419d202561eeae64a52016a7d90f63d.jpg","text":"TemporaryFile(/tmp/multipartBody826860121773189192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662578174,"filename":"image_12012025_07_08_02_418716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60535a3ed22b1eed0785526d9f4ada89.jpg","text":"TemporaryFile(/tmp/multipartBody5902032054214251624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662578174,"filename":"image_12012025_07_08_02_418716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7629f1279e2bda002840856818301135.jpg","text":"TemporaryFile(/tmp/multipartBody563471799660829713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662578174,"filename":"image_12012025_07_08_02_418716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7812c6e07f552c2f11a26de042997e6d.jpg","text":"TemporaryFile(/tmp/multipartBody5779598662821240789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662578174,"filename":"image_12012025_07_07_02_910237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd35a5cbb0c96540d5fe2ac2c2e5a109.jpg","text":"TemporaryFile(/tmp/multipartBody1640765985496221443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662578174,"filename":"image_12012025_07_09_02_914038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48db6675388fd3159e5d4d1b78679eb4.jpg","text":"TemporaryFile(/tmp/multipartBody948774229015978582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662578174,"filename":"image_12012025_07_08_02_418716_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355263","file1":"1328355258","file0":"1328355256","file4":"1328355272","file5":"1328355276","file3":"1328355268"},"map_files_photo_id_array":[{"photo_id":"1328355276","filename":"file5"},{"photo_id":"1328355263","filename":"file2"},{"photo_id":"1328355272","filename":"file4"},{"photo_id":"1328355258","filename":"file1"},{"photo_id":"1328355256","filename":"file0"},{"photo_id":"1328355268","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355263":["hashtag1","hashtag2"]},{"1328355272":["hashtag1","hashtag2"]},{"1328355268":["hashtag1","hashtag2"]},{"1328355256":["hashtag1","hashtag2"]},{"1328355276":["hashtag1","hashtag2"]},{"1328355258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355263, 1328355272, 1328355268, 1328355256, 1328355276, 1328355258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.5377311706543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:16:21.969750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0001.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0002.jpg', '/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0003.jpg', '/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0000.jpg', '/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0001.jpg', '/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0001.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0002.jpg
/home/pi/Desktop/images/12012025/07/09/image_12012025_07_09_02_914038_0003.jpg
/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0000.jpg
/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0001.jpg
/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328355299","1328355298","1328355292","1328355295","1328355301","1328355303"],"photo_ids_order":["1328355292","1328355295","1328355298","1328355299","1328355301","1328355303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b23ae39863b13428836567b9557cf635.jpg","text":"TemporaryFile(/tmp/multipartBody7975421694789067646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662656950,"filename":"image_12012025_07_10_02_423045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7111158af05c8b00754d60e757eaee0b.jpg","text":"TemporaryFile(/tmp/multipartBody6236288465915469891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662656950,"filename":"image_12012025_07_09_02_914038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5e20503b36afa9863dec4b35dca64f0.jpg","text":"TemporaryFile(/tmp/multipartBody2840327137272584794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662656950,"filename":"image_12012025_07_09_02_914038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f99045c04530237d0c102fb33c30516.jpg","text":"TemporaryFile(/tmp/multipartBody217117702544119331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662656950,"filename":"image_12012025_07_09_02_914038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3e2fd99712d038ca04179fd9ff04157.jpg","text":"TemporaryFile(/tmp/multipartBody1969452541404867698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662656950,"filename":"image_12012025_07_10_02_423045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30c11945b8fadb379fa64a132149dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody5049853559027398127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662656950,"filename":"image_12012025_07_10_02_423045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355298","file1":"1328355295","file0":"1328355292","file4":"1328355301","file5":"1328355303","file3":"1328355299"},"map_files_photo_id_array":[{"photo_id":"1328355303","filename":"file5"},{"photo_id":"1328355298","filename":"file2"},{"photo_id":"1328355301","filename":"file4"},{"photo_id":"1328355295","filename":"file1"},{"photo_id":"1328355292","filename":"file0"},{"photo_id":"1328355299","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355299":["hashtag1","hashtag2"]},{"1328355298":["hashtag1","hashtag2"]},{"1328355292":["hashtag1","hashtag2"]},{"1328355295":["hashtag1","hashtag2"]},{"1328355301":["hashtag1","hashtag2"]},{"1328355303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355299, 1328355298, 1328355292, 1328355295, 1328355301, 1328355303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25764513015747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:17:22.483216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0003.jpg', '/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0000.jpg', '/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0001.jpg', '/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0002.jpg', '/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0003.jpg', '/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/10/image_12012025_07_10_02_423045_0003.jpg
/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0000.jpg
/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0001.jpg
/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0002.jpg
/home/pi/Desktop/images/12012025/07/11/image_12012025_07_11_03_063698_0003.jpg
/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328355322","1328355325","1328355333","1328355336","1328355330","1328355318"],"photo_ids_order":["1328355318","1328355322","1328355325","1328355330","1328355333","1328355336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7fdef98600204d25359166b2194f0ee7.jpg","text":"TemporaryFile(/tmp/multipartBody576210364197381991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662717609,"filename":"image_12012025_07_11_03_063698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e97a91a29e849eff29033b70f5a1065.jpg","text":"TemporaryFile(/tmp/multipartBody7555724662963544258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662717609,"filename":"image_12012025_07_11_03_063698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f8922ae5addf37403342e1e7a94f1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7116566572597743046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662717609,"filename":"image_12012025_07_11_03_063698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f6f33f76d2df84de383acc5e239d53b.jpg","text":"TemporaryFile(/tmp/multipartBody5485410819864279979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662717609,"filename":"image_12012025_07_12_02_579547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8282a0aa4d30dc7cf31c08b0ab4ee78.jpg","text":"TemporaryFile(/tmp/multipartBody7624413083460693952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662717609,"filename":"image_12012025_07_11_03_063698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c507e7fe4ec7e3e69e0765d29804b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3825084527867635503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662717609,"filename":"image_12012025_07_10_02_423045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355325","file1":"1328355322","file0":"1328355318","file4":"1328355333","file5":"1328355336","file3":"1328355330"},"map_files_photo_id_array":[{"photo_id":"1328355336","filename":"file5"},{"photo_id":"1328355325","filename":"file2"},{"photo_id":"1328355333","filename":"file4"},{"photo_id":"1328355322","filename":"file1"},{"photo_id":"1328355318","filename":"file0"},{"photo_id":"1328355330","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355322":["hashtag1","hashtag2"]},{"1328355325":["hashtag1","hashtag2"]},{"1328355333":["hashtag1","hashtag2"]},{"1328355336":["hashtag1","hashtag2"]},{"1328355330":["hashtag1","hashtag2"]},{"1328355318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355322, 1328355325, 1328355333, 1328355336, 1328355330, 1328355318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.74535799026489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:18:21.967178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0001.jpg', '/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0002.jpg', '/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0003.jpg', '/home/pi/Desktop/images/12012025/07/13/image_12012025_07_13_03_118896_0001.jpg', '/home/pi/Desktop/images/12012025/07/13/image_12012025_07_13_03_118896_0002.jpg', '/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0001.jpg
/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0002.jpg
/home/pi/Desktop/images/12012025/07/12/image_12012025_07_12_02_579547_0003.jpg
/home/pi/Desktop/images/12012025/07/13/image_12012025_07_13_03_118896_0001.jpg
/home/pi/Desktop/images/12012025/07/13/image_12012025_07_13_03_118896_0002.jpg
/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328355356","1328355359","1328355350","1328355352","1328355355","1328355349"],"photo_ids_order":["1328355349","1328355350","1328355352","1328355355","1328355356","1328355359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/231fb2d2173b0e33040c1d7eaf029d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3070837309425258748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662776926,"filename":"image_12012025_07_13_03_118896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/036bfb01ddd6ad856d8ffe94198cd051.jpg","text":"TemporaryFile(/tmp/multipartBody7387245519177897151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662776926,"filename":"image_12012025_07_14_02_731079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71722d5730f06d0bc64937011ccc3fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4671005296569045232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662776926,"filename":"image_12012025_07_12_02_579547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e0a09a91e7b7e7816ac8751947af15f.jpg","text":"TemporaryFile(/tmp/multipartBody4392740002632292194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662776926,"filename":"image_12012025_07_12_02_579547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd349be5f1733a78bf9959635b9bb283.jpg","text":"TemporaryFile(/tmp/multipartBody4531162702761821364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662776926,"filename":"image_12012025_07_13_03_118896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5eed94c8d9294e3bbe5a5599254eb179.jpg","text":"TemporaryFile(/tmp/multipartBody2965968921595226509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662776926,"filename":"image_12012025_07_12_02_579547_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355352","file1":"1328355350","file0":"1328355349","file4":"1328355356","file5":"1328355359","file3":"1328355355"},"map_files_photo_id_array":[{"photo_id":"1328355359","filename":"file5"},{"photo_id":"1328355352","filename":"file2"},{"photo_id":"1328355356","filename":"file4"},{"photo_id":"1328355350","filename":"file1"},{"photo_id":"1328355349","filename":"file0"},{"photo_id":"1328355355","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355356":["hashtag1","hashtag2"]},{"1328355359":["hashtag1","hashtag2"]},{"1328355350":["hashtag1","hashtag2"]},{"1328355352":["hashtag1","hashtag2"]},{"1328355355":["hashtag1","hashtag2"]},{"1328355349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355356, 1328355359, 1328355350, 1328355352, 1328355355, 1328355349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.34659290313721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:19:22.481915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0001.jpg', '/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0002.jpg', '/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0003.jpg', '/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0000.jpg', '/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0001.jpg', '/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0001.jpg
/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0002.jpg
/home/pi/Desktop/images/12012025/07/14/image_12012025_07_14_02_731079_0003.jpg
/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0000.jpg
/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0001.jpg
/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_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":["1328355371","1328355370","1328355372","1328355375","1328355369","1328355374"],"photo_ids_order":["1328355369","1328355370","1328355371","1328355372","1328355374","1328355375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4313dade62e24a4b38a3178939017948.jpg","text":"TemporaryFile(/tmp/multipartBody5718585629080972048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662837437,"filename":"image_12012025_07_14_02_731079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/338474f999abcdc0170af6a199c8dc68.jpg","text":"TemporaryFile(/tmp/multipartBody5068846994460604662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662837437,"filename":"image_12012025_07_14_02_731079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58bac67f14c11e38131f3b333b8d44e0.jpg","text":"TemporaryFile(/tmp/multipartBody2161342061106021133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662837437,"filename":"image_12012025_07_15_02_228620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f97573546cb432631f2cb84fd3e11f6.jpg","text":"TemporaryFile(/tmp/multipartBody5429546976365630025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662837437,"filename":"image_12012025_07_15_02_228620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4cbb498dcceb899635f8cd4d25f6cda.jpg","text":"TemporaryFile(/tmp/multipartBody5046195097784474928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662837437,"filename":"image_12012025_07_14_02_731079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea39e4fac4790b15ed4ac014ca8f519d.jpg","text":"TemporaryFile(/tmp/multipartBody3863192179116298407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662837437,"filename":"image_12012025_07_15_02_228620_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355371","file1":"1328355370","file0":"1328355369","file4":"1328355374","file5":"1328355375","file3":"1328355372"},"map_files_photo_id_array":[{"photo_id":"1328355375","filename":"file5"},{"photo_id":"1328355371","filename":"file2"},{"photo_id":"1328355374","filename":"file4"},{"photo_id":"1328355370","filename":"file1"},{"photo_id":"1328355369","filename":"file0"},{"photo_id":"1328355372","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355371":["hashtag1","hashtag2"]},{"1328355370":["hashtag1","hashtag2"]},{"1328355372":["hashtag1","hashtag2"]},{"1328355375":["hashtag1","hashtag2"]},{"1328355369":["hashtag1","hashtag2"]},{"1328355374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355371, 1328355370, 1328355372, 1328355375, 1328355369, 1328355374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.68561410903931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:21:02.920573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0003.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0000.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0001.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0002.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0003.jpg', '/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0003.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0000.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0001.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0002.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0003.jpg
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_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.695904970169067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:21:22.391167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0003.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0000.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0001.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0002.jpg', '/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0003.jpg', '/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/15/image_12012025_07_15_02_228620_0003.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0000.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0001.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0002.jpg
/home/pi/Desktop/images/12012025/07/16/image_12012025_07_16_02_708956_0003.jpg
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328355674","1328355632","1328355614","1328355673","1328355630","1328355587"],"photo_ids_order":["1328355587","1328355614","1328355630","1328355632","1328355673","1328355674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d9b0768f1f406e2fcdb5aadad63edb7.jpg","text":"TemporaryFile(/tmp/multipartBody8113125910504925126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662957403,"filename":"image_12012025_07_17_02_359419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/193e750f6a0df62231f6b20ac3959483.jpg","text":"TemporaryFile(/tmp/multipartBody2919127471303161850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662957403,"filename":"image_12012025_07_16_02_708956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19e1560b8462338ced059b33bbe8f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody5661189221702602690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662957403,"filename":"image_12012025_07_16_02_708956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8aa3e124f310304e642fd549960fc6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3787329664224897848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662957403,"filename":"image_12012025_07_16_02_708956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d91c1aae8f75f36ce1fd6f41de9ba1f.jpg","text":"TemporaryFile(/tmp/multipartBody8452899815482503718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662957403,"filename":"image_12012025_07_16_02_708956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7453bf475e954b866a202ba949b426ed.jpg","text":"TemporaryFile(/tmp/multipartBody475541553641069453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736662957403,"filename":"image_12012025_07_15_02_228620_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355630","file1":"1328355614","file0":"1328355587","file4":"1328355673","file5":"1328355674","file3":"1328355632"},"map_files_photo_id_array":[{"photo_id":"1328355674","filename":"file5"},{"photo_id":"1328355630","filename":"file2"},{"photo_id":"1328355673","filename":"file4"},{"photo_id":"1328355614","filename":"file1"},{"photo_id":"1328355587","filename":"file0"},{"photo_id":"1328355632","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355674":["hashtag1","hashtag2"]},{"1328355632":["hashtag1","hashtag2"]},{"1328355614":["hashtag1","hashtag2"]},{"1328355673":["hashtag1","hashtag2"]},{"1328355630":["hashtag1","hashtag2"]},{"1328355587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355674, 1328355632, 1328355614, 1328355673, 1328355630, 1328355587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.20250344276428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:22:22.146569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0001.jpg', '/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0002.jpg', '/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0003.jpg', '/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0000.jpg', '/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0001.jpg', '/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0001.jpg
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0002.jpg
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0003.jpg
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0000.jpg
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0001.jpg
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.664455890655518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:23:03.162972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0001.jpg', '/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0002.jpg', '/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0003.jpg', '/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0000.jpg', '/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0001.jpg', '/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0001.jpg
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0002.jpg
/home/pi/Desktop/images/12012025/07/17/image_12012025_07_17_02_359419_0003.jpg
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0000.jpg
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0001.jpg
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_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":["1328355707","1328355700","1328355693","1328355705","1328355698","1328355702"],"photo_ids_order":["1328355693","1328355698","1328355700","1328355702","1328355705","1328355707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a61b461317cd251f39e0add25ce90631.jpg","text":"TemporaryFile(/tmp/multipartBody4913222420635427073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663058288,"filename":"image_12012025_07_18_02_848188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85e035ca9a1f941ea942370f995d6619.jpg","text":"TemporaryFile(/tmp/multipartBody6483277947493950520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663058288,"filename":"image_12012025_07_17_02_359419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7a2d75d0acdacab29623b79747e0730.jpg","text":"TemporaryFile(/tmp/multipartBody1528787554970875766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663058288,"filename":"image_12012025_07_17_02_359419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43acaf7d9057b416b958560aeca6214d.jpg","text":"TemporaryFile(/tmp/multipartBody215159965532709222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663058288,"filename":"image_12012025_07_18_02_848188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51b72da573d4975e0903d11343b0afdf.jpg","text":"TemporaryFile(/tmp/multipartBody4300283418656670794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663058288,"filename":"image_12012025_07_17_02_359419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/99e39fa1a8ee6a024cc893f9639c6e03.jpg","text":"TemporaryFile(/tmp/multipartBody6134659910994765221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663058288,"filename":"image_12012025_07_18_02_848188_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355700","file1":"1328355698","file0":"1328355693","file4":"1328355705","file5":"1328355707","file3":"1328355702"},"map_files_photo_id_array":[{"photo_id":"1328355707","filename":"file5"},{"photo_id":"1328355700","filename":"file2"},{"photo_id":"1328355705","filename":"file4"},{"photo_id":"1328355698","filename":"file1"},{"photo_id":"1328355693","filename":"file0"},{"photo_id":"1328355702","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355707":["hashtag1","hashtag2"]},{"1328355700":["hashtag1","hashtag2"]},{"1328355693":["hashtag1","hashtag2"]},{"1328355705":["hashtag1","hashtag2"]},{"1328355698":["hashtag1","hashtag2"]},{"1328355702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355707, 1328355700, 1328355693, 1328355705, 1328355698, 1328355702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.151278495788574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:24:22.305843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0003.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0000.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0001.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0002.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0003.jpg', '/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0003.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0000.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0001.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0002.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0003.jpg
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_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.629265785217285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:25:02.350645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0003.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0000.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0001.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0002.jpg', '/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0003.jpg', '/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/18/image_12012025_07_18_02_848188_0003.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0000.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0001.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0002.jpg
/home/pi/Desktop/images/12012025/07/19/image_12012025_07_19_02_361978_0003.jpg
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_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":["1328355749","1328355824","1328355757","1328355742","1328355745","1328355747"],"photo_ids_order":["1328355742","1328355745","1328355747","1328355749","1328355757","1328355824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af9886e185f8beb0ec1929b7be036d4b.jpg","text":"TemporaryFile(/tmp/multipartBody943567622899264117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663177445,"filename":"image_12012025_07_19_02_361978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c87884f16a9ae0eb015fccce8a0aa04.jpg","text":"TemporaryFile(/tmp/multipartBody6390155100591501841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663177445,"filename":"image_12012025_07_20_02_843727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db705cc2480c0eae1ddce9c016db0618.jpg","text":"TemporaryFile(/tmp/multipartBody7215469707932676015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663177445,"filename":"image_12012025_07_19_02_361978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abbce29a6e915b4e6b9547555344136c.jpg","text":"TemporaryFile(/tmp/multipartBody4980613185583256714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663177445,"filename":"image_12012025_07_18_02_848188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4896c860fd98fc19821ea86382b03282.jpg","text":"TemporaryFile(/tmp/multipartBody1212767184769885014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663177445,"filename":"image_12012025_07_19_02_361978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4546a385f0a3a39f7412b084992f3495.jpg","text":"TemporaryFile(/tmp/multipartBody5864958921873958779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663177445,"filename":"image_12012025_07_19_02_361978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355747","file1":"1328355745","file0":"1328355742","file4":"1328355757","file5":"1328355824","file3":"1328355749"},"map_files_photo_id_array":[{"photo_id":"1328355824","filename":"file5"},{"photo_id":"1328355747","filename":"file2"},{"photo_id":"1328355757","filename":"file4"},{"photo_id":"1328355745","filename":"file1"},{"photo_id":"1328355742","filename":"file0"},{"photo_id":"1328355749","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355749":["hashtag1","hashtag2"]},{"1328355824":["hashtag1","hashtag2"]},{"1328355757":["hashtag1","hashtag2"]},{"1328355742":["hashtag1","hashtag2"]},{"1328355745":["hashtag1","hashtag2"]},{"1328355747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355749, 1328355824, 1328355757, 1328355742, 1328355745, 1328355747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.84638977050781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:26:22.576494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0001.jpg', '/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0002.jpg', '/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0003.jpg', '/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0001.jpg', '/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0002.jpg', '/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0001.jpg
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0002.jpg
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0003.jpg
/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0001.jpg
/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0002.jpg
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_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.464498519897461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:27:02.694989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0001.jpg', '/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0002.jpg', '/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0003.jpg', '/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0001.jpg', '/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0002.jpg', '/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0001.jpg
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0002.jpg
/home/pi/Desktop/images/12012025/07/20/image_12012025_07_20_02_843727_0003.jpg
/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0001.jpg
/home/pi/Desktop/images/12012025/07/21/image_12012025_07_21_02_348845_0002.jpg
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_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":["1328355982","1328355970","1328355978","1328355972","1328355975","1328355977"],"photo_ids_order":["1328355970","1328355972","1328355975","1328355977","1328355978","1328355982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c223e180a3924a38d7a053726403ceed.jpg","text":"TemporaryFile(/tmp/multipartBody6564411585260179341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663297619,"filename":"image_12012025_07_22_02_871103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17dda9d25e86c437969d5fd9111415b3.jpg","text":"TemporaryFile(/tmp/multipartBody932100454275825520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663297619,"filename":"image_12012025_07_20_02_843727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89bc6f0ca5ac3f87f72f09b88ec5c134.jpg","text":"TemporaryFile(/tmp/multipartBody2302944845125277064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663297619,"filename":"image_12012025_07_21_02_348845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89ff6ab47f9a0b0a9e8c83b41265b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody2474573763436208572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663297619,"filename":"image_12012025_07_20_02_843727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/049ab489aae26f66fcdab99c4051873b.jpg","text":"TemporaryFile(/tmp/multipartBody398669548849773682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663297619,"filename":"image_12012025_07_20_02_843727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1210320f7ef45a5af392e94775cbf37f.jpg","text":"TemporaryFile(/tmp/multipartBody6777587710098463152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663297619,"filename":"image_12012025_07_21_02_348845_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328355975","file1":"1328355972","file0":"1328355970","file4":"1328355978","file5":"1328355982","file3":"1328355977"},"map_files_photo_id_array":[{"photo_id":"1328355982","filename":"file5"},{"photo_id":"1328355975","filename":"file2"},{"photo_id":"1328355978","filename":"file4"},{"photo_id":"1328355972","filename":"file1"},{"photo_id":"1328355970","filename":"file0"},{"photo_id":"1328355977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328355982":["hashtag1","hashtag2"]},{"1328355970":["hashtag1","hashtag2"]},{"1328355978":["hashtag1","hashtag2"]},{"1328355972":["hashtag1","hashtag2"]},{"1328355975":["hashtag1","hashtag2"]},{"1328355977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328355982, 1328355970, 1328355978, 1328355972, 1328355975, 1328355977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.69384741783142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:28:21.756569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0001.jpg', '/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0002.jpg', '/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0003.jpg', '/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0000.jpg', '/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0001.jpg', '/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0001.jpg
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0002.jpg
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0003.jpg
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0000.jpg
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0001.jpg
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.448431015014648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:29:02.886610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0001.jpg', '/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0002.jpg', '/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0003.jpg', '/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0000.jpg', '/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0001.jpg', '/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0001.jpg
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0002.jpg
/home/pi/Desktop/images/12012025/07/22/image_12012025_07_22_02_871103_0003.jpg
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0000.jpg
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0001.jpg
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328356022","1328356004","1328356021","1328356018","1328356009","1328356014"],"photo_ids_order":["1328356004","1328356009","1328356014","1328356018","1328356021","1328356022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46ae722a546eacc4f0730630aeee54b7.jpg","text":"TemporaryFile(/tmp/multipartBody7191853263292765330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663417816,"filename":"image_12012025_07_23_02_501480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff6a3fb3c9eb1d546e1c6b8a02d4235d.jpg","text":"TemporaryFile(/tmp/multipartBody4540722595733698746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663417816,"filename":"image_12012025_07_22_02_871103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5b4d3c764825ee2497c0f9b99576e43.jpg","text":"TemporaryFile(/tmp/multipartBody2271489327405149194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663417816,"filename":"image_12012025_07_23_02_501480_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80f4fd90f31de9a6ade71db9f771abee.jpg","text":"TemporaryFile(/tmp/multipartBody7919772695725315836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663417816,"filename":"image_12012025_07_23_02_501480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00c521cbba97f8ec193a5c30c8a8f639.jpg","text":"TemporaryFile(/tmp/multipartBody7534575816355841447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663417816,"filename":"image_12012025_07_22_02_871103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3c7f2890255474d9d3e32f71dc3d96d.jpg","text":"TemporaryFile(/tmp/multipartBody6316943015661228393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663417816,"filename":"image_12012025_07_22_02_871103_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328356014","file1":"1328356009","file0":"1328356004","file4":"1328356021","file5":"1328356022","file3":"1328356018"},"map_files_photo_id_array":[{"photo_id":"1328356022","filename":"file5"},{"photo_id":"1328356014","filename":"file2"},{"photo_id":"1328356021","filename":"file4"},{"photo_id":"1328356009","filename":"file1"},{"photo_id":"1328356004","filename":"file0"},{"photo_id":"1328356018","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328356022":["hashtag1","hashtag2"]},{"1328356004":["hashtag1","hashtag2"]},{"1328356021":["hashtag1","hashtag2"]},{"1328356018":["hashtag1","hashtag2"]},{"1328356009":["hashtag1","hashtag2"]},{"1328356014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328356022, 1328356004, 1328356021, 1328356018, 1328356009, 1328356014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.043172121047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:30:02.171491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0003.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0000.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0001.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0002.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0003.jpg', '/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0003.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0000.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0001.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0002.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0003.jpg
/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_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.465311050415039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:30:21.802116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0003.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0000.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0001.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0002.jpg', '/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0003.jpg', '/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/23/image_12012025_07_23_02_501480_0003.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0000.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0001.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0002.jpg
/home/pi/Desktop/images/12012025/07/24/image_12012025_07_24_03_037878_0003.jpg
/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328356189","1328356191","1328356041","1328356076","1328356118","1328356046"],"photo_ids_order":["1328356041","1328356046","1328356076","1328356118","1328356189","1328356191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1573eb119f2d121a8e1ac1e505d532b4.jpg","text":"TemporaryFile(/tmp/multipartBody6330234794658247131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663496622,"filename":"image_12012025_07_24_03_037878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4cb0cfe9d7ef4be56270a5bc4c1823d8.jpg","text":"TemporaryFile(/tmp/multipartBody8844524005671957414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663496622,"filename":"image_12012025_07_25_02_713360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9df8bb566c549e2c4e7ae5650ce11f68.jpg","text":"TemporaryFile(/tmp/multipartBody1152385897299523369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663496622,"filename":"image_12012025_07_23_02_501480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/145d72d3f18fc230631e7273dbb4d404.jpg","text":"TemporaryFile(/tmp/multipartBody3412318207354128873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663496622,"filename":"image_12012025_07_24_03_037878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80c5a31bf5031dbc2ae18e5c1ea635b5.jpg","text":"TemporaryFile(/tmp/multipartBody2986670565073315662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663496622,"filename":"image_12012025_07_24_03_037878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0821388ac4591e77f7bbf6dfb8719989.jpg","text":"TemporaryFile(/tmp/multipartBody3666096664651823860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663496622,"filename":"image_12012025_07_24_03_037878_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328356076","file1":"1328356046","file0":"1328356041","file4":"1328356189","file5":"1328356191","file3":"1328356118"},"map_files_photo_id_array":[{"photo_id":"1328356191","filename":"file5"},{"photo_id":"1328356076","filename":"file2"},{"photo_id":"1328356189","filename":"file4"},{"photo_id":"1328356046","filename":"file1"},{"photo_id":"1328356041","filename":"file0"},{"photo_id":"1328356118","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328356189":["hashtag1","hashtag2"]},{"1328356191":["hashtag1","hashtag2"]},{"1328356041":["hashtag1","hashtag2"]},{"1328356076":["hashtag1","hashtag2"]},{"1328356118":["hashtag1","hashtag2"]},{"1328356046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328356189, 1328356191, 1328356041, 1328356076, 1328356118, 1328356046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.503430128097534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:31:22.248170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0001.jpg', '/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0002.jpg', '/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0003.jpg', '/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0000.jpg', '/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0001.jpg', '/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0001.jpg
/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0002.jpg
/home/pi/Desktop/images/12012025/07/25/image_12012025_07_25_02_713360_0003.jpg
/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0000.jpg
/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0001.jpg
/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328356270","1328356267","1328356263","1328356272","1328356262","1328356265"],"photo_ids_order":["1328356262","1328356263","1328356265","1328356267","1328356270","1328356272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e2e5a492177842a9e92cc6b77405f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1448376289922795988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663557236,"filename":"image_12012025_07_26_02_266985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9596d6531039f912977968cfd07a686c.jpg","text":"TemporaryFile(/tmp/multipartBody4025676912526944074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663557236,"filename":"image_12012025_07_26_02_266985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5754784c7c97020df1766fb5e181f0c5.jpg","text":"TemporaryFile(/tmp/multipartBody650313095050567541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663557236,"filename":"image_12012025_07_25_02_713360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9e1424860229c6744293b86b34bef7a.jpg","text":"TemporaryFile(/tmp/multipartBody1327705578130995932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663557236,"filename":"image_12012025_07_26_02_266985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be0b5082b4b8e2e662d08df8a3f215cf.jpg","text":"TemporaryFile(/tmp/multipartBody4317905472197751328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663557236,"filename":"image_12012025_07_25_02_713360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c431a1ab799110e45af5deab493b47d.jpg","text":"TemporaryFile(/tmp/multipartBody6578856295660830163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663557236,"filename":"image_12012025_07_25_02_713360_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328356265","file1":"1328356263","file0":"1328356262","file4":"1328356270","file5":"1328356272","file3":"1328356267"},"map_files_photo_id_array":[{"photo_id":"1328356272","filename":"file5"},{"photo_id":"1328356265","filename":"file2"},{"photo_id":"1328356270","filename":"file4"},{"photo_id":"1328356263","filename":"file1"},{"photo_id":"1328356262","filename":"file0"},{"photo_id":"1328356267","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328356270":["hashtag1","hashtag2"]},{"1328356267":["hashtag1","hashtag2"]},{"1328356263":["hashtag1","hashtag2"]},{"1328356272":["hashtag1","hashtag2"]},{"1328356262":["hashtag1","hashtag2"]},{"1328356265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328356270, 1328356267, 1328356263, 1328356272, 1328356262, 1328356265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.26678681373596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:32:21.857118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0003.jpg', '/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0000.jpg', '/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0001.jpg', '/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0002.jpg', '/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0003.jpg', '/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_02_266985_0003.jpg
/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0000.jpg
/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0001.jpg
/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0002.jpg
/home/pi/Desktop/images/12012025/07/27/image_12012025_07_27_02_921005_0003.jpg
/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328356285","1328356279","1328356287","1328356281","1328356278","1328356283"],"photo_ids_order":["1328356278","1328356279","1328356281","1328356283","1328356285","1328356287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d432c2cad1397d2babb494ed3e2d399.jpg","text":"TemporaryFile(/tmp/multipartBody1236346178229727961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663616740,"filename":"image_12012025_07_27_02_921005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/633608f8aaa72642f4236763c152f926.jpg","text":"TemporaryFile(/tmp/multipartBody5661929729824407776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663616740,"filename":"image_12012025_07_27_02_921005_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d302acb9953f751c9a43cdfe85ef6d58.jpg","text":"TemporaryFile(/tmp/multipartBody3367730440336256964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663616740,"filename":"image_12012025_07_28_02_521798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e40c583a449f92e428640c154fbf8cf.jpg","text":"TemporaryFile(/tmp/multipartBody5505886384845851303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663616740,"filename":"image_12012025_07_27_02_921005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b194b0eaa794b61214123de8fee12e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2591359675348116901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663616740,"filename":"image_12012025_07_26_02_266985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7f385307af4964fd4a86ad2dba0f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody359850683386294628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663616740,"filename":"image_12012025_07_27_02_921005_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328356281","file1":"1328356279","file0":"1328356278","file4":"1328356285","file5":"1328356287","file3":"1328356283"},"map_files_photo_id_array":[{"photo_id":"1328356287","filename":"file5"},{"photo_id":"1328356281","filename":"file2"},{"photo_id":"1328356285","filename":"file4"},{"photo_id":"1328356279","filename":"file1"},{"photo_id":"1328356278","filename":"file0"},{"photo_id":"1328356283","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328356285":["hashtag1","hashtag2"]},{"1328356279":["hashtag1","hashtag2"]},{"1328356287":["hashtag1","hashtag2"]},{"1328356281":["hashtag1","hashtag2"]},{"1328356278":["hashtag1","hashtag2"]},{"1328356283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328356285, 1328356279, 1328356287, 1328356281, 1328356278, 1328356283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78438925743103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:33:22.230612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0001.jpg', '/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0002.jpg', '/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0003.jpg', '/home/pi/Desktop/images/12012025/07/29/image_12012025_07_29_02_126121_0000.jpg', '/home/pi/Desktop/images/12012025/07/29/image_12012025_07_29_02_126121_0001.jpg', '/home/pi/Desktop/images/12012025/07/29/image_12012025_07_29_02_126121_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0001.jpg
/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0002.jpg
/home/pi/Desktop/images/12012025/07/28/image_12012025_07_28_02_521798_0003.jpg
/home/pi/Desktop/images/12012025/07/29/image_12012025_07_29_02_126121_0000.jpg
/home/pi/Desktop/images/12012025/07/29/image_12012025_07_29_02_126121_0001.jpg
/home/pi/Desktop/images/12012025/07/29/image_12012025_07_29_02_126121_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328356297","1328356318","1328356320","1328356302","1328356322","1328356316"],"photo_ids_order":["1328356297","1328356302","1328356316","1328356318","1328356320","1328356322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9e68a00725e33dd82e1acb3d187b4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6205878568591361750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663677224,"filename":"image_12012025_07_28_02_521798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2b97242b971af287bad33d6d50e0b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7990429936492258353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663677224,"filename":"image_12012025_07_29_02_126121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a39a9d112e9ea3b82b35815fa2677ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4752920062454467391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663677224,"filename":"image_12012025_07_29_02_126121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd8a9acd6a336f9d6ef10600de7f6c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4667313923471013630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663677224,"filename":"image_12012025_07_28_02_521798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8382d3d1eb018dc7eb5f51f54460e62.jpg","text":"TemporaryFile(/tmp/multipartBody4474099309344010323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663677224,"filename":"image_12012025_07_29_02_126121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16c5cd50ba9a8752ebbda406b401baaa.jpg","text":"TemporaryFile(/tmp/multipartBody1222700053832230209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663677224,"filename":"image_12012025_07_28_02_521798_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328356316","file1":"1328356302","file0":"1328356297","file4":"1328356320","file5":"1328356322","file3":"1328356318"},"map_files_photo_id_array":[{"photo_id":"1328356322","filename":"file5"},{"photo_id":"1328356316","filename":"file2"},{"photo_id":"1328356320","filename":"file4"},{"photo_id":"1328356302","filename":"file1"},{"photo_id":"1328356297","filename":"file0"},{"photo_id":"1328356318","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328356297":["hashtag1","hashtag2"]},{"1328356318":["hashtag1","hashtag2"]},{"1328356320":["hashtag1","hashtag2"]},{"1328356302":["hashtag1","hashtag2"]},{"1328356322":["hashtag1","hashtag2"]},{"1328356316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328356297, 1328356318, 1328356320, 1328356302, 1328356322, 1328356316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57732796669006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:34:22.743207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0000.jpg', '/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0001.jpg', '/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0002.jpg', '/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0003.jpg', '/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0000.jpg', '/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0000.jpg
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0001.jpg
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0002.jpg
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0003.jpg
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0000.jpg
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_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.407671689987183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:35:02.875156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0000.jpg', '/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0001.jpg', '/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0002.jpg', '/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0003.jpg', '/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0000.jpg', '/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0000.jpg
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0001.jpg
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0002.jpg
/home/pi/Desktop/images/12012025/07/30/image_12012025_07_30_02_607777_0003.jpg
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0000.jpg
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_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":["1328357299","1328357305","1328357292","1328357294","1328357297","1328357296"],"photo_ids_order":["1328357292","1328357294","1328357296","1328357297","1328357299","1328357305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d89f9587ba26775fe411758d34026e56.jpg","text":"TemporaryFile(/tmp/multipartBody3658459859263540038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663777742,"filename":"image_12012025_07_31_02_163896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d682fabdcbdf60e497ce48f0d7e3e1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4784673520935629606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663777742,"filename":"image_12012025_07_31_02_163896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04b2d1ea0fdd1cd9ed4ebb0a1012121f.jpg","text":"TemporaryFile(/tmp/multipartBody5297498445743783353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663777742,"filename":"image_12012025_07_30_02_607777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97b48135218b90d81159c1e842a05cae.jpg","text":"TemporaryFile(/tmp/multipartBody7397405461157184321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663777742,"filename":"image_12012025_07_30_02_607777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9698ffffa9380a65c8b9d41fe0c9e183.jpg","text":"TemporaryFile(/tmp/multipartBody7648522791255093294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663777742,"filename":"image_12012025_07_30_02_607777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca7281da39435a5191267facf2f26d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1359709278261343847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663777742,"filename":"image_12012025_07_30_02_607777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328357296","file1":"1328357294","file0":"1328357292","file4":"1328357299","file5":"1328357305","file3":"1328357297"},"map_files_photo_id_array":[{"photo_id":"1328357305","filename":"file5"},{"photo_id":"1328357296","filename":"file2"},{"photo_id":"1328357299","filename":"file4"},{"photo_id":"1328357294","filename":"file1"},{"photo_id":"1328357292","filename":"file0"},{"photo_id":"1328357297","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328357299":["hashtag1","hashtag2"]},{"1328357305":["hashtag1","hashtag2"]},{"1328357292":["hashtag1","hashtag2"]},{"1328357294":["hashtag1","hashtag2"]},{"1328357297":["hashtag1","hashtag2"]},{"1328357296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328357299, 1328357305, 1328357292, 1328357294, 1328357297, 1328357296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.80528235435486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:36:22.155227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0002.jpg', '/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0003.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0000.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0001.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0002.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0002.jpg
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0003.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0000.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0001.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0002.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_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.444103240966797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:37:03.166877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0002.jpg', '/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0003.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0000.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0001.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0002.jpg', '/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0002.jpg
/home/pi/Desktop/images/12012025/07/31/image_12012025_07_31_02_163896_0003.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0000.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0001.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_0002.jpg
/home/pi/Desktop/images/12012025/07/32/image_12012025_07_32_02_636922_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":["1328357788","1328357799","1328357790","1328357792","1328357794","1328357797"],"photo_ids_order":["1328357788","1328357790","1328357792","1328357794","1328357797","1328357799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a296034e59f6b11986f437a58ae73fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6308067728444293364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663898069,"filename":"image_12012025_07_31_02_163896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b55ecbd0cd3f63d8838a042dd26fea39.jpg","text":"TemporaryFile(/tmp/multipartBody5512014233563798114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663898069,"filename":"image_12012025_07_32_02_636922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/edf5762aa2947e6bf9500274ae502f81.jpg","text":"TemporaryFile(/tmp/multipartBody7009910811317901059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663898069,"filename":"image_12012025_07_31_02_163896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1e98b7b0302f3e03f11f4f08e2e8e22.jpg","text":"TemporaryFile(/tmp/multipartBody7055527440011221647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663898069,"filename":"image_12012025_07_32_02_636922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/889accc62e76f6aa6c88b08473d0e6df.jpg","text":"TemporaryFile(/tmp/multipartBody7288149024206910838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663898069,"filename":"image_12012025_07_32_02_636922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73ecdd6d4c7beff0b8efa331f78e51ea.jpg","text":"TemporaryFile(/tmp/multipartBody8901853869648141252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663898069,"filename":"image_12012025_07_32_02_636922_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328357792","file1":"1328357790","file0":"1328357788","file4":"1328357797","file5":"1328357799","file3":"1328357794"},"map_files_photo_id_array":[{"photo_id":"1328357799","filename":"file5"},{"photo_id":"1328357792","filename":"file2"},{"photo_id":"1328357797","filename":"file4"},{"photo_id":"1328357790","filename":"file1"},{"photo_id":"1328357788","filename":"file0"},{"photo_id":"1328357794","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328357788":["hashtag1","hashtag2"]},{"1328357799":["hashtag1","hashtag2"]},{"1328357790":["hashtag1","hashtag2"]},{"1328357792":["hashtag1","hashtag2"]},{"1328357794":["hashtag1","hashtag2"]},{"1328357797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328357788, 1328357799, 1328357790, 1328357792, 1328357794, 1328357797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.470863342285156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:38:22.243348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0000.jpg', '/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0001.jpg', '/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0002.jpg', '/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0003.jpg', '/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0000.jpg', '/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0000.jpg
/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0001.jpg
/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0002.jpg
/home/pi/Desktop/images/12012025/07/33/image_12012025_07_33_02_108850_0003.jpg
/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0000.jpg
/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328357812","1328357829","1328357814","1328357808","1328357816","1328357810"],"photo_ids_order":["1328357808","1328357810","1328357812","1328357814","1328357816","1328357829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf43898061cd638f4d81f29ba634517c.jpg","text":"TemporaryFile(/tmp/multipartBody7303125852608017955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663977185,"filename":"image_12012025_07_33_02_108850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f85688b072d4dd85c461fd73bc62f20.jpg","text":"TemporaryFile(/tmp/multipartBody3024703632997053362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663977185,"filename":"image_12012025_07_34_02_620285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d701454da216b1eb195646e3f067dab.jpg","text":"TemporaryFile(/tmp/multipartBody8122253498987718771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663977185,"filename":"image_12012025_07_33_02_108850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c97c3159faf960095bd7bf043be1e59b.jpg","text":"TemporaryFile(/tmp/multipartBody2153733320835565445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663977185,"filename":"image_12012025_07_33_02_108850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fdaa984000c7011ba7133b3888c3ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1273016389975828553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663977185,"filename":"image_12012025_07_34_02_620285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c57ebef0f379780ddd3e7524ab5d0626.jpg","text":"TemporaryFile(/tmp/multipartBody5784930428042032720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736663977185,"filename":"image_12012025_07_33_02_108850_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328357812","file1":"1328357810","file0":"1328357808","file4":"1328357816","file5":"1328357829","file3":"1328357814"},"map_files_photo_id_array":[{"photo_id":"1328357829","filename":"file5"},{"photo_id":"1328357812","filename":"file2"},{"photo_id":"1328357816","filename":"file4"},{"photo_id":"1328357810","filename":"file1"},{"photo_id":"1328357808","filename":"file0"},{"photo_id":"1328357814","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328357812":["hashtag1","hashtag2"]},{"1328357829":["hashtag1","hashtag2"]},{"1328357814":["hashtag1","hashtag2"]},{"1328357808":["hashtag1","hashtag2"]},{"1328357816":["hashtag1","hashtag2"]},{"1328357810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328357812, 1328357829, 1328357814, 1328357808, 1328357816, 1328357810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.61551594734192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:39:21.773703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0002.jpg', '/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0003.jpg', '/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0000.jpg', '/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0001.jpg', '/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0002.jpg', '/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0002.jpg
/home/pi/Desktop/images/12012025/07/34/image_12012025_07_34_02_620285_0003.jpg
/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0000.jpg
/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0001.jpg
/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0002.jpg
/home/pi/Desktop/images/12012025/07/35/image_12012025_07_35_03_111990_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328358517","1328358510","1328358513","1328358410","1328358506","1328358508"],"photo_ids_order":["1328358410","1328358506","1328358508","1328358510","1328358513","1328358517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8679e06382cc19f4f14787bb07bc8621.jpg","text":"TemporaryFile(/tmp/multipartBody2750060985521360073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664036839,"filename":"image_12012025_07_35_03_111990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9b214c16ae5e58bef154fd3661122fa.jpg","text":"TemporaryFile(/tmp/multipartBody3812069310322035097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664036839,"filename":"image_12012025_07_35_03_111990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19a7aa39d3ecc3766db7b7a0680f6a62.jpg","text":"TemporaryFile(/tmp/multipartBody2895750969952665561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664036839,"filename":"image_12012025_07_35_03_111990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d71d310a811a7a0b94eb62deac298575.jpg","text":"TemporaryFile(/tmp/multipartBody6368936307012173249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664036839,"filename":"image_12012025_07_34_02_620285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35d7f46a9720580ab839fff3c56d48a9.jpg","text":"TemporaryFile(/tmp/multipartBody3437491657294715577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664036839,"filename":"image_12012025_07_34_02_620285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45e20a62b7754299de0c2f30d2214528.jpg","text":"TemporaryFile(/tmp/multipartBody2371304625329554233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664036839,"filename":"image_12012025_07_35_03_111990_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328358508","file1":"1328358506","file0":"1328358410","file4":"1328358513","file5":"1328358517","file3":"1328358510"},"map_files_photo_id_array":[{"photo_id":"1328358517","filename":"file5"},{"photo_id":"1328358508","filename":"file2"},{"photo_id":"1328358513","filename":"file4"},{"photo_id":"1328358506","filename":"file1"},{"photo_id":"1328358410","filename":"file0"},{"photo_id":"1328358510","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328358517":["hashtag1","hashtag2"]},{"1328358510":["hashtag1","hashtag2"]},{"1328358513":["hashtag1","hashtag2"]},{"1328358410":["hashtag1","hashtag2"]},{"1328358506":["hashtag1","hashtag2"]},{"1328358508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328358517, 1328358510, 1328358513, 1328358410, 1328358506, 1328358508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1182427406311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:40:22.293731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0000.jpg', '/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0001.jpg', '/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0002.jpg', '/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0003.jpg', '/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0000.jpg', '/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0000.jpg
/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0001.jpg
/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0002.jpg
/home/pi/Desktop/images/12012025/07/36/image_12012025_07_36_02_669857_0003.jpg
/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0000.jpg
/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328358736","1328358732","1328358702","1328358734","1328358739","1328358730"],"photo_ids_order":["1328358702","1328358730","1328358732","1328358734","1328358736","1328358739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/815269908109506b389f87ff7ea5e97f.jpg","text":"TemporaryFile(/tmp/multipartBody5084234768054255025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664097341,"filename":"image_12012025_07_37_02_437355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecdcb66ce826089ca0eb26b87f622b84.jpg","text":"TemporaryFile(/tmp/multipartBody8169482706433816605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664097341,"filename":"image_12012025_07_36_02_669857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14576f5f8472dc291ea13d2e9130dbe1.jpg","text":"TemporaryFile(/tmp/multipartBody2521954237005485724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664097341,"filename":"image_12012025_07_36_02_669857_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0cd5d0619f8b452f73669cae22d4ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody2825561586062272808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664097341,"filename":"image_12012025_07_36_02_669857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e3c383c20096f0541ece9f3ac2060f5.jpg","text":"TemporaryFile(/tmp/multipartBody6807891027070149223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664097341,"filename":"image_12012025_07_37_02_437355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c51ac6f2a83e8e904d067117a3133600.jpg","text":"TemporaryFile(/tmp/multipartBody810780642775125537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664097341,"filename":"image_12012025_07_36_02_669857_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328358732","file1":"1328358730","file0":"1328358702","file4":"1328358736","file5":"1328358739","file3":"1328358734"},"map_files_photo_id_array":[{"photo_id":"1328358739","filename":"file5"},{"photo_id":"1328358732","filename":"file2"},{"photo_id":"1328358736","filename":"file4"},{"photo_id":"1328358730","filename":"file1"},{"photo_id":"1328358702","filename":"file0"},{"photo_id":"1328358734","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328358736":["hashtag1","hashtag2"]},{"1328358732":["hashtag1","hashtag2"]},{"1328358702":["hashtag1","hashtag2"]},{"1328358734":["hashtag1","hashtag2"]},{"1328358739":["hashtag1","hashtag2"]},{"1328358730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328358736, 1328358732, 1328358702, 1328358734, 1328358739, 1328358730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39419436454773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:41:21.846530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0002.jpg', '/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0003.jpg', '/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0000.jpg', '/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0001.jpg', '/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0002.jpg', '/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0002.jpg
/home/pi/Desktop/images/12012025/07/37/image_12012025_07_37_02_437355_0003.jpg
/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0000.jpg
/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0001.jpg
/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0002.jpg
/home/pi/Desktop/images/12012025/07/38/image_12012025_07_38_02_996602_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328358945","1328358942","1328358939","1328358941","1328358940","1328358943"],"photo_ids_order":["1328358939","1328358940","1328358941","1328358942","1328358943","1328358945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5926b74466bb2a944950ca1cebb76f90.jpg","text":"TemporaryFile(/tmp/multipartBody1353501044334945068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664156692,"filename":"image_12012025_07_38_02_996602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5426fc056a41c13b2d17498f5fd24cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1270720807094788360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664156692,"filename":"image_12012025_07_38_02_996602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb3888c5b86da8c72812af55b5992f49.jpg","text":"TemporaryFile(/tmp/multipartBody1211274090070440374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664156692,"filename":"image_12012025_07_37_02_437355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7deceb54581491fb5d8bc14f3331e4a.jpg","text":"TemporaryFile(/tmp/multipartBody17638514196144052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664156692,"filename":"image_12012025_07_38_02_996602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5efd2d28638d46e8fd7ad43d9b77160.jpg","text":"TemporaryFile(/tmp/multipartBody368036290432433034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664156692,"filename":"image_12012025_07_37_02_437355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39ddb1839d31c14fb9b445dfa9629e02.jpg","text":"TemporaryFile(/tmp/multipartBody8180351388851593272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664156692,"filename":"image_12012025_07_38_02_996602_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328358941","file1":"1328358940","file0":"1328358939","file4":"1328358943","file5":"1328358945","file3":"1328358942"},"map_files_photo_id_array":[{"photo_id":"1328358945","filename":"file5"},{"photo_id":"1328358941","filename":"file2"},{"photo_id":"1328358943","filename":"file4"},{"photo_id":"1328358940","filename":"file1"},{"photo_id":"1328358939","filename":"file0"},{"photo_id":"1328358942","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328358945":["hashtag1","hashtag2"]},{"1328358942":["hashtag1","hashtag2"]},{"1328358939":["hashtag1","hashtag2"]},{"1328358941":["hashtag1","hashtag2"]},{"1328358940":["hashtag1","hashtag2"]},{"1328358943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328358945, 1328358942, 1328358939, 1328358941, 1328358940, 1328358943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.78398418426514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:42:22.327643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0000.jpg', '/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0001.jpg', '/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0002.jpg', '/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0003.jpg', '/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0000.jpg', '/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0000.jpg
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0001.jpg
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0002.jpg
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0003.jpg
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0000.jpg
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_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.283584117889404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:43:02.484230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0000.jpg', '/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0001.jpg', '/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0002.jpg', '/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0003.jpg', '/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0000.jpg', '/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0000.jpg
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0001.jpg
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0002.jpg
/home/pi/Desktop/images/12012025/07/39/image_12012025_07_39_02_654622_0003.jpg
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0000.jpg
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328358990","1328358986","1328358980","1328358983","1328358991","1328358988"],"photo_ids_order":["1328358980","1328358983","1328358986","1328358988","1328358990","1328358991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20518b56a0bfef7304643372a89346e2.jpg","text":"TemporaryFile(/tmp/multipartBody3365078017135159902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664257281,"filename":"image_12012025_07_40_02_156361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dccdcb8a88351fa6774b323e7dc58525.jpg","text":"TemporaryFile(/tmp/multipartBody8841206356421662256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664257281,"filename":"image_12012025_07_39_02_654622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/091f17847a0e09c05093a90fa2fee3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8501714790624905191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664257281,"filename":"image_12012025_07_39_02_654622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e24231e4a09f2ee2aa7604cea889e051.jpg","text":"TemporaryFile(/tmp/multipartBody7054540167766752434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664257281,"filename":"image_12012025_07_39_02_654622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96e865cdeee8a2c6a70a21fa8bf00c36.jpg","text":"TemporaryFile(/tmp/multipartBody990686084305983154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664257281,"filename":"image_12012025_07_40_02_156361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88a76b2519f9da11396f8cfed588e21f.jpg","text":"TemporaryFile(/tmp/multipartBody4586437790904450183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664257281,"filename":"image_12012025_07_39_02_654622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328358986","file1":"1328358983","file0":"1328358980","file4":"1328358990","file5":"1328358991","file3":"1328358988"},"map_files_photo_id_array":[{"photo_id":"1328358991","filename":"file5"},{"photo_id":"1328358986","filename":"file2"},{"photo_id":"1328358990","filename":"file4"},{"photo_id":"1328358983","filename":"file1"},{"photo_id":"1328358980","filename":"file0"},{"photo_id":"1328358988","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328358990":["hashtag1","hashtag2"]},{"1328358986":["hashtag1","hashtag2"]},{"1328358980":["hashtag1","hashtag2"]},{"1328358983":["hashtag1","hashtag2"]},{"1328358991":["hashtag1","hashtag2"]},{"1328358988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328358990, 1328358986, 1328358980, 1328358983, 1328358991, 1328358988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35474991798401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:44:02.948657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0002.jpg', '/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0003.jpg', '/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0000.jpg', '/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0002.jpg', '/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0003.jpg', '/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0002.jpg
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0003.jpg
/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0000.jpg
/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0002.jpg
/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0003.jpg
/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_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.411005735397339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:44:22.545086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0002.jpg', '/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0003.jpg', '/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0000.jpg', '/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0002.jpg', '/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0003.jpg', '/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0002.jpg
/home/pi/Desktop/images/12012025/07/40/image_12012025_07_40_02_156361_0003.jpg
/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0000.jpg
/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0002.jpg
/home/pi/Desktop/images/12012025/07/41/image_12012025_07_41_02_648109_0003.jpg
/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328359478","1328359250","1328359010","1328359127","1328359366","1328359012"],"photo_ids_order":["1328359010","1328359012","1328359127","1328359250","1328359366","1328359478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7dcb9fa8e6731ae6945992b189dd9711.jpg","text":"TemporaryFile(/tmp/multipartBody6241100646226379344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664337315,"filename":"image_12012025_07_42_02_177911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb0943fbf4cf6d53d9ac8ff975e3a33e.jpg","text":"TemporaryFile(/tmp/multipartBody5235790083923129993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664337315,"filename":"image_12012025_07_41_02_648109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1e27cf69a0a87a7aadf2453a3430402.jpg","text":"TemporaryFile(/tmp/multipartBody6233690938660151441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664337315,"filename":"image_12012025_07_40_02_156361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b844ae822deb47068467d35a2259c12f.jpg","text":"TemporaryFile(/tmp/multipartBody4161192364896929243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664337315,"filename":"image_12012025_07_41_02_648109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a1192f700b4471ae02b59d261c6f8c74.jpg","text":"TemporaryFile(/tmp/multipartBody3376955239213551564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664337315,"filename":"image_12012025_07_41_02_648109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/240d550c5039b5e61bffd14399e8b87e.jpg","text":"TemporaryFile(/tmp/multipartBody9162919946957710525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664337315,"filename":"image_12012025_07_40_02_156361_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328359127","file1":"1328359012","file0":"1328359010","file4":"1328359366","file5":"1328359478","file3":"1328359250"},"map_files_photo_id_array":[{"photo_id":"1328359478","filename":"file5"},{"photo_id":"1328359127","filename":"file2"},{"photo_id":"1328359366","filename":"file4"},{"photo_id":"1328359012","filename":"file1"},{"photo_id":"1328359010","filename":"file0"},{"photo_id":"1328359250","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328359478":["hashtag1","hashtag2"]},{"1328359250":["hashtag1","hashtag2"]},{"1328359010":["hashtag1","hashtag2"]},{"1328359127":["hashtag1","hashtag2"]},{"1328359366":["hashtag1","hashtag2"]},{"1328359012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328359478, 1328359250, 1328359010, 1328359127, 1328359366, 1328359012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.320515871047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:45:22.022267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0001.jpg', '/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0002.jpg', '/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0003.jpg', '/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0000.jpg', '/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0001.jpg', '/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0001.jpg
/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0002.jpg
/home/pi/Desktop/images/12012025/07/42/image_12012025_07_42_02_177911_0003.jpg
/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0000.jpg
/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0001.jpg
/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_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":["1328359851","1328359854","1328359853","1328359835","1328359852","1328359857"],"photo_ids_order":["1328359835","1328359851","1328359852","1328359853","1328359854","1328359857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be0845b5ccfd6b371c73b05825ce5ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5963146857038917823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664397145,"filename":"image_12012025_07_42_02_177911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0cad4774f287dd5e6a868bb2c0625580.jpg","text":"TemporaryFile(/tmp/multipartBody7549347054425074586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664397145,"filename":"image_12012025_07_43_02_713360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a513702187a2e13fddbe19039778709.jpg","text":"TemporaryFile(/tmp/multipartBody3642516252347853642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664397145,"filename":"image_12012025_07_43_02_713360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b94079a4aa625da17d35da3f52e07f9.jpg","text":"TemporaryFile(/tmp/multipartBody8500217168158271297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664397145,"filename":"image_12012025_07_42_02_177911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28d332843a6e176f03a639cbf50d1788.jpg","text":"TemporaryFile(/tmp/multipartBody8955330649704456919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664397145,"filename":"image_12012025_07_42_02_177911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da3d22fdf15404a0c67b7f4ef3a53e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1020598219630176641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664397145,"filename":"image_12012025_07_43_02_713360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328359852","file1":"1328359851","file0":"1328359835","file4":"1328359854","file5":"1328359857","file3":"1328359853"},"map_files_photo_id_array":[{"photo_id":"1328359857","filename":"file5"},{"photo_id":"1328359852","filename":"file2"},{"photo_id":"1328359854","filename":"file4"},{"photo_id":"1328359851","filename":"file1"},{"photo_id":"1328359835","filename":"file0"},{"photo_id":"1328359853","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328359851":["hashtag1","hashtag2"]},{"1328359854":["hashtag1","hashtag2"]},{"1328359853":["hashtag1","hashtag2"]},{"1328359835":["hashtag1","hashtag2"]},{"1328359852":["hashtag1","hashtag2"]},{"1328359857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328359851, 1328359854, 1328359853, 1328359835, 1328359852, 1328359857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.79408621788025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:47:02.575064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0003.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0000.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0001.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0002.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0003.jpg', '/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0003.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0000.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0001.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0002.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0003.jpg
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_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.57421350479126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:47:21.998093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0003.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0000.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0001.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0002.jpg', '/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0003.jpg', '/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/43/image_12012025_07_43_02_713360_0003.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0000.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0001.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0002.jpg
/home/pi/Desktop/images/12012025/07/44/image_12012025_07_44_02_267159_0003.jpg
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328360961","1328360960","1328360954","1328360957","1328360962","1328360959"],"photo_ids_order":["1328360954","1328360957","1328360959","1328360960","1328360961","1328360962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27071d398972a558860476318e17bb26.jpg","text":"TemporaryFile(/tmp/multipartBody8429346936675683734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664516903,"filename":"image_12012025_07_44_02_267159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc72838bca12e56f8ad21f9bcfb20b6c.jpg","text":"TemporaryFile(/tmp/multipartBody3853928507401507636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664516903,"filename":"image_12012025_07_44_02_267159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f68814d028a36122eb7cd09456428881.jpg","text":"TemporaryFile(/tmp/multipartBody8183553176792069921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664516903,"filename":"image_12012025_07_43_02_713360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbe40e276db7eafd91ee0ba0834ead65.jpg","text":"TemporaryFile(/tmp/multipartBody7575258320472229340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664516903,"filename":"image_12012025_07_44_02_267159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f34610730e864336d4f61c91b680c264.jpg","text":"TemporaryFile(/tmp/multipartBody3135802643233274498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664516903,"filename":"image_12012025_07_45_02_912647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9c6a84520b9e19f311c9a19bc185cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6944663676862249157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664516903,"filename":"image_12012025_07_44_02_267159_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328360959","file1":"1328360957","file0":"1328360954","file4":"1328360961","file5":"1328360962","file3":"1328360960"},"map_files_photo_id_array":[{"photo_id":"1328360962","filename":"file5"},{"photo_id":"1328360959","filename":"file2"},{"photo_id":"1328360961","filename":"file4"},{"photo_id":"1328360957","filename":"file1"},{"photo_id":"1328360954","filename":"file0"},{"photo_id":"1328360960","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328360961":["hashtag1","hashtag2"]},{"1328360960":["hashtag1","hashtag2"]},{"1328360954":["hashtag1","hashtag2"]},{"1328360957":["hashtag1","hashtag2"]},{"1328360962":["hashtag1","hashtag2"]},{"1328360959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328360961, 1328360960, 1328360954, 1328360957, 1328360962, 1328360959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.047444581985474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:48:22.602540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0001.jpg', '/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0002.jpg', '/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0003.jpg', '/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0000.jpg', '/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0001.jpg', '/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0001.jpg
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0002.jpg
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0003.jpg
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0000.jpg
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0001.jpg
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.530379295349121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:49:02.662864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0001.jpg', '/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0002.jpg', '/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0003.jpg', '/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0000.jpg', '/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0001.jpg', '/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0001.jpg
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0002.jpg
/home/pi/Desktop/images/12012025/07/45/image_12012025_07_45_02_912647_0003.jpg
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0000.jpg
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0001.jpg
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_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":["1328361717","1328361620","1328361614","1328361716","1328361616","1328361687"],"photo_ids_order":["1328361614","1328361616","1328361620","1328361687","1328361716","1328361717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b97088490342f662d4708abef2b938cb.jpg","text":"TemporaryFile(/tmp/multipartBody5642302665935484258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664617677,"filename":"image_12012025_07_46_02_435394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7a6b8339326f8e0431f3b59e8bc86bd.jpg","text":"TemporaryFile(/tmp/multipartBody4563544204367184117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664617677,"filename":"image_12012025_07_45_02_912647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38d61e69087df97315274d690e4d146e.jpg","text":"TemporaryFile(/tmp/multipartBody1021782554865195749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664617677,"filename":"image_12012025_07_45_02_912647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e244e0d0193b200679f98efbbe833647.jpg","text":"TemporaryFile(/tmp/multipartBody7535227120510904785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664617677,"filename":"image_12012025_07_46_02_435394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ca57ad7182133dd49db8e5572e5c8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4221880376946281927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664617677,"filename":"image_12012025_07_45_02_912647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce7d85ee85299ce694e2caff8d02fa7a.jpg","text":"TemporaryFile(/tmp/multipartBody4337380301712544379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664617677,"filename":"image_12012025_07_46_02_435394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328361620","file1":"1328361616","file0":"1328361614","file4":"1328361716","file5":"1328361717","file3":"1328361687"},"map_files_photo_id_array":[{"photo_id":"1328361717","filename":"file5"},{"photo_id":"1328361620","filename":"file2"},{"photo_id":"1328361716","filename":"file4"},{"photo_id":"1328361616","filename":"file1"},{"photo_id":"1328361614","filename":"file0"},{"photo_id":"1328361687","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328361717":["hashtag1","hashtag2"]},{"1328361620":["hashtag1","hashtag2"]},{"1328361614":["hashtag1","hashtag2"]},{"1328361716":["hashtag1","hashtag2"]},{"1328361616":["hashtag1","hashtag2"]},{"1328361687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328361717, 1328361620, 1328361614, 1328361716, 1328361616, 1328361687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.924906730651855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:50:22.647741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0003.jpg', '/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0000.jpg', '/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0001.jpg', '/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0002.jpg', '/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0000.jpg', '/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0003.jpg
/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0000.jpg
/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0001.jpg
/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0002.jpg
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0000.jpg
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_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.298797369003296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:51:02.774218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0003.jpg', '/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0000.jpg', '/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0001.jpg', '/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0002.jpg', '/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0000.jpg', '/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/46/image_12012025_07_46_02_435394_0003.jpg
/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0000.jpg
/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0001.jpg
/home/pi/Desktop/images/12012025/07/47/image_12012025_07_47_02_911739_0002.jpg
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0000.jpg
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_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":["1328361741","1328361735","1328361744","1328361738","1328361767","1328361755"],"photo_ids_order":["1328361735","1328361738","1328361741","1328361744","1328361755","1328361767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35a086a4c827020753eb4419a2a9f331.jpg","text":"TemporaryFile(/tmp/multipartBody4484958410093683536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664737534,"filename":"image_12012025_07_47_02_911739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47146abb1e026a117b8e1b98830aaf7e.jpg","text":"TemporaryFile(/tmp/multipartBody4299806846767195050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664737534,"filename":"image_12012025_07_46_02_435394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b3ae61a31f5f6413cdeb0ff955620cf.jpg","text":"TemporaryFile(/tmp/multipartBody9136799799898226744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664737534,"filename":"image_12012025_07_47_02_911739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0789cdd3681bbc0afd9369efc25d9c15.jpg","text":"TemporaryFile(/tmp/multipartBody7956135135422956056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664737534,"filename":"image_12012025_07_47_02_911739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f3e0b2facbceaff1fd5d3f7911ff180.jpg","text":"TemporaryFile(/tmp/multipartBody6375921255861743961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664737534,"filename":"image_12012025_07_48_02_427584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7fb69394767706220a3a81278d5dd0f6.jpg","text":"TemporaryFile(/tmp/multipartBody4560769415930613983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664737534,"filename":"image_12012025_07_48_02_427584_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328361741","file1":"1328361738","file0":"1328361735","file4":"1328361755","file5":"1328361767","file3":"1328361744"},"map_files_photo_id_array":[{"photo_id":"1328361767","filename":"file5"},{"photo_id":"1328361741","filename":"file2"},{"photo_id":"1328361755","filename":"file4"},{"photo_id":"1328361738","filename":"file1"},{"photo_id":"1328361735","filename":"file0"},{"photo_id":"1328361744","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328361741":["hashtag1","hashtag2"]},{"1328361735":["hashtag1","hashtag2"]},{"1328361744":["hashtag1","hashtag2"]},{"1328361738":["hashtag1","hashtag2"]},{"1328361767":["hashtag1","hashtag2"]},{"1328361755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328361741, 1328361735, 1328361744, 1328361738, 1328361767, 1328361755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.7840096950531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:52:21.873659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0002.jpg', '/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0003.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0000.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0001.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0002.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0002.jpg
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0003.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0000.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0001.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0002.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_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.479676246643066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:53:03.093554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0002.jpg', '/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0003.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0000.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0001.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0002.jpg', '/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0002.jpg
/home/pi/Desktop/images/12012025/07/48/image_12012025_07_48_02_427584_0003.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0000.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0001.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0002.jpg
/home/pi/Desktop/images/12012025/07/49/image_12012025_07_49_02_997977_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328361791","1328361785","1328361793","1328361787","1328361792","1328361789"],"photo_ids_order":["1328361785","1328361787","1328361789","1328361791","1328361792","1328361793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e50bb9bb03814f9b62d7e3f0a1c3e013.jpg","text":"TemporaryFile(/tmp/multipartBody279350327078932046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664858054,"filename":"image_12012025_07_49_02_997977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cba5fa284de506b7536d7575639ef064.jpg","text":"TemporaryFile(/tmp/multipartBody7800088863535952089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664858054,"filename":"image_12012025_07_48_02_427584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe3dc5e2c09bdab9879650e7d376f16b.jpg","text":"TemporaryFile(/tmp/multipartBody5736341060649877252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664858054,"filename":"image_12012025_07_49_02_997977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/110c7718d2fd27ec8b5031c04a0b07db.jpg","text":"TemporaryFile(/tmp/multipartBody1180181795987313004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664858054,"filename":"image_12012025_07_48_02_427584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63e45b1213db449c19f33402455d210f.jpg","text":"TemporaryFile(/tmp/multipartBody2202397868844612331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664858054,"filename":"image_12012025_07_49_02_997977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3baa6e0be9161c6cf9b850dd157281c4.jpg","text":"TemporaryFile(/tmp/multipartBody3244335097463446479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664858054,"filename":"image_12012025_07_49_02_997977_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328361789","file1":"1328361787","file0":"1328361785","file4":"1328361792","file5":"1328361793","file3":"1328361791"},"map_files_photo_id_array":[{"photo_id":"1328361793","filename":"file5"},{"photo_id":"1328361789","filename":"file2"},{"photo_id":"1328361792","filename":"file4"},{"photo_id":"1328361787","filename":"file1"},{"photo_id":"1328361785","filename":"file0"},{"photo_id":"1328361791","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328361791":["hashtag1","hashtag2"]},{"1328361785":["hashtag1","hashtag2"]},{"1328361793":["hashtag1","hashtag2"]},{"1328361787":["hashtag1","hashtag2"]},{"1328361792":["hashtag1","hashtag2"]},{"1328361789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328361791, 1328361785, 1328361793, 1328361787, 1328361792, 1328361789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81845188140869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:54:02.474195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0000.jpg', '/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0001.jpg', '/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0002.jpg', '/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0003.jpg', '/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0000.jpg', '/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0000.jpg
/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0001.jpg
/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0002.jpg
/home/pi/Desktop/images/12012025/07/50/image_12012025_07_50_02_494471_0003.jpg
/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0000.jpg
/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328361825","1328361797","1328361827","1328361800","1328361824","1328361805"],"photo_ids_order":["1328361797","1328361800","1328361805","1328361824","1328361825","1328361827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b60276f3f66918a2d597116f5c59c684.jpg","text":"TemporaryFile(/tmp/multipartBody881894668195348708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664917411,"filename":"image_12012025_07_51_03_092609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b26ab62a6f875bfb5d59f8fe44ca043.jpg","text":"TemporaryFile(/tmp/multipartBody3413652038467365124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664917411,"filename":"image_12012025_07_50_02_494471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c40526e2e13ef7c56d777a25205caf0.jpg","text":"TemporaryFile(/tmp/multipartBody5714386837123727509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664917411,"filename":"image_12012025_07_51_03_092609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14fb17536e6201364387901b95d5ffa3.jpg","text":"TemporaryFile(/tmp/multipartBody2648962567969662820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664917411,"filename":"image_12012025_07_50_02_494471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5731433a75825927b9448b63253e18f1.jpg","text":"TemporaryFile(/tmp/multipartBody355581352571965866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664917411,"filename":"image_12012025_07_50_02_494471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c8b7e8e9d964cee9be49358447a5c08.jpg","text":"TemporaryFile(/tmp/multipartBody7405237868006835770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664917411,"filename":"image_12012025_07_50_02_494471_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328361805","file1":"1328361800","file0":"1328361797","file4":"1328361825","file5":"1328361827","file3":"1328361824"},"map_files_photo_id_array":[{"photo_id":"1328361827","filename":"file5"},{"photo_id":"1328361805","filename":"file2"},{"photo_id":"1328361825","filename":"file4"},{"photo_id":"1328361800","filename":"file1"},{"photo_id":"1328361797","filename":"file0"},{"photo_id":"1328361824","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328361825":["hashtag1","hashtag2"]},{"1328361797":["hashtag1","hashtag2"]},{"1328361827":["hashtag1","hashtag2"]},{"1328361800":["hashtag1","hashtag2"]},{"1328361824":["hashtag1","hashtag2"]},{"1328361805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328361825, 1328361797, 1328361827, 1328361800, 1328361824, 1328361805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.68123435974121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:55:03.336046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0002.jpg', '/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0003.jpg', '/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0000.jpg', '/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0001.jpg', '/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0002.jpg', '/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0002.jpg
/home/pi/Desktop/images/12012025/07/51/image_12012025_07_51_03_092609_0003.jpg
/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0000.jpg
/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0001.jpg
/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0002.jpg
/home/pi/Desktop/images/12012025/07/52/image_12012025_07_52_02_582601_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328361837","1328361839","1328361833","1328361841","1328361844","1328361835"],"photo_ids_order":["1328361833","1328361835","1328361837","1328361839","1328361841","1328361844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1781f1d512ec17fde349cd7233100b13.jpg","text":"TemporaryFile(/tmp/multipartBody7948418146003633152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664978459,"filename":"image_12012025_07_52_02_582601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b271c2ba91e749cd1e1629305bad77c0.jpg","text":"TemporaryFile(/tmp/multipartBody6845402368887903692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664978459,"filename":"image_12012025_07_52_02_582601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac4169982333296bb94e06ade3856cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8059121473209142872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664978459,"filename":"image_12012025_07_51_03_092609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bbdbe11165f067f256ce0d279c294e40.jpg","text":"TemporaryFile(/tmp/multipartBody6025417573633661586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664978459,"filename":"image_12012025_07_52_02_582601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c50a886facaf8601889440b96a4feca4.jpg","text":"TemporaryFile(/tmp/multipartBody7105142678844837733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664978459,"filename":"image_12012025_07_52_02_582601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6eee0a50582010cc0ac5b2313ffca097.jpg","text":"TemporaryFile(/tmp/multipartBody88587512941234650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736664978459,"filename":"image_12012025_07_51_03_092609_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328361837","file1":"1328361835","file0":"1328361833","file4":"1328361841","file5":"1328361844","file3":"1328361839"},"map_files_photo_id_array":[{"photo_id":"1328361844","filename":"file5"},{"photo_id":"1328361837","filename":"file2"},{"photo_id":"1328361841","filename":"file4"},{"photo_id":"1328361835","filename":"file1"},{"photo_id":"1328361833","filename":"file0"},{"photo_id":"1328361839","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328361837":["hashtag1","hashtag2"]},{"1328361839":["hashtag1","hashtag2"]},{"1328361833":["hashtag1","hashtag2"]},{"1328361841":["hashtag1","hashtag2"]},{"1328361844":["hashtag1","hashtag2"]},{"1328361835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328361837, 1328361839, 1328361833, 1328361841, 1328361844, 1328361835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38334107398987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:56:02.754173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0000.jpg', '/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0001.jpg', '/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0002.jpg', '/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0003.jpg', '/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0000.jpg', '/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0000.jpg
/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0001.jpg
/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0002.jpg
/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_02_282671_0003.jpg
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0000.jpg
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328361857","1328361854","1328361856","1328361859","1328361850","1328361852"],"photo_ids_order":["1328361850","1328361852","1328361854","1328361856","1328361857","1328361859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74752046e9df925b04a44511d29ab3af.jpg","text":"TemporaryFile(/tmp/multipartBody5624127014722040442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665037690,"filename":"image_12012025_07_54_02_927822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/927dea272a988d3c4d9dcf5ce138d680.jpg","text":"TemporaryFile(/tmp/multipartBody690311228508250058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665037690,"filename":"image_12012025_07_53_02_282671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c7ffb94c49e6830f781b69093ac74f4.jpg","text":"TemporaryFile(/tmp/multipartBody3085242201945468812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665037690,"filename":"image_12012025_07_53_02_282671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f37fd38c9e1fcf935fd62d7a51cc0d1.jpg","text":"TemporaryFile(/tmp/multipartBody5812981336822785805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665037690,"filename":"image_12012025_07_54_02_927822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6cb9fe0a90e66dbbcab9d9265094f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4902425375149186389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665037690,"filename":"image_12012025_07_53_02_282671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6411bebc58bd752d85b58f86216260ab.jpg","text":"TemporaryFile(/tmp/multipartBody7789103356513413217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665037690,"filename":"image_12012025_07_53_02_282671_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328361854","file1":"1328361852","file0":"1328361850","file4":"1328361857","file5":"1328361859","file3":"1328361856"},"map_files_photo_id_array":[{"photo_id":"1328361859","filename":"file5"},{"photo_id":"1328361854","filename":"file2"},{"photo_id":"1328361857","filename":"file4"},{"photo_id":"1328361852","filename":"file1"},{"photo_id":"1328361850","filename":"file0"},{"photo_id":"1328361856","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328361857":["hashtag1","hashtag2"]},{"1328361854":["hashtag1","hashtag2"]},{"1328361856":["hashtag1","hashtag2"]},{"1328361859":["hashtag1","hashtag2"]},{"1328361850":["hashtag1","hashtag2"]},{"1328361852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328361857, 1328361854, 1328361856, 1328361859, 1328361850, 1328361852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.64918565750122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 07:57:02.406777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0002.jpg', '/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0003.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0000.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0001.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0002.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0002.jpg
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0003.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0000.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0001.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0002.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_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.580435276031494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 07:57:21.832386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0002.jpg', '/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0003.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0000.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0001.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0002.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0002.jpg
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0003.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0000.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0001.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0002.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_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-12 07:59:03.416528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 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-12 07:59:22.722416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0002.jpg', '/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0003.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0000.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0001.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0002.jpg', '/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0002.jpg
/home/pi/Desktop/images/12012025/07/54/image_12012025_07_54_02_927822_0003.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0000.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0001.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_0002.jpg
/home/pi/Desktop/images/12012025/07/55/image_12012025_07_55_02_570828_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":["1328362005","1328362669","1328362735","1328361940","1328361934","1328362353"],"photo_ids_order":["1328361934","1328361940","1328362005","1328362353","1328362669","1328362735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a7c68f41e8170b698112ce3d4e7b225.jpg","text":"TemporaryFile(/tmp/multipartBody7388916566110244946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665237626,"filename":"image_12012025_07_55_02_570828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd967317c41ab86a14e75e5918ca58ff.jpg","text":"TemporaryFile(/tmp/multipartBody3318811551464918591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665237626,"filename":"image_12012025_07_55_02_570828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eedbbc1a16ee916be662a23a59e81589.jpg","text":"TemporaryFile(/tmp/multipartBody7163215467092399160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665237626,"filename":"image_12012025_07_55_02_570828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b8770793c7cd2133fe3a3386b0b0beb.jpg","text":"TemporaryFile(/tmp/multipartBody6013888126006564696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665237626,"filename":"image_12012025_07_54_02_927822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/657779fad8827a902e0ceefe778cc340.jpg","text":"TemporaryFile(/tmp/multipartBody3811140643050016342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665237626,"filename":"image_12012025_07_54_02_927822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4b88e40b116ce2b16a462428fc7adb9.jpg","text":"TemporaryFile(/tmp/multipartBody7415745751817677702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665237626,"filename":"image_12012025_07_55_02_570828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328362005","file1":"1328361940","file0":"1328361934","file4":"1328362669","file5":"1328362735","file3":"1328362353"},"map_files_photo_id_array":[{"photo_id":"1328362735","filename":"file5"},{"photo_id":"1328362005","filename":"file2"},{"photo_id":"1328362669","filename":"file4"},{"photo_id":"1328361940","filename":"file1"},{"photo_id":"1328361934","filename":"file0"},{"photo_id":"1328362353","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328362005":["hashtag1","hashtag2"]},{"1328362669":["hashtag1","hashtag2"]},{"1328362735":["hashtag1","hashtag2"]},{"1328361940":["hashtag1","hashtag2"]},{"1328361934":["hashtag1","hashtag2"]},{"1328362353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328362005, 1328362669, 1328362735, 1328361940, 1328361934, 1328362353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.91080117225647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:01:02.453356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/56/image_12012025_07_56_03_118601_0000.jpg', '/home/pi/Desktop/images/12012025/07/56/image_12012025_07_56_03_118601_0001.jpg', '/home/pi/Desktop/images/12012025/07/56/image_12012025_07_56_03_118601_0003.jpg', '/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0000.jpg', '/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0001.jpg', '/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/56/image_12012025_07_56_03_118601_0000.jpg
/home/pi/Desktop/images/12012025/07/56/image_12012025_07_56_03_118601_0001.jpg
/home/pi/Desktop/images/12012025/07/56/image_12012025_07_56_03_118601_0003.jpg
/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0000.jpg
/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0001.jpg
/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328363083","1328363091","1328363085","1328363088","1328363090","1328363093"],"photo_ids_order":["1328363083","1328363085","1328363088","1328363090","1328363091","1328363093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a493108b517b128603f0d48867d2a92a.jpg","text":"TemporaryFile(/tmp/multipartBody665129020079314522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665337457,"filename":"image_12012025_07_56_03_118601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5a0d9c52aefd7ff7cccf16b263bcb45.jpg","text":"TemporaryFile(/tmp/multipartBody6472680908500399513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665337457,"filename":"image_12012025_07_57_02_771652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9396290b7ddfddb2620a5ba57608d87e.jpg","text":"TemporaryFile(/tmp/multipartBody8384919825881210198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665337457,"filename":"image_12012025_07_56_03_118601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc821e64cc14baa5862b20fc75d54462.jpg","text":"TemporaryFile(/tmp/multipartBody2618016106042306793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665337457,"filename":"image_12012025_07_56_03_118601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b254713ba4302343ad41821cc8d0e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4177565958852929586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665337457,"filename":"image_12012025_07_57_02_771652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1fe35c0ebfb035258d7db6e959c77e34.jpg","text":"TemporaryFile(/tmp/multipartBody1859173269426197929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665337457,"filename":"image_12012025_07_57_02_771652_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328363088","file1":"1328363085","file0":"1328363083","file4":"1328363091","file5":"1328363093","file3":"1328363090"},"map_files_photo_id_array":[{"photo_id":"1328363093","filename":"file5"},{"photo_id":"1328363088","filename":"file2"},{"photo_id":"1328363091","filename":"file4"},{"photo_id":"1328363085","filename":"file1"},{"photo_id":"1328363083","filename":"file0"},{"photo_id":"1328363090","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328363083":["hashtag1","hashtag2"]},{"1328363091":["hashtag1","hashtag2"]},{"1328363085":["hashtag1","hashtag2"]},{"1328363088":["hashtag1","hashtag2"]},{"1328363090":["hashtag1","hashtag2"]},{"1328363093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328363083, 1328363091, 1328363085, 1328363088, 1328363090, 1328363093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.59909391403198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:02:02.913876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0003.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0000.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0001.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0002.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0003.jpg', '/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0003.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0000.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0001.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0002.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0003.jpg
/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_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.775076150894165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:02:22.600202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0003.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0000.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0001.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0002.jpg', '/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0003.jpg', '/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/57/image_12012025_07_57_02_771652_0003.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0000.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0001.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0002.jpg
/home/pi/Desktop/images/12012025/07/58/image_12012025_07_58_02_225808_0003.jpg
/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328363111","1328363113","1328363107","1328363104","1328363115","1328363109"],"photo_ids_order":["1328363104","1328363107","1328363109","1328363111","1328363113","1328363115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b83b33de03b26c527167b7f32be66139.jpg","text":"TemporaryFile(/tmp/multipartBody9029817098036520519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665417734,"filename":"image_12012025_07_58_02_225808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7fb6ebec17739f3d31a9d8ac2c14405a.jpg","text":"TemporaryFile(/tmp/multipartBody7635795853636684549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665417734,"filename":"image_12012025_07_58_02_225808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cab62a08cb25a37bb606c2cac42733e1.jpg","text":"TemporaryFile(/tmp/multipartBody7078776639079841420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665417734,"filename":"image_12012025_07_58_02_225808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c70dc2e0a2bdde4b94a0bd8f5c635a2.jpg","text":"TemporaryFile(/tmp/multipartBody6782815084777165067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665417734,"filename":"image_12012025_07_57_02_771652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3106874eeba87914270b1fa986fe5877.jpg","text":"TemporaryFile(/tmp/multipartBody7529538682398637125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665417734,"filename":"image_12012025_07_59_02_860198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80e0ae4667b0fb894512724a386e703c.jpg","text":"TemporaryFile(/tmp/multipartBody3872625939372413331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665417734,"filename":"image_12012025_07_58_02_225808_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328363109","file1":"1328363107","file0":"1328363104","file4":"1328363113","file5":"1328363115","file3":"1328363111"},"map_files_photo_id_array":[{"photo_id":"1328363115","filename":"file5"},{"photo_id":"1328363109","filename":"file2"},{"photo_id":"1328363113","filename":"file4"},{"photo_id":"1328363107","filename":"file1"},{"photo_id":"1328363104","filename":"file0"},{"photo_id":"1328363111","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328363111":["hashtag1","hashtag2"]},{"1328363113":["hashtag1","hashtag2"]},{"1328363107":["hashtag1","hashtag2"]},{"1328363104":["hashtag1","hashtag2"]},{"1328363115":["hashtag1","hashtag2"]},{"1328363109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328363111, 1328363113, 1328363107, 1328363104, 1328363115, 1328363109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.291826486587524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:03:22.088333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0001.jpg', '/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0002.jpg', '/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0003.jpg', '/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0000.jpg', '/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0001.jpg', '/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0001.jpg
/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0002.jpg
/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_02_860198_0003.jpg
/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0000.jpg
/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0001.jpg
/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328364496","1328364130","1328363200","1328363553","1328363121","1328363867"],"photo_ids_order":["1328363121","1328363200","1328363553","1328363867","1328364130","1328364496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/590e713d72768899dfa5393651c10407.jpg","text":"TemporaryFile(/tmp/multipartBody5125206669479151235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665476991,"filename":"image_12012025_08_00_03_026355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32cba425d1a2315177ff70241bc6a170.jpg","text":"TemporaryFile(/tmp/multipartBody1372894258931951694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665476991,"filename":"image_12012025_08_00_03_026355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6cbd1fde1fa4407d0a1b855d796f356f.jpg","text":"TemporaryFile(/tmp/multipartBody6174639982241798209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665476991,"filename":"image_12012025_07_59_02_860198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1729bae81cd4ddf23a3b158c96d151f3.jpg","text":"TemporaryFile(/tmp/multipartBody6462833033665042804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665476991,"filename":"image_12012025_07_59_02_860198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ebee0d7382df37393c88059e6ad48d4.jpg","text":"TemporaryFile(/tmp/multipartBody3598483064163303420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665476991,"filename":"image_12012025_07_59_02_860198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7994f70f98bbbc63e21ec94efa3cedc1.jpg","text":"TemporaryFile(/tmp/multipartBody1257811790053659942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665476991,"filename":"image_12012025_08_00_03_026355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328363553","file1":"1328363200","file0":"1328363121","file4":"1328364130","file5":"1328364496","file3":"1328363867"},"map_files_photo_id_array":[{"photo_id":"1328364496","filename":"file5"},{"photo_id":"1328363553","filename":"file2"},{"photo_id":"1328364130","filename":"file4"},{"photo_id":"1328363200","filename":"file1"},{"photo_id":"1328363121","filename":"file0"},{"photo_id":"1328363867","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328364496":["hashtag1","hashtag2"]},{"1328364130":["hashtag1","hashtag2"]},{"1328363200":["hashtag1","hashtag2"]},{"1328363553":["hashtag1","hashtag2"]},{"1328363121":["hashtag1","hashtag2"]},{"1328363867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328364496, 1328364130, 1328363200, 1328363553, 1328363121, 1328363867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.59417796134949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:04:22.634821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0003.jpg', '/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0000.jpg', '/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0001.jpg', '/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0002.jpg', '/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0003.jpg', '/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/00/image_12012025_08_00_03_026355_0003.jpg
/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0000.jpg
/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0001.jpg
/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0002.jpg
/home/pi/Desktop/images/12012025/08/01/image_12012025_08_01_02_672124_0003.jpg
/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328364895","1328364797","1328364830","1328364653","1328364854","1328364799"],"photo_ids_order":["1328364653","1328364797","1328364799","1328364830","1328364854","1328364895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83c0468f0d13681dd90f1ab31c19aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody7444574137075948182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665537683,"filename":"image_12012025_08_02_02_191869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e44187616d9c5f413dbd1f5a06ad50cd.jpg","text":"TemporaryFile(/tmp/multipartBody657773186149700601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665537683,"filename":"image_12012025_08_01_02_672124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a4581169be6f968b757e5522e502022.jpg","text":"TemporaryFile(/tmp/multipartBody14591282308645010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665537683,"filename":"image_12012025_08_01_02_672124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/019f58ffbe7ff4131024e67271c597cc.jpg","text":"TemporaryFile(/tmp/multipartBody3412046236942012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665537683,"filename":"image_12012025_08_00_03_026355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a9059d5ba0e7397c26a2a771b9b6f64.jpg","text":"TemporaryFile(/tmp/multipartBody1521047988493253503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665537683,"filename":"image_12012025_08_01_02_672124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62d1b96393865080335bb3bcf0f1188d.jpg","text":"TemporaryFile(/tmp/multipartBody1966131634594422469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665537683,"filename":"image_12012025_08_01_02_672124_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328364799","file1":"1328364797","file0":"1328364653","file4":"1328364854","file5":"1328364895","file3":"1328364830"},"map_files_photo_id_array":[{"photo_id":"1328364895","filename":"file5"},{"photo_id":"1328364799","filename":"file2"},{"photo_id":"1328364854","filename":"file4"},{"photo_id":"1328364797","filename":"file1"},{"photo_id":"1328364653","filename":"file0"},{"photo_id":"1328364830","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328364895":["hashtag1","hashtag2"]},{"1328364797":["hashtag1","hashtag2"]},{"1328364830":["hashtag1","hashtag2"]},{"1328364653":["hashtag1","hashtag2"]},{"1328364854":["hashtag1","hashtag2"]},{"1328364799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328364895, 1328364797, 1328364830, 1328364653, 1328364854, 1328364799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85000157356262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:05:22.119211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0001.jpg', '/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0002.jpg', '/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0003.jpg', '/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0000.jpg', '/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0001.jpg', '/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0001.jpg
/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0002.jpg
/home/pi/Desktop/images/12012025/08/02/image_12012025_08_02_02_191869_0003.jpg
/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0000.jpg
/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0001.jpg
/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328365453","1328365405","1328365560","1328365527","1328365562","1328365474"],"photo_ids_order":["1328365405","1328365453","1328365474","1328365527","1328365560","1328365562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98b4fa945b3e8f4ab1e6925f0044a0e0.jpg","text":"TemporaryFile(/tmp/multipartBody744178935894619501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665597106,"filename":"image_12012025_08_02_02_191869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4b630e0335a87172941f835675d26ef.jpg","text":"TemporaryFile(/tmp/multipartBody8283065956126890558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665597106,"filename":"image_12012025_08_02_02_191869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dab88a22b2a4a038d15e297252dffa0f.jpg","text":"TemporaryFile(/tmp/multipartBody2068377461743865445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665597106,"filename":"image_12012025_08_03_02_974246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/450b15e38f7df889039c915738b3f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody8463876490620844400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665597106,"filename":"image_12012025_08_03_02_974246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3caa831023bdb9d8302c154517cfcb06.jpg","text":"TemporaryFile(/tmp/multipartBody2932507390216802827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665597106,"filename":"image_12012025_08_03_02_974246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/334622b3a9ff7ee26522c72077c192a4.jpg","text":"TemporaryFile(/tmp/multipartBody8278179376746029941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665597106,"filename":"image_12012025_08_02_02_191869_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365474","file1":"1328365453","file0":"1328365405","file4":"1328365560","file5":"1328365562","file3":"1328365527"},"map_files_photo_id_array":[{"photo_id":"1328365562","filename":"file5"},{"photo_id":"1328365474","filename":"file2"},{"photo_id":"1328365560","filename":"file4"},{"photo_id":"1328365453","filename":"file1"},{"photo_id":"1328365405","filename":"file0"},{"photo_id":"1328365527","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365453":["hashtag1","hashtag2"]},{"1328365405":["hashtag1","hashtag2"]},{"1328365560":["hashtag1","hashtag2"]},{"1328365527":["hashtag1","hashtag2"]},{"1328365562":["hashtag1","hashtag2"]},{"1328365474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365453, 1328365405, 1328365560, 1328365527, 1328365562, 1328365474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.134926557540894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:06:22.639235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0003.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0000.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0001.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0002.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0003.jpg', '/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0003.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0000.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0001.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0002.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0003.jpg
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_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.517878770828247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:07:02.956110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0003.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0000.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0001.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0002.jpg', '/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0003.jpg', '/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/03/image_12012025_08_03_02_974246_0003.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0000.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0001.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0002.jpg
/home/pi/Desktop/images/12012025/08/04/image_12012025_08_04_02_513065_0003.jpg
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_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":["1328365603","1328365600","1328365605","1328365591","1328365594","1328365597"],"photo_ids_order":["1328365591","1328365594","1328365597","1328365600","1328365603","1328365605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed19f69ee7bcd164d8ed515c32f3e617.jpg","text":"TemporaryFile(/tmp/multipartBody2986881545006430667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665697926,"filename":"image_12012025_08_04_02_513065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecc9ea3568ff835f42c34b8eb3552f37.jpg","text":"TemporaryFile(/tmp/multipartBody7029286548475238754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665697926,"filename":"image_12012025_08_04_02_513065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/469333f96172b72912e8de2efb532208.jpg","text":"TemporaryFile(/tmp/multipartBody8987180747572965539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665697926,"filename":"image_12012025_08_05_03_017069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47bddc521ad01280d5985729a1ffadfa.jpg","text":"TemporaryFile(/tmp/multipartBody1616660888064259685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665697926,"filename":"image_12012025_08_03_02_974246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32e8a74194ecee0f19a22a269fb8b45e.jpg","text":"TemporaryFile(/tmp/multipartBody5493046725964157323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665697926,"filename":"image_12012025_08_04_02_513065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4cf711aec6f777c2c386a7b0ab7a7e5.jpg","text":"TemporaryFile(/tmp/multipartBody6558776028994894520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665697926,"filename":"image_12012025_08_04_02_513065_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365597","file1":"1328365594","file0":"1328365591","file4":"1328365603","file5":"1328365605","file3":"1328365600"},"map_files_photo_id_array":[{"photo_id":"1328365605","filename":"file5"},{"photo_id":"1328365597","filename":"file2"},{"photo_id":"1328365603","filename":"file4"},{"photo_id":"1328365594","filename":"file1"},{"photo_id":"1328365591","filename":"file0"},{"photo_id":"1328365600","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365603":["hashtag1","hashtag2"]},{"1328365600":["hashtag1","hashtag2"]},{"1328365605":["hashtag1","hashtag2"]},{"1328365591":["hashtag1","hashtag2"]},{"1328365594":["hashtag1","hashtag2"]},{"1328365597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365603, 1328365600, 1328365605, 1328365591, 1328365594, 1328365597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.86007857322693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:08:22.091476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0001.jpg', '/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0002.jpg', '/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0003.jpg', '/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0000.jpg', '/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0001.jpg', '/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0001.jpg
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0002.jpg
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0003.jpg
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0000.jpg
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0001.jpg
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.615337133407593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:09:03.083608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0001.jpg', '/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0002.jpg', '/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0003.jpg', '/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0000.jpg', '/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0001.jpg', '/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0001.jpg
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0002.jpg
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_03_017069_0003.jpg
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0000.jpg
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0001.jpg
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328365651","1328365653","1328365625","1328365649","1328365634","1328365628"],"photo_ids_order":["1328365625","1328365628","1328365634","1328365649","1328365651","1328365653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69e8b47b951db9937f6eedff27402015.jpg","text":"TemporaryFile(/tmp/multipartBody4034639860742783595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665818173,"filename":"image_12012025_08_06_02_498035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f54307135ea9dbf8081650d8959536a9.jpg","text":"TemporaryFile(/tmp/multipartBody2490061847409179203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665818173,"filename":"image_12012025_08_06_02_498035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8acf82ccb613ec2e1f687c273748a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody7955295386045951704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665818173,"filename":"image_12012025_08_05_03_017069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c8da5e2800141ba5627b7c5b59eefcd.jpg","text":"TemporaryFile(/tmp/multipartBody5321152346066055232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665818173,"filename":"image_12012025_08_06_02_498035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/568ece506f18453192ebdceeea6e5737.jpg","text":"TemporaryFile(/tmp/multipartBody2001697567220073855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665818173,"filename":"image_12012025_08_05_03_017069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9d605c95d2d55b679fbffec6c4c8d33.jpg","text":"TemporaryFile(/tmp/multipartBody747860716686840708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665818173,"filename":"image_12012025_08_05_03_017069_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365634","file1":"1328365628","file0":"1328365625","file4":"1328365651","file5":"1328365653","file3":"1328365649"},"map_files_photo_id_array":[{"photo_id":"1328365653","filename":"file5"},{"photo_id":"1328365634","filename":"file2"},{"photo_id":"1328365651","filename":"file4"},{"photo_id":"1328365628","filename":"file1"},{"photo_id":"1328365625","filename":"file0"},{"photo_id":"1328365649","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365651":["hashtag1","hashtag2"]},{"1328365653":["hashtag1","hashtag2"]},{"1328365625":["hashtag1","hashtag2"]},{"1328365649":["hashtag1","hashtag2"]},{"1328365634":["hashtag1","hashtag2"]},{"1328365628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365651, 1328365653, 1328365625, 1328365649, 1328365634, 1328365628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80290389060974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:10:02.626465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0003.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0000.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0001.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0002.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0003.jpg', '/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0003.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0000.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0001.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0002.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0003.jpg
/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_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.718163013458252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:10:22.162573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0003.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0000.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0001.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0002.jpg', '/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0003.jpg', '/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/06/image_12012025_08_06_02_498035_0003.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0000.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0001.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0002.jpg
/home/pi/Desktop/images/12012025/08/07/image_12012025_08_07_02_977019_0003.jpg
/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328365860","1328365862","1328365763","1328365838","1328365814","1328365765"],"photo_ids_order":["1328365763","1328365765","1328365814","1328365838","1328365860","1328365862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18de67bd3d6f7b3d4260757cb19323e9.jpg","text":"TemporaryFile(/tmp/multipartBody4321032384629850426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665897209,"filename":"image_12012025_08_07_02_977019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13dae2557973c3d5e1d158f7f05315a0.jpg","text":"TemporaryFile(/tmp/multipartBody1586922836452103440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665897209,"filename":"image_12012025_08_08_02_760120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbc2d96f0905ef0590b07d1f4441fb2e.jpg","text":"TemporaryFile(/tmp/multipartBody2074485623688308682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665897209,"filename":"image_12012025_08_06_02_498035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aadb37b4c5afb30d2772f39a37c2b61b.jpg","text":"TemporaryFile(/tmp/multipartBody442739614047627962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665897209,"filename":"image_12012025_08_07_02_977019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a74bdc0cbb560be2cb17ab3f7c66080b.jpg","text":"TemporaryFile(/tmp/multipartBody1397282571423947254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665897209,"filename":"image_12012025_08_07_02_977019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0cd8b272a305cd13489771a28348de44.jpg","text":"TemporaryFile(/tmp/multipartBody8099022082053980068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665897209,"filename":"image_12012025_08_07_02_977019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365814","file1":"1328365765","file0":"1328365763","file4":"1328365860","file5":"1328365862","file3":"1328365838"},"map_files_photo_id_array":[{"photo_id":"1328365862","filename":"file5"},{"photo_id":"1328365814","filename":"file2"},{"photo_id":"1328365860","filename":"file4"},{"photo_id":"1328365765","filename":"file1"},{"photo_id":"1328365763","filename":"file0"},{"photo_id":"1328365838","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365860":["hashtag1","hashtag2"]},{"1328365862":["hashtag1","hashtag2"]},{"1328365763":["hashtag1","hashtag2"]},{"1328365838":["hashtag1","hashtag2"]},{"1328365814":["hashtag1","hashtag2"]},{"1328365765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365860, 1328365862, 1328365763, 1328365838, 1328365814, 1328365765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.749691009521484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:11:22.645070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0001.jpg', '/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0002.jpg', '/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0003.jpg', '/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0000.jpg', '/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0001.jpg', '/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0001.jpg
/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0002.jpg
/home/pi/Desktop/images/12012025/08/08/image_12012025_08_08_02_760120_0003.jpg
/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0000.jpg
/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0001.jpg
/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328365878","1328365871","1328365880","1328365874","1328365882","1328365876"],"photo_ids_order":["1328365871","1328365874","1328365876","1328365878","1328365880","1328365882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5c38a420959e9fa27e25c224b941d50.jpg","text":"TemporaryFile(/tmp/multipartBody3081814255871034224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665957584,"filename":"image_12012025_08_09_02_388665_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ceb699c7b45b7fcffc1b35ed86d33fe.jpg","text":"TemporaryFile(/tmp/multipartBody1726367584537633939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665957584,"filename":"image_12012025_08_08_02_760120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e62c7bc1dfb739714dbaab058d90cf3a.jpg","text":"TemporaryFile(/tmp/multipartBody2515692665823756336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665957584,"filename":"image_12012025_08_09_02_388665_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c729f7ce6de47add034a06e1098359a1.jpg","text":"TemporaryFile(/tmp/multipartBody7806792151529566114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665957584,"filename":"image_12012025_08_08_02_760120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0da6dd7cb5e80354eafd7234685df384.jpg","text":"TemporaryFile(/tmp/multipartBody2659475319241868984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665957584,"filename":"image_12012025_08_09_02_388665_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02dc7bfb521393aab0672a30a5058c24.jpg","text":"TemporaryFile(/tmp/multipartBody5365428666961172842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736665957584,"filename":"image_12012025_08_08_02_760120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365876","file1":"1328365874","file0":"1328365871","file4":"1328365880","file5":"1328365882","file3":"1328365878"},"map_files_photo_id_array":[{"photo_id":"1328365882","filename":"file5"},{"photo_id":"1328365876","filename":"file2"},{"photo_id":"1328365880","filename":"file4"},{"photo_id":"1328365874","filename":"file1"},{"photo_id":"1328365871","filename":"file0"},{"photo_id":"1328365878","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365878":["hashtag1","hashtag2"]},{"1328365871":["hashtag1","hashtag2"]},{"1328365880":["hashtag1","hashtag2"]},{"1328365874":["hashtag1","hashtag2"]},{"1328365882":["hashtag1","hashtag2"]},{"1328365876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365878, 1328365871, 1328365880, 1328365874, 1328365882, 1328365876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.624900341033936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:12:22.134437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0003.jpg', '/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0000.jpg', '/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0001.jpg', '/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0002.jpg', '/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0003.jpg', '/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/09/image_12012025_08_09_02_388665_0003.jpg
/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0000.jpg
/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0001.jpg
/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0002.jpg
/home/pi/Desktop/images/12012025/08/10/image_12012025_08_10_02_979934_0003.jpg
/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328365926","1328365902","1328365928","1328365916","1328365931","1328365913"],"photo_ids_order":["1328365902","1328365913","1328365916","1328365926","1328365928","1328365931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f61c1f8d1f54e91eaafc096713db372.jpg","text":"TemporaryFile(/tmp/multipartBody3833899597379577101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666017001,"filename":"image_12012025_08_10_02_979934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/526901d8b003d3b4531597e4f6806670.jpg","text":"TemporaryFile(/tmp/multipartBody6911428139766959231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666017001,"filename":"image_12012025_08_09_02_388665_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b35843b0ed9451b376e02814e2830440.jpg","text":"TemporaryFile(/tmp/multipartBody4114573622317195903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666017001,"filename":"image_12012025_08_10_02_979934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9051f87bd6a953db2bdc127cc7a8df6d.jpg","text":"TemporaryFile(/tmp/multipartBody3876718188514783440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666017001,"filename":"image_12012025_08_10_02_979934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c768e8f6ef971da0b76f0205140328ae.jpg","text":"TemporaryFile(/tmp/multipartBody7053201705483151636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666017001,"filename":"image_12012025_08_11_02_491199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2da93455b93caa367a970b4ba2c39a69.jpg","text":"TemporaryFile(/tmp/multipartBody912753541053408716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666017001,"filename":"image_12012025_08_10_02_979934_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365916","file1":"1328365913","file0":"1328365902","file4":"1328365928","file5":"1328365931","file3":"1328365926"},"map_files_photo_id_array":[{"photo_id":"1328365931","filename":"file5"},{"photo_id":"1328365916","filename":"file2"},{"photo_id":"1328365928","filename":"file4"},{"photo_id":"1328365913","filename":"file1"},{"photo_id":"1328365902","filename":"file0"},{"photo_id":"1328365926","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365926":["hashtag1","hashtag2"]},{"1328365902":["hashtag1","hashtag2"]},{"1328365928":["hashtag1","hashtag2"]},{"1328365916":["hashtag1","hashtag2"]},{"1328365931":["hashtag1","hashtag2"]},{"1328365913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365926, 1328365902, 1328365928, 1328365916, 1328365931, 1328365913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34586954116821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:13:22.671121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0001.jpg', '/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0002.jpg', '/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0003.jpg', '/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0000.jpg', '/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0001.jpg', '/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0001.jpg
/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0002.jpg
/home/pi/Desktop/images/12012025/08/11/image_12012025_08_11_02_491199_0003.jpg
/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0000.jpg
/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0001.jpg
/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_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":["1328365948","1328365942","1328365941","1328365940","1328365943","1328365945"],"photo_ids_order":["1328365940","1328365941","1328365942","1328365943","1328365945","1328365948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f8ad6e74ad7c1ff0c8cc8b3e9db1d20.jpg","text":"TemporaryFile(/tmp/multipartBody5494918762746338769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666077609,"filename":"image_12012025_08_12_02_999399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95a500647c4bd140d077699a98caf74c.jpg","text":"TemporaryFile(/tmp/multipartBody8865667014602442806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666077609,"filename":"image_12012025_08_11_02_491199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a484bb956006941d6a712a5362ef0862.jpg","text":"TemporaryFile(/tmp/multipartBody4804492797284946844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666077609,"filename":"image_12012025_08_11_02_491199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51565a8303bb9365c2275f0b09f211d9.jpg","text":"TemporaryFile(/tmp/multipartBody5057337608379796779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666077609,"filename":"image_12012025_08_11_02_491199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b8987491ef276c8ff60f4d86bc8b6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1868510161259048585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666077609,"filename":"image_12012025_08_12_02_999399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/903c8bb333e85f6219718478a950c809.jpg","text":"TemporaryFile(/tmp/multipartBody764235455117340071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666077609,"filename":"image_12012025_08_12_02_999399_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365942","file1":"1328365941","file0":"1328365940","file4":"1328365945","file5":"1328365948","file3":"1328365943"},"map_files_photo_id_array":[{"photo_id":"1328365948","filename":"file5"},{"photo_id":"1328365942","filename":"file2"},{"photo_id":"1328365945","filename":"file4"},{"photo_id":"1328365941","filename":"file1"},{"photo_id":"1328365940","filename":"file0"},{"photo_id":"1328365943","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365948":["hashtag1","hashtag2"]},{"1328365942":["hashtag1","hashtag2"]},{"1328365941":["hashtag1","hashtag2"]},{"1328365940":["hashtag1","hashtag2"]},{"1328365943":["hashtag1","hashtag2"]},{"1328365945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365948, 1328365942, 1328365941, 1328365940, 1328365943, 1328365945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.61211037635803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:15:03.137751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0003.jpg', '/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0000.jpg', '/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0001.jpg', '/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0002.jpg', '/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0003.jpg', '/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/12/image_12012025_08_12_02_999399_0003.jpg
/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0000.jpg
/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0001.jpg
/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0002.jpg
/home/pi/Desktop/images/12012025/08/13/image_12012025_08_13_02_552176_0003.jpg
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328365989","1328365982","1328365985","1328365988","1328365987","1328365972"],"photo_ids_order":["1328365972","1328365982","1328365985","1328365987","1328365988","1328365989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ebcef052f101267f10867ce93b2c116.jpg","text":"TemporaryFile(/tmp/multipartBody3920200468651991362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666178024,"filename":"image_12012025_08_14_03_031072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54f9da31521dd014244ed24e9c23a0cb.jpg","text":"TemporaryFile(/tmp/multipartBody6755322784054765456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666178024,"filename":"image_12012025_08_13_02_552176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fdf36875e1670a48407198109600a953.jpg","text":"TemporaryFile(/tmp/multipartBody3431708145157677918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666178024,"filename":"image_12012025_08_13_02_552176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1cf5151ead6b7b276948853e60364dc.jpg","text":"TemporaryFile(/tmp/multipartBody2022075122530102371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666178024,"filename":"image_12012025_08_13_02_552176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e15722fbf4b951098b4381b91f8a286.jpg","text":"TemporaryFile(/tmp/multipartBody5254391781455005109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666178024,"filename":"image_12012025_08_13_02_552176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5f91d4930646052a654148e1210668c.jpg","text":"TemporaryFile(/tmp/multipartBody3990496790647835198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666178024,"filename":"image_12012025_08_12_02_999399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328365985","file1":"1328365982","file0":"1328365972","file4":"1328365988","file5":"1328365989","file3":"1328365987"},"map_files_photo_id_array":[{"photo_id":"1328365989","filename":"file5"},{"photo_id":"1328365985","filename":"file2"},{"photo_id":"1328365988","filename":"file4"},{"photo_id":"1328365982","filename":"file1"},{"photo_id":"1328365972","filename":"file0"},{"photo_id":"1328365987","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328365989":["hashtag1","hashtag2"]},{"1328365982":["hashtag1","hashtag2"]},{"1328365985":["hashtag1","hashtag2"]},{"1328365988":["hashtag1","hashtag2"]},{"1328365987":["hashtag1","hashtag2"]},{"1328365972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328365989, 1328365982, 1328365985, 1328365988, 1328365987, 1328365972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.33428120613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:16:02.782424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0001.jpg', '/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0002.jpg', '/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0003.jpg', '/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0000.jpg', '/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0001.jpg', '/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0001.jpg
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0002.jpg
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0003.jpg
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0000.jpg
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0001.jpg
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.689759016036987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:16:22.235121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0001.jpg', '/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0002.jpg', '/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0003.jpg', '/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0000.jpg', '/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0001.jpg', '/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0001.jpg
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0002.jpg
/home/pi/Desktop/images/12012025/08/14/image_12012025_08_14_03_031072_0003.jpg
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0000.jpg
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0001.jpg
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_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":["1328366002","1328366005","1328366007","1328366009","1328366012","1328366008"],"photo_ids_order":["1328366002","1328366005","1328366007","1328366008","1328366009","1328366012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef584818233b9bf9a9854b7073b9cc7d.jpg","text":"TemporaryFile(/tmp/multipartBody1041821907735801482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666257308,"filename":"image_12012025_08_14_03_031072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c368e3caace8eacad901b01141fb7372.jpg","text":"TemporaryFile(/tmp/multipartBody4559279888685214253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666257308,"filename":"image_12012025_08_14_03_031072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75b3334c52d0df80c3f84627e71fc131.jpg","text":"TemporaryFile(/tmp/multipartBody8401769290608901696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666257308,"filename":"image_12012025_08_14_03_031072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03b2771b950f6d6b69d3de95b739ec95.jpg","text":"TemporaryFile(/tmp/multipartBody2730464947003419683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666257308,"filename":"image_12012025_08_15_02_493385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1c634cb160156d9c25a6c0a08300b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3307799096004533348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666257308,"filename":"image_12012025_08_15_02_493385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09bbd45fbafa5c86ad7792680fe800cf.jpg","text":"TemporaryFile(/tmp/multipartBody7991924114161414034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666257308,"filename":"image_12012025_08_15_02_493385_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328366007","file1":"1328366005","file0":"1328366002","file4":"1328366009","file5":"1328366012","file3":"1328366008"},"map_files_photo_id_array":[{"photo_id":"1328366012","filename":"file5"},{"photo_id":"1328366007","filename":"file2"},{"photo_id":"1328366009","filename":"file4"},{"photo_id":"1328366005","filename":"file1"},{"photo_id":"1328366002","filename":"file0"},{"photo_id":"1328366008","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328366002":["hashtag1","hashtag2"]},{"1328366005":["hashtag1","hashtag2"]},{"1328366007":["hashtag1","hashtag2"]},{"1328366009":["hashtag1","hashtag2"]},{"1328366012":["hashtag1","hashtag2"]},{"1328366008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328366002, 1328366005, 1328366007, 1328366009, 1328366012, 1328366008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.668440103530884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:18:02.659294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0003.jpg', '/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0000.jpg', '/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0001.jpg', '/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0002.jpg', '/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0003.jpg', '/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/15/image_12012025_08_15_02_493385_0003.jpg
/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0000.jpg
/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0001.jpg
/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0002.jpg
/home/pi/Desktop/images/12012025/08/16/image_12012025_08_16_03_011674_0003.jpg
/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328366031","1328366034","1328366033","1328366027","1328366036","1328366029"],"photo_ids_order":["1328366027","1328366029","1328366031","1328366033","1328366034","1328366036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e70de5cec58ac0ab42017417fc2bf60a.jpg","text":"TemporaryFile(/tmp/multipartBody6425841112261599756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666357636,"filename":"image_12012025_08_16_03_011674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71965b5049dd0fbbf12e5773f17451d7.jpg","text":"TemporaryFile(/tmp/multipartBody5911782676478238927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666357636,"filename":"image_12012025_08_16_03_011674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59ba25448e5fb1f69fb68e6b1507ef55.jpg","text":"TemporaryFile(/tmp/multipartBody2348879470156221731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666357636,"filename":"image_12012025_08_16_03_011674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9eb8f8d8f129fc35a197f937e96d39e.jpg","text":"TemporaryFile(/tmp/multipartBody3711325760189125156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666357636,"filename":"image_12012025_08_15_02_493385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88439b5c3051ae54442eaeec4498ad8b.jpg","text":"TemporaryFile(/tmp/multipartBody6693731304199495343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666357636,"filename":"image_12012025_08_17_02_613423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfff116751f1ed51f36e87c0f542cf4a.jpg","text":"TemporaryFile(/tmp/multipartBody4753414923366563801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666357636,"filename":"image_12012025_08_16_03_011674_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328366031","file1":"1328366029","file0":"1328366027","file4":"1328366034","file5":"1328366036","file3":"1328366033"},"map_files_photo_id_array":[{"photo_id":"1328366036","filename":"file5"},{"photo_id":"1328366031","filename":"file2"},{"photo_id":"1328366034","filename":"file4"},{"photo_id":"1328366029","filename":"file1"},{"photo_id":"1328366027","filename":"file0"},{"photo_id":"1328366033","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328366031":["hashtag1","hashtag2"]},{"1328366034":["hashtag1","hashtag2"]},{"1328366033":["hashtag1","hashtag2"]},{"1328366027":["hashtag1","hashtag2"]},{"1328366036":["hashtag1","hashtag2"]},{"1328366029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328366031, 1328366034, 1328366033, 1328366027, 1328366036, 1328366029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37885117530823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:19:02.347330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0001.jpg', '/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0002.jpg', '/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0003.jpg', '/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0000.jpg', '/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0001.jpg', '/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0001.jpg
/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0002.jpg
/home/pi/Desktop/images/12012025/08/17/image_12012025_08_17_02_613423_0003.jpg
/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0000.jpg
/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0001.jpg
/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367048","1328367047","1328367049","1328367040","1328367043","1328367045"],"photo_ids_order":["1328367040","1328367043","1328367045","1328367047","1328367048","1328367049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/080eeaaa276aab69d80c33a401c67d44.jpg","text":"TemporaryFile(/tmp/multipartBody9070596585920441285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666417199,"filename":"image_12012025_08_18_03_183999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bbe527297c214b1d4f4718cb89137c29.jpg","text":"TemporaryFile(/tmp/multipartBody3341920852251895098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666417199,"filename":"image_12012025_08_18_03_183999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d4cad189535edf977f0579d2464558b.jpg","text":"TemporaryFile(/tmp/multipartBody6100020242275613779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666417199,"filename":"image_12012025_08_18_03_183999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d24feaf2cb6df5e61b0068512522074a.jpg","text":"TemporaryFile(/tmp/multipartBody4824031045427225050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666417199,"filename":"image_12012025_08_17_02_613423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9906e8d8b45fe00df24b2adcdf7f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7590540431116068703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666417199,"filename":"image_12012025_08_17_02_613423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96f48f902d66b60f3d8ea5399482e2c0.jpg","text":"TemporaryFile(/tmp/multipartBody1464968279428845424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666417199,"filename":"image_12012025_08_17_02_613423_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367045","file1":"1328367043","file0":"1328367040","file4":"1328367048","file5":"1328367049","file3":"1328367047"},"map_files_photo_id_array":[{"photo_id":"1328367049","filename":"file5"},{"photo_id":"1328367045","filename":"file2"},{"photo_id":"1328367048","filename":"file4"},{"photo_id":"1328367043","filename":"file1"},{"photo_id":"1328367040","filename":"file0"},{"photo_id":"1328367047","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367048":["hashtag1","hashtag2"]},{"1328367047":["hashtag1","hashtag2"]},{"1328367049":["hashtag1","hashtag2"]},{"1328367040":["hashtag1","hashtag2"]},{"1328367043":["hashtag1","hashtag2"]},{"1328367045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367048, 1328367047, 1328367049, 1328367040, 1328367043, 1328367045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.01723790168762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:20:02.937347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0003.jpg', '/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0000.jpg', '/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0001.jpg', '/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/18/image_12012025_08_18_03_183999_0003.jpg
/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0000.jpg
/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0001.jpg
/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367414","1328367053","1328367091","1328367051"],"photo_ids_order":["1328367051","1328367053","1328367091","1328367414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9addcd97b04341ddb4e498fd6d3dea8a.jpg","text":"TemporaryFile(/tmp/multipartBody4010241574151085214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666473098,"filename":"image_12012025_08_19_02_700847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bc901a19474aa84f11f06f1dad5d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody4382681201700337178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666473098,"filename":"image_12012025_08_19_02_700847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/171724c68cf0eb9a2c420f228db586cf.jpg","text":"TemporaryFile(/tmp/multipartBody1204385145120425165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666473098,"filename":"image_12012025_08_19_02_700847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dba92e327ead1e409ae4733c2b023a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6236337767762467393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666473098,"filename":"image_12012025_08_18_03_183999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367091","file1":"1328367053","file0":"1328367051","file3":"1328367414"},"map_files_photo_id_array":[{"photo_id":"1328367091","filename":"file2"},{"photo_id":"1328367053","filename":"file1"},{"photo_id":"1328367051","filename":"file0"},{"photo_id":"1328367414","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367414":["hashtag1","hashtag2"]},{"1328367053":["hashtag1","hashtag2"]},{"1328367091":["hashtag1","hashtag2"]},{"1328367051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367414, 1328367053, 1328367091, 1328367051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05253839492798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:21:02.580138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0003.jpg', '/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0000.jpg', '/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0001.jpg', '/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/19/image_12012025_08_19_02_700847_0003.jpg
/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0000.jpg
/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0001.jpg
/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367581","1328367584","1328367586","1328367567"],"photo_ids_order":["1328367567","1328367581","1328367584","1328367586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7c7baf607aa699485ac310fb5eaff9e.jpg","text":"TemporaryFile(/tmp/multipartBody2000154526463536648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666532838,"filename":"image_12012025_08_20_02_182513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f4c12372a078dea8c4b313034b59964.jpg","text":"TemporaryFile(/tmp/multipartBody3265305406119379295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666532838,"filename":"image_12012025_08_20_02_182513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74915e927920a2d84dc7633e95073e6d.jpg","text":"TemporaryFile(/tmp/multipartBody880994232093445803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666532838,"filename":"image_12012025_08_20_02_182513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38dd9185780f00fc0069824897b0deee.jpg","text":"TemporaryFile(/tmp/multipartBody4356699457299865863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666532838,"filename":"image_12012025_08_19_02_700847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367584","file1":"1328367581","file0":"1328367567","file3":"1328367586"},"map_files_photo_id_array":[{"photo_id":"1328367584","filename":"file2"},{"photo_id":"1328367581","filename":"file1"},{"photo_id":"1328367567","filename":"file0"},{"photo_id":"1328367586","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367581":["hashtag1","hashtag2"]},{"1328367584":["hashtag1","hashtag2"]},{"1328367586":["hashtag1","hashtag2"]},{"1328367567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367581, 1328367584, 1328367586, 1328367567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.065093994140625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:22:03.135071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0003.jpg', '/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0000.jpg', '/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/20/image_12012025_08_20_02_182513_0003.jpg
/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0000.jpg
/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367615","1328367617","1328367613"],"photo_ids_order":["1328367613","1328367615","1328367617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0207ed79c13553b8810147be913c78ed.jpg","text":"TemporaryFile(/tmp/multipartBody6338053877631160036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666590864,"filename":"image_12012025_08_21_02_843072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac6034db070052262b4a7205800555c1.jpg","text":"TemporaryFile(/tmp/multipartBody6110726953494619904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666590864,"filename":"image_12012025_08_21_02_843072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f39cf0b9ea9aebd191d9d8bc89524c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5319217601628779991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666590864,"filename":"image_12012025_08_20_02_182513_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367617","file1":"1328367615","file0":"1328367613"},"map_files_photo_id_array":[{"photo_id":"1328367617","filename":"file2"},{"photo_id":"1328367615","filename":"file1"},{"photo_id":"1328367613","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367615":["hashtag1","hashtag2"]},{"1328367617":["hashtag1","hashtag2"]},{"1328367613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367615, 1328367617, 1328367613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.569600343704224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:23:02.837071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0003.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0000.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0001.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0003.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0000.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0001.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.812963247299194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:23:22.180973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0003.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0000.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0001.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0002.jpg', '/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0003.jpg', '/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/21/image_12012025_08_21_02_843072_0003.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0000.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0001.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0002.jpg
/home/pi/Desktop/images/12012025/08/22/image_12012025_08_22_02_412668_0003.jpg
/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_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":["1328367645","1328367639","1328367647","1328367641","1328367649","1328367643"],"photo_ids_order":["1328367639","1328367641","1328367643","1328367645","1328367647","1328367649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47fd6d62fc4abf1482a3be242481f5ed.jpg","text":"TemporaryFile(/tmp/multipartBody1309517423289298176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666677089,"filename":"image_12012025_08_22_02_412668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c2ea1845d38da1500d6e58a38b86668.jpg","text":"TemporaryFile(/tmp/multipartBody1034961983880046865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666677089,"filename":"image_12012025_08_21_02_843072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12ce9366531ce81db932bc48a60370b5.jpg","text":"TemporaryFile(/tmp/multipartBody1179330773600614279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666677089,"filename":"image_12012025_08_22_02_412668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f453644a508d9abcac154b85241e13f.jpg","text":"TemporaryFile(/tmp/multipartBody3318592204596752696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666677089,"filename":"image_12012025_08_22_02_412668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/61421b50300c3b359036c219e04a62bc.jpg","text":"TemporaryFile(/tmp/multipartBody9187219901356131778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666677089,"filename":"image_12012025_08_23_03_053252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f9fa1abc67a55a1fd811ad042b8d59c.jpg","text":"TemporaryFile(/tmp/multipartBody760790194346550300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666677089,"filename":"image_12012025_08_22_02_412668_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367643","file1":"1328367641","file0":"1328367639","file4":"1328367647","file5":"1328367649","file3":"1328367645"},"map_files_photo_id_array":[{"photo_id":"1328367649","filename":"file5"},{"photo_id":"1328367643","filename":"file2"},{"photo_id":"1328367647","filename":"file4"},{"photo_id":"1328367641","filename":"file1"},{"photo_id":"1328367639","filename":"file0"},{"photo_id":"1328367645","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367645":["hashtag1","hashtag2"]},{"1328367639":["hashtag1","hashtag2"]},{"1328367647":["hashtag1","hashtag2"]},{"1328367641":["hashtag1","hashtag2"]},{"1328367649":["hashtag1","hashtag2"]},{"1328367643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367645, 1328367639, 1328367647, 1328367641, 1328367649, 1328367643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.89709424972534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:25:02.941630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0001.jpg', '/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0002.jpg', '/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0003.jpg', '/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0000.jpg', '/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0001.jpg', '/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0001.jpg
/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0002.jpg
/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_03_053252_0003.jpg
/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0000.jpg
/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0001.jpg
/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_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":["1328367705","1328367691","1328367704","1328367694","1328367688","1328367706"],"photo_ids_order":["1328367688","1328367691","1328367694","1328367704","1328367705","1328367706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95eb41d02d2bbaef094ca9ce3c84969e.jpg","text":"TemporaryFile(/tmp/multipartBody1858372575386929590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666777845,"filename":"image_12012025_08_24_02_640631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07ecb55acffe4256cf6071f74cef46ef.jpg","text":"TemporaryFile(/tmp/multipartBody2165943186067390477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666777845,"filename":"image_12012025_08_23_03_053252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07cc8621743ba6e411c526b37db89e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1518247102854596597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666777845,"filename":"image_12012025_08_24_02_640631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecea2714b20392fb4a45c09f7f6eb537.jpg","text":"TemporaryFile(/tmp/multipartBody4609030761912722232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666777845,"filename":"image_12012025_08_23_03_053252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1fec216d2044bfd92de42911c1be3f5.jpg","text":"TemporaryFile(/tmp/multipartBody7739716289534005831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666777845,"filename":"image_12012025_08_23_03_053252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9984c6c51f9fd2163eec8ed8ab5b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody7869028051006094069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666777845,"filename":"image_12012025_08_24_02_640631_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367694","file1":"1328367691","file0":"1328367688","file4":"1328367705","file5":"1328367706","file3":"1328367704"},"map_files_photo_id_array":[{"photo_id":"1328367706","filename":"file5"},{"photo_id":"1328367694","filename":"file2"},{"photo_id":"1328367705","filename":"file4"},{"photo_id":"1328367691","filename":"file1"},{"photo_id":"1328367688","filename":"file0"},{"photo_id":"1328367704","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367705":["hashtag1","hashtag2"]},{"1328367691":["hashtag1","hashtag2"]},{"1328367704":["hashtag1","hashtag2"]},{"1328367694":["hashtag1","hashtag2"]},{"1328367688":["hashtag1","hashtag2"]},{"1328367706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367705, 1328367691, 1328367704, 1328367694, 1328367688, 1328367706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.694376945495605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:26:22.041979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0003.jpg', '/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0000.jpg', '/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0001.jpg', '/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0003.jpg', '/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0000.jpg', '/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0003.jpg
/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0000.jpg
/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0001.jpg
/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0003.jpg
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0000.jpg
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_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.633655548095703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:27:03.104857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0003.jpg', '/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0000.jpg', '/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0001.jpg', '/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0003.jpg', '/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0000.jpg', '/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/24/image_12012025_08_24_02_640631_0003.jpg
/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0000.jpg
/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0001.jpg
/home/pi/Desktop/images/12012025/08/25/image_12012025_08_25_02_223521_0003.jpg
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0000.jpg
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367735","1328367729","1328367723","1328367726","1328367746","1328367732"],"photo_ids_order":["1328367723","1328367726","1328367729","1328367732","1328367735","1328367746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e65a722856885f040016d9ea810b37fc.jpg","text":"TemporaryFile(/tmp/multipartBody3250738600251570856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666898198,"filename":"image_12012025_08_26_02_780043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eb1f250a7947517e284cc288592e3737.jpg","text":"TemporaryFile(/tmp/multipartBody211450815015275908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666898198,"filename":"image_12012025_08_25_02_223521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d89180be0b0090dbe3f989cd00fedbc.jpg","text":"TemporaryFile(/tmp/multipartBody4740968183317013300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666898198,"filename":"image_12012025_08_24_02_640631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0aa1bce10a02ae3937c32a6abdb97f9.jpg","text":"TemporaryFile(/tmp/multipartBody613063423558608341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666898198,"filename":"image_12012025_08_25_02_223521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcea5748fcdd26658818509fabc21646.jpg","text":"TemporaryFile(/tmp/multipartBody1162698370844187739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666898198,"filename":"image_12012025_08_26_02_780043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a646b6a5126c62742d1a14458e299b12.jpg","text":"TemporaryFile(/tmp/multipartBody7888574797816758974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666898198,"filename":"image_12012025_08_25_02_223521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367729","file1":"1328367726","file0":"1328367723","file4":"1328367735","file5":"1328367746","file3":"1328367732"},"map_files_photo_id_array":[{"photo_id":"1328367746","filename":"file5"},{"photo_id":"1328367729","filename":"file2"},{"photo_id":"1328367735","filename":"file4"},{"photo_id":"1328367726","filename":"file1"},{"photo_id":"1328367723","filename":"file0"},{"photo_id":"1328367732","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367735":["hashtag1","hashtag2"]},{"1328367729":["hashtag1","hashtag2"]},{"1328367723":["hashtag1","hashtag2"]},{"1328367726":["hashtag1","hashtag2"]},{"1328367746":["hashtag1","hashtag2"]},{"1328367732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367735, 1328367729, 1328367723, 1328367726, 1328367746, 1328367732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.024051904678345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:28:02.554889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0002.jpg', '/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0003.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0000.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0001.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0002.jpg
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0003.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0000.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0001.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.994896650314331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:28:22.132533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0002.jpg', '/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0003.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0000.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0001.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0002.jpg', '/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0002.jpg
/home/pi/Desktop/images/12012025/08/26/image_12012025_08_26_02_780043_0003.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0000.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0001.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0002.jpg
/home/pi/Desktop/images/12012025/08/27/image_12012025_08_27_02_494214_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367776","1328367779","1328367773","1328367775","1328367777","1328367774"],"photo_ids_order":["1328367773","1328367774","1328367775","1328367776","1328367777","1328367779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ec4f02cdf70ac5b985c79185699a1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7662575136566354609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666976865,"filename":"image_12012025_08_27_02_494214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83e3a11e967f1c7315e02d46d1dfd2ce.jpg","text":"TemporaryFile(/tmp/multipartBody5323989439590786323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666976865,"filename":"image_12012025_08_27_02_494214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16f88b9d5279409df5aed27d6950c5af.jpg","text":"TemporaryFile(/tmp/multipartBody6419345698364442298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666976865,"filename":"image_12012025_08_26_02_780043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b544a4277925572d96e00cb2b44f44bf.jpg","text":"TemporaryFile(/tmp/multipartBody4870044347665128184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666976865,"filename":"image_12012025_08_27_02_494214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8c301ff013957e21f429248ad6d255b.jpg","text":"TemporaryFile(/tmp/multipartBody528595834007261392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666976865,"filename":"image_12012025_08_27_02_494214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/997563a9af50d0739ef6f66a8257a64d.jpg","text":"TemporaryFile(/tmp/multipartBody3725839304806427065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736666976865,"filename":"image_12012025_08_26_02_780043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367775","file1":"1328367774","file0":"1328367773","file4":"1328367777","file5":"1328367779","file3":"1328367776"},"map_files_photo_id_array":[{"photo_id":"1328367779","filename":"file5"},{"photo_id":"1328367775","filename":"file2"},{"photo_id":"1328367777","filename":"file4"},{"photo_id":"1328367774","filename":"file1"},{"photo_id":"1328367773","filename":"file0"},{"photo_id":"1328367776","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367776":["hashtag1","hashtag2"]},{"1328367779":["hashtag1","hashtag2"]},{"1328367773":["hashtag1","hashtag2"]},{"1328367775":["hashtag1","hashtag2"]},{"1328367777":["hashtag1","hashtag2"]},{"1328367774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367776, 1328367779, 1328367773, 1328367775, 1328367777, 1328367774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07327151298523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:29:22.622239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0000.jpg', '/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0001.jpg', '/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0002.jpg', '/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0003.jpg', '/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0000.jpg', '/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0000.jpg
/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0001.jpg
/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0002.jpg
/home/pi/Desktop/images/12012025/08/28/image_12012025_08_28_02_983525_0003.jpg
/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0000.jpg
/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367819","1328367812","1328367821","1328367815","1328367817","1328367814"],"photo_ids_order":["1328367812","1328367814","1328367815","1328367817","1328367819","1328367821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70dda98ed1087f7e6039b45b816c9ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6997955101798099126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667037494,"filename":"image_12012025_08_29_02_486830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/650707a4ab02f056cc237425733b426b.jpg","text":"TemporaryFile(/tmp/multipartBody945741245473124824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667037494,"filename":"image_12012025_08_28_02_983525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/90082f6880c60a5e37f4271006dbe99a.jpg","text":"TemporaryFile(/tmp/multipartBody2441173242940204174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667037494,"filename":"image_12012025_08_29_02_486830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5eb2b3beaaf491f696cb18faea2d930f.jpg","text":"TemporaryFile(/tmp/multipartBody827943989053604856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667037494,"filename":"image_12012025_08_28_02_983525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7730d83d1a8fd77c3b134ece2c7263eb.jpg","text":"TemporaryFile(/tmp/multipartBody6596101918953174730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667037494,"filename":"image_12012025_08_28_02_983525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8688317a48b73cdffcb023f0109f7a95.jpg","text":"TemporaryFile(/tmp/multipartBody3967985167355785049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667037494,"filename":"image_12012025_08_28_02_983525_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367815","file1":"1328367814","file0":"1328367812","file4":"1328367819","file5":"1328367821","file3":"1328367817"},"map_files_photo_id_array":[{"photo_id":"1328367821","filename":"file5"},{"photo_id":"1328367815","filename":"file2"},{"photo_id":"1328367819","filename":"file4"},{"photo_id":"1328367814","filename":"file1"},{"photo_id":"1328367812","filename":"file0"},{"photo_id":"1328367817","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367819":["hashtag1","hashtag2"]},{"1328367812":["hashtag1","hashtag2"]},{"1328367821":["hashtag1","hashtag2"]},{"1328367815":["hashtag1","hashtag2"]},{"1328367817":["hashtag1","hashtag2"]},{"1328367814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367819, 1328367812, 1328367821, 1328367815, 1328367817, 1328367814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84602332115173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:30:22.128734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0002.jpg', '/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0003.jpg', '/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0000.jpg', '/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0001.jpg', '/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0002.jpg
/home/pi/Desktop/images/12012025/08/29/image_12012025_08_29_02_486830_0003.jpg
/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0000.jpg
/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0001.jpg
/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367915","1328367827","1328367868","1328367931","1328367826"],"photo_ids_order":["1328367826","1328367827","1328367868","1328367915","1328367931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47b9946316b538fc9010c4682bd63ae3.jpg","text":"TemporaryFile(/tmp/multipartBody639356777590993953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667095000,"filename":"image_12012025_08_30_02_987927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78897221a6740a4671f3af2f914a41e5.jpg","text":"TemporaryFile(/tmp/multipartBody5891237176818406074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667095000,"filename":"image_12012025_08_29_02_486830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc21f4e9558f7055cc04f0a7c18dce91.jpg","text":"TemporaryFile(/tmp/multipartBody5318060474747771769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667095000,"filename":"image_12012025_08_30_02_987927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b368a8be3418630a1d0f2d0243e1e879.jpg","text":"TemporaryFile(/tmp/multipartBody2345855072042369781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667095000,"filename":"image_12012025_08_30_02_987927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7cdae6ae73c6632fedef7f1f9ead3086.jpg","text":"TemporaryFile(/tmp/multipartBody4875635834369335208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667095000,"filename":"image_12012025_08_29_02_486830_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367868","file1":"1328367827","file0":"1328367826","file4":"1328367931","file3":"1328367915"},"map_files_photo_id_array":[{"photo_id":"1328367868","filename":"file2"},{"photo_id":"1328367931","filename":"file4"},{"photo_id":"1328367827","filename":"file1"},{"photo_id":"1328367826","filename":"file0"},{"photo_id":"1328367915","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367915":["hashtag1","hashtag2"]},{"1328367827":["hashtag1","hashtag2"]},{"1328367868":["hashtag1","hashtag2"]},{"1328367931":["hashtag1","hashtag2"]},{"1328367826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367915, 1328367827, 1328367868, 1328367931, 1328367826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.27263855934143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:31:22.657651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0003.jpg', '/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0000.jpg', '/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0001.jpg', '/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/30/image_12012025_08_30_02_987927_0003.jpg
/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0000.jpg
/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0001.jpg
/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328367944","1328367946","1328367943","1328367945"],"photo_ids_order":["1328367943","1328367944","1328367945","1328367946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d44b6b1a13709f6b972f2e5141e97d6.jpg","text":"TemporaryFile(/tmp/multipartBody5033196783908529698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667152926,"filename":"image_12012025_08_31_02_472178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a436495106595c64ce44129f409a2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2816282953261039893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667152926,"filename":"image_12012025_08_31_02_472178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d9be6656089fb1687c4cbea2fa24f78.jpg","text":"TemporaryFile(/tmp/multipartBody8830522110248140046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667152926,"filename":"image_12012025_08_30_02_987927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5fd6a9cb64ded31405a96e0a511abff.jpg","text":"TemporaryFile(/tmp/multipartBody4577152885262835418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667152926,"filename":"image_12012025_08_31_02_472178_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328367945","file1":"1328367944","file0":"1328367943","file3":"1328367946"},"map_files_photo_id_array":[{"photo_id":"1328367945","filename":"file2"},{"photo_id":"1328367944","filename":"file1"},{"photo_id":"1328367943","filename":"file0"},{"photo_id":"1328367946","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328367944":["hashtag1","hashtag2"]},{"1328367946":["hashtag1","hashtag2"]},{"1328367943":["hashtag1","hashtag2"]},{"1328367945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328367944, 1328367946, 1328367943, 1328367945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.47973275184631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:32:22.154584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0003.jpg', '/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0000.jpg', '/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0001.jpg', '/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0003.jpg
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0000.jpg
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0001.jpg
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.85209584236145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:33:02.279662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0003.jpg', '/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0000.jpg', '/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0001.jpg', '/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_02_472178_0003.jpg
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0000.jpg
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0001.jpg
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328368079","1328368497","1328368077","1328368410"],"photo_ids_order":["1328368077","1328368079","1328368410","1328368497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/483e15131bc34a06a0382a3346e49403.jpg","text":"TemporaryFile(/tmp/multipartBody6068837677495499206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667252580,"filename":"image_12012025_08_32_03_046047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fc193b8f7c2819fc1113f6710081e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4682589311361240584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667252580,"filename":"image_12012025_08_32_03_046047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5fe1ee27f17b2625497543b719da2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2413938482286216730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667252580,"filename":"image_12012025_08_31_02_472178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc4b3cbd12edc29a3988611dca69301c.jpg","text":"TemporaryFile(/tmp/multipartBody4349027574149224014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667252580,"filename":"image_12012025_08_32_03_046047_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328368410","file1":"1328368079","file0":"1328368077","file3":"1328368497"},"map_files_photo_id_array":[{"photo_id":"1328368410","filename":"file2"},{"photo_id":"1328368079","filename":"file1"},{"photo_id":"1328368077","filename":"file0"},{"photo_id":"1328368497","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328368079":["hashtag1","hashtag2"]},{"1328368497":["hashtag1","hashtag2"]},{"1328368077":["hashtag1","hashtag2"]},{"1328368410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328368079, 1328368497, 1328368077, 1328368410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.01420569419861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:34:02.878442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0003.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0000.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0001.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0003.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0000.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0001.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.728623151779175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:34:22.497288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0003.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0000.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0001.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0002.jpg', '/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0003.jpg', '/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/32/image_12012025_08_32_03_046047_0003.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0000.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0001.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0002.jpg
/home/pi/Desktop/images/12012025/08/33/image_12012025_08_33_02_623984_0003.jpg
/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369015","1328369420","1328369218","1328369014","1328369448","1328369474"],"photo_ids_order":["1328369014","1328369015","1328369218","1328369420","1328369448","1328369474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcbb055dfdc480d08ac164f56e4f9b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6000030631516392114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667337383,"filename":"image_12012025_08_33_02_623984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3164f621e94def4e24ba9595a94afdf.jpg","text":"TemporaryFile(/tmp/multipartBody5032446075921644285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667337383,"filename":"image_12012025_08_33_02_623984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20e18a198693539777e71d6800fb8283.jpg","text":"TemporaryFile(/tmp/multipartBody5259599070191546482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667337383,"filename":"image_12012025_08_33_02_623984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/010bfe29e24b8082d17f82a29ba6e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody5983979915478984516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667337383,"filename":"image_12012025_08_32_03_046047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b713374cc14f9a97cff1767db65bb827.jpg","text":"TemporaryFile(/tmp/multipartBody7511827377021289794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667337383,"filename":"image_12012025_08_33_02_623984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b27f6878418bb50015c13b9b456714d1.jpg","text":"TemporaryFile(/tmp/multipartBody696292182837360654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667337383,"filename":"image_12012025_08_34_02_213928_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369218","file1":"1328369015","file0":"1328369014","file4":"1328369448","file5":"1328369474","file3":"1328369420"},"map_files_photo_id_array":[{"photo_id":"1328369474","filename":"file5"},{"photo_id":"1328369218","filename":"file2"},{"photo_id":"1328369448","filename":"file4"},{"photo_id":"1328369015","filename":"file1"},{"photo_id":"1328369014","filename":"file0"},{"photo_id":"1328369420","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369015":["hashtag1","hashtag2"]},{"1328369420":["hashtag1","hashtag2"]},{"1328369218":["hashtag1","hashtag2"]},{"1328369014":["hashtag1","hashtag2"]},{"1328369448":["hashtag1","hashtag2"]},{"1328369474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369015, 1328369420, 1328369218, 1328369014, 1328369448, 1328369474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.35390567779541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:35:22.008639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0001.jpg', '/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0002.jpg', '/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0003.jpg', '/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0000.jpg', '/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0001.jpg', '/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0001.jpg
/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0002.jpg
/home/pi/Desktop/images/12012025/08/34/image_12012025_08_34_02_213928_0003.jpg
/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0000.jpg
/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0001.jpg
/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369485","1328369494","1328369487","1328369496","1328369490","1328369486"],"photo_ids_order":["1328369485","1328369486","1328369487","1328369490","1328369494","1328369496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eec0501e4a5f7f9fb94e50ebb71ac987.jpg","text":"TemporaryFile(/tmp/multipartBody7860494876017212428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667396783,"filename":"image_12012025_08_34_02_213928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f53fb2c7d479dc83c12f97cd35f4c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2229659635182904172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667396783,"filename":"image_12012025_08_35_02_872709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01cab04dab98f6538622bfbfcc980a22.jpg","text":"TemporaryFile(/tmp/multipartBody6474210896478667496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667396783,"filename":"image_12012025_08_34_02_213928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9ebaf4b00b8ceac1711d7cfbcf78772.jpg","text":"TemporaryFile(/tmp/multipartBody5585454176130666407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667396783,"filename":"image_12012025_08_35_02_872709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/607d7974cbebbda91d8de1789f107733.jpg","text":"TemporaryFile(/tmp/multipartBody3641314346663313695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667396783,"filename":"image_12012025_08_35_02_872709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f5f52a1996041fd9e291a7fefe12924.jpg","text":"TemporaryFile(/tmp/multipartBody522092638732806026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667396783,"filename":"image_12012025_08_34_02_213928_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369487","file1":"1328369486","file0":"1328369485","file4":"1328369494","file5":"1328369496","file3":"1328369490"},"map_files_photo_id_array":[{"photo_id":"1328369496","filename":"file5"},{"photo_id":"1328369487","filename":"file2"},{"photo_id":"1328369494","filename":"file4"},{"photo_id":"1328369486","filename":"file1"},{"photo_id":"1328369485","filename":"file0"},{"photo_id":"1328369490","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369485":["hashtag1","hashtag2"]},{"1328369494":["hashtag1","hashtag2"]},{"1328369487":["hashtag1","hashtag2"]},{"1328369496":["hashtag1","hashtag2"]},{"1328369490":["hashtag1","hashtag2"]},{"1328369486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369485, 1328369494, 1328369487, 1328369496, 1328369490, 1328369486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.30951118469238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:36:22.514062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0003.jpg', '/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_02_361277_0001.jpg', '/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_02_361277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/35/image_12012025_08_35_02_872709_0003.jpg
/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_02_361277_0001.jpg
/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_02_361277_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369504","1328369506","1328369502"],"photo_ids_order":["1328369502","1328369504","1328369506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30160db3fa7d05fa66efd1c28930592b.jpg","text":"TemporaryFile(/tmp/multipartBody7725893578423546900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667450289,"filename":"image_12012025_08_36_02_361277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be60afba28da129b3d158a5566c95e90.jpg","text":"TemporaryFile(/tmp/multipartBody806763128882863319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667450289,"filename":"image_12012025_08_36_02_361277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd831ef43d7117bae94347fa93ed7c86.jpg","text":"TemporaryFile(/tmp/multipartBody2633987598073404287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667450289,"filename":"image_12012025_08_35_02_872709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369506","file1":"1328369504","file0":"1328369502"},"map_files_photo_id_array":[{"photo_id":"1328369506","filename":"file2"},{"photo_id":"1328369504","filename":"file1"},{"photo_id":"1328369502","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369504":["hashtag1","hashtag2"]},{"1328369506":["hashtag1","hashtag2"]},{"1328369502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369504, 1328369506, 1328369502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.497190237045288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:37:02.578516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:37:21.983950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_02_361277_0003.jpg', '/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0000.jpg', '/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0001.jpg', '/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_02_361277_0003.jpg
/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0000.jpg
/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0001.jpg
/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369516","1328369519","1328369521","1328369520"],"photo_ids_order":["1328369516","1328369519","1328369520","1328369521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a29b1568f7970b0bfd544bf0e2d77d1.jpg","text":"TemporaryFile(/tmp/multipartBody911873189871809915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667512255,"filename":"image_12012025_08_36_02_361277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2942b7bc2364e207b9446ab403aa3c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4133694143413884286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667512255,"filename":"image_12012025_08_37_02_839666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76528e529a18063cc0105dff89d9b804.jpg","text":"TemporaryFile(/tmp/multipartBody2819315249497119246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667512255,"filename":"image_12012025_08_37_02_839666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4d5dc0f1db12a14732d3c9fd284deb6.jpg","text":"TemporaryFile(/tmp/multipartBody8559789868405707218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667512255,"filename":"image_12012025_08_37_02_839666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369520","file1":"1328369519","file0":"1328369516","file3":"1328369521"},"map_files_photo_id_array":[{"photo_id":"1328369520","filename":"file2"},{"photo_id":"1328369519","filename":"file1"},{"photo_id":"1328369516","filename":"file0"},{"photo_id":"1328369521","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369516":["hashtag1","hashtag2"]},{"1328369519":["hashtag1","hashtag2"]},{"1328369521":["hashtag1","hashtag2"]},{"1328369520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369516, 1328369519, 1328369521, 1328369520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.127891302108765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:38:03.145543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:38:22.674137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0003.jpg', '/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0000.jpg', '/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0001.jpg', '/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_02_839666_0003.jpg
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0000.jpg
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0001.jpg
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369533","1328369530","1328369535","1328369534"],"photo_ids_order":["1328369530","1328369533","1328369534","1328369535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/740fa7ba85672d68574262e96a555cf9.jpg","text":"TemporaryFile(/tmp/multipartBody1989151837629927400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667572806,"filename":"image_12012025_08_38_02_394423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d189da26f70765b3bc113aaee048fca.jpg","text":"TemporaryFile(/tmp/multipartBody6024233102636116521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667572806,"filename":"image_12012025_08_37_02_839666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a9e7209835a1758788767c5bf28cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody8686527962742909687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667572806,"filename":"image_12012025_08_38_02_394423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97d6d968233f73021398c5a3fd7f1e39.jpg","text":"TemporaryFile(/tmp/multipartBody7483987792275796931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667572806,"filename":"image_12012025_08_38_02_394423_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369534","file1":"1328369533","file0":"1328369530","file3":"1328369535"},"map_files_photo_id_array":[{"photo_id":"1328369534","filename":"file2"},{"photo_id":"1328369533","filename":"file1"},{"photo_id":"1328369530","filename":"file0"},{"photo_id":"1328369535","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369533":["hashtag1","hashtag2"]},{"1328369530":["hashtag1","hashtag2"]},{"1328369535":["hashtag1","hashtag2"]},{"1328369534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369533, 1328369530, 1328369535, 1328369534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.58167099952698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:39:22.178448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0003.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0000.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0001.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_02_394423_0003.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0000.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0001.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369546","1328369548","1328369544","1328369547"],"photo_ids_order":["1328369544","1328369546","1328369547","1328369548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8a4bc7e74c5840f5f7236c3e9338750.jpg","text":"TemporaryFile(/tmp/multipartBody4504275617001865619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667632432,"filename":"image_12012025_08_39_03_038067_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/162d03857dec1e384bbd21e2e194c37b.jpg","text":"TemporaryFile(/tmp/multipartBody6950388619308229823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667632432,"filename":"image_12012025_08_39_03_038067_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2a5513fc124f7cf9d6a4db5a9cf141e.jpg","text":"TemporaryFile(/tmp/multipartBody2651733382198084232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667632432,"filename":"image_12012025_08_38_02_394423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c937301570bab999e863be6e4ca3535.jpg","text":"TemporaryFile(/tmp/multipartBody2034352649112821106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667632432,"filename":"image_12012025_08_39_03_038067_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369547","file1":"1328369546","file0":"1328369544","file3":"1328369548"},"map_files_photo_id_array":[{"photo_id":"1328369547","filename":"file2"},{"photo_id":"1328369546","filename":"file1"},{"photo_id":"1328369544","filename":"file0"},{"photo_id":"1328369548","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369546":["hashtag1","hashtag2"]},{"1328369548":["hashtag1","hashtag2"]},{"1328369544":["hashtag1","hashtag2"]},{"1328369547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369546, 1328369548, 1328369544, 1328369547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67866492271423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:40:03.086092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:40:22.722256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0003.jpg', '/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0000.jpg', '/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0001.jpg', '/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_03_038067_0003.jpg
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0000.jpg
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0001.jpg
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369665","1328369638","1328369685","1328369567"],"photo_ids_order":["1328369567","1328369638","1328369665","1328369685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1038abbd520c2c65b757c42e3751b129.jpg","text":"TemporaryFile(/tmp/multipartBody4305713249259361650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667692793,"filename":"image_12012025_08_40_02_559294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1dd9d0b7c97b432d1a5ef86524a2109b.jpg","text":"TemporaryFile(/tmp/multipartBody2413445228660339582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667692793,"filename":"image_12012025_08_40_02_559294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d3644dbfa5709c028e4a3ab7fd8ef07.jpg","text":"TemporaryFile(/tmp/multipartBody7328589248875923632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667692793,"filename":"image_12012025_08_40_02_559294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/410345a288b263ec2e0229e2b245bee4.jpg","text":"TemporaryFile(/tmp/multipartBody232349573434032415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667692793,"filename":"image_12012025_08_39_03_038067_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369665","file1":"1328369638","file0":"1328369567","file3":"1328369685"},"map_files_photo_id_array":[{"photo_id":"1328369665","filename":"file2"},{"photo_id":"1328369638","filename":"file1"},{"photo_id":"1328369567","filename":"file0"},{"photo_id":"1328369685","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369665":["hashtag1","hashtag2"]},{"1328369638":["hashtag1","hashtag2"]},{"1328369685":["hashtag1","hashtag2"]},{"1328369567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369665, 1328369638, 1328369685, 1328369567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33339762687683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:41:22.206943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0003.jpg', '/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0000.jpg', '/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0001.jpg', '/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_02_559294_0003.jpg
/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0000.jpg
/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0001.jpg
/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369702","1328369701","1328369703","1328369699"],"photo_ids_order":["1328369699","1328369701","1328369702","1328369703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b703bdca74bb7192758e06b6dbea960.jpg","text":"TemporaryFile(/tmp/multipartBody4433685596503664373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667752455,"filename":"image_12012025_08_41_03_071980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4354b9ade62595b16b7a95d935099911.jpg","text":"TemporaryFile(/tmp/multipartBody2339935433085059244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667752455,"filename":"image_12012025_08_41_03_071980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50d4243d538a2de33346e82fa0cf8bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4548793321518897642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667752455,"filename":"image_12012025_08_41_03_071980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/663e8e11a149735b7c0ced507ff53d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2925434037462575679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667752455,"filename":"image_12012025_08_40_02_559294_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369702","file1":"1328369701","file0":"1328369699","file3":"1328369703"},"map_files_photo_id_array":[{"photo_id":"1328369702","filename":"file2"},{"photo_id":"1328369701","filename":"file1"},{"photo_id":"1328369699","filename":"file0"},{"photo_id":"1328369703","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369702":["hashtag1","hashtag2"]},{"1328369701":["hashtag1","hashtag2"]},{"1328369703":["hashtag1","hashtag2"]},{"1328369699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369702, 1328369701, 1328369703, 1328369699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.65852618217468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:42:21.848118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0003.jpg', '/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0000.jpg', '/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0001.jpg', '/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/41/image_12012025_08_41_03_071980_0003.jpg
/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0000.jpg
/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0001.jpg
/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369840","1328369834","1328369837","1328369841"],"photo_ids_order":["1328369834","1328369837","1328369840","1328369841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/716af43d2ed4164526a80d45d1dbea4d.jpg","text":"TemporaryFile(/tmp/multipartBody4037883069571021392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667812176,"filename":"image_12012025_08_42_02_657883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c03360d329e80a267b47027e53fa927.jpg","text":"TemporaryFile(/tmp/multipartBody6974636017664786706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667812176,"filename":"image_12012025_08_41_03_071980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b8a883a0b8447d59d03663cfd9e18c3.jpg","text":"TemporaryFile(/tmp/multipartBody4596920820813130916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667812176,"filename":"image_12012025_08_42_02_657883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3d914ba1085b46bd4a8516e89133515.jpg","text":"TemporaryFile(/tmp/multipartBody485591925845682989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667812176,"filename":"image_12012025_08_42_02_657883_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369840","file1":"1328369837","file0":"1328369834","file3":"1328369841"},"map_files_photo_id_array":[{"photo_id":"1328369840","filename":"file2"},{"photo_id":"1328369837","filename":"file1"},{"photo_id":"1328369834","filename":"file0"},{"photo_id":"1328369841","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369840":["hashtag1","hashtag2"]},{"1328369834":["hashtag1","hashtag2"]},{"1328369837":["hashtag1","hashtag2"]},{"1328369841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369840, 1328369834, 1328369837, 1328369841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32155632972717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:43:02.767281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:43:22.375211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0003.jpg', '/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0000.jpg', '/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0001.jpg', '/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_02_657883_0003.jpg
/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0000.jpg
/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0001.jpg
/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369854","1328369857","1328369850","1328369852"],"photo_ids_order":["1328369850","1328369852","1328369854","1328369857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa7dcd860a788cf10c29ded344b34b40.jpg","text":"TemporaryFile(/tmp/multipartBody292555752456834657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667872607,"filename":"image_12012025_08_43_02_162826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6425fadd96221626fa5dba8c146efcbb.jpg","text":"TemporaryFile(/tmp/multipartBody9182503862215312556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667872607,"filename":"image_12012025_08_43_02_162826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac6b5f6d303b9c829518e232c3b4a385.jpg","text":"TemporaryFile(/tmp/multipartBody4848102954757623562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667872607,"filename":"image_12012025_08_42_02_657883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/99693942cc9f6838ca2a7c2835e1187d.jpg","text":"TemporaryFile(/tmp/multipartBody2822393684649631555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667872607,"filename":"image_12012025_08_43_02_162826_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369854","file1":"1328369852","file0":"1328369850","file3":"1328369857"},"map_files_photo_id_array":[{"photo_id":"1328369854","filename":"file2"},{"photo_id":"1328369852","filename":"file1"},{"photo_id":"1328369850","filename":"file0"},{"photo_id":"1328369857","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369854":["hashtag1","hashtag2"]},{"1328369857":["hashtag1","hashtag2"]},{"1328369850":["hashtag1","hashtag2"]},{"1328369852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369854, 1328369857, 1328369850, 1328369852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.801634550094604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:44:02.389067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:44:21.989495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0003.jpg', '/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0000.jpg', '/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0001.jpg', '/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/43/image_12012025_08_43_02_162826_0003.jpg
/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0000.jpg
/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0001.jpg
/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369877","1328369874","1328369882","1328369879"],"photo_ids_order":["1328369874","1328369877","1328369879","1328369882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1070cd5846860e83800cd6c12c1014d.jpg","text":"TemporaryFile(/tmp/multipartBody8106516097343534955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667932605,"filename":"image_12012025_08_44_02_673308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a91f8b7c69631e53b4c5ae76a79aff9.jpg","text":"TemporaryFile(/tmp/multipartBody3957179095395032534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667932605,"filename":"image_12012025_08_43_02_162826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb44242c0e1d6621a4a6ac93b143ab0d.jpg","text":"TemporaryFile(/tmp/multipartBody6268039863731186563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667932605,"filename":"image_12012025_08_44_02_673308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3337f5595bb951af3a70a3b74ce250e1.jpg","text":"TemporaryFile(/tmp/multipartBody9189970356290693165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736667932605,"filename":"image_12012025_08_44_02_673308_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369879","file1":"1328369877","file0":"1328369874","file3":"1328369882"},"map_files_photo_id_array":[{"photo_id":"1328369879","filename":"file2"},{"photo_id":"1328369877","filename":"file1"},{"photo_id":"1328369874","filename":"file0"},{"photo_id":"1328369882","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369877":["hashtag1","hashtag2"]},{"1328369874":["hashtag1","hashtag2"]},{"1328369882":["hashtag1","hashtag2"]},{"1328369879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369877, 1328369874, 1328369882, 1328369879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.807656049728394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:45:22.493936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0003.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0000.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0001.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0003.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0000.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0001.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.651427984237671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:46:02.462577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0003.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0000.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0001.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/44/image_12012025_08_44_02_673308_0003.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0000.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0001.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369936","1328369946","1328369943","1328369939"],"photo_ids_order":["1328369936","1328369939","1328369943","1328369946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2647295ac02c6e5dc61ec485b07e0d95.jpg","text":"TemporaryFile(/tmp/multipartBody6418865464103828740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668032531,"filename":"image_12012025_08_44_02_673308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18efbca0105c9bb7101cf5aa1b61f221.jpg","text":"TemporaryFile(/tmp/multipartBody1743384472990674315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668032531,"filename":"image_12012025_08_45_02_354554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/761c2157ce2cb8f98279bcfddd3e6aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2430537730807101796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668032531,"filename":"image_12012025_08_45_02_354554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f30af6799efc9e83d776238d02458e51.jpg","text":"TemporaryFile(/tmp/multipartBody744026146611834665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668032531,"filename":"image_12012025_08_45_02_354554_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369943","file1":"1328369939","file0":"1328369936","file3":"1328369946"},"map_files_photo_id_array":[{"photo_id":"1328369943","filename":"file2"},{"photo_id":"1328369939","filename":"file1"},{"photo_id":"1328369936","filename":"file0"},{"photo_id":"1328369946","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369936":["hashtag1","hashtag2"]},{"1328369946":["hashtag1","hashtag2"]},{"1328369943":["hashtag1","hashtag2"]},{"1328369939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369936, 1328369946, 1328369943, 1328369939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28340768814087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:47:03.271551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0003.jpg', '/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0000.jpg', '/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0001.jpg', '/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_02_354554_0003.jpg
/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0000.jpg
/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0001.jpg
/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328369959","1328369955","1328369963","1328369957"],"photo_ids_order":["1328369955","1328369957","1328369959","1328369963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37d096f450961f28620940dcae92daba.jpg","text":"TemporaryFile(/tmp/multipartBody706078012968998191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668093667,"filename":"image_12012025_08_46_02_854231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d02244a46497261a846fd8a6b578d26.jpg","text":"TemporaryFile(/tmp/multipartBody9007472441817820354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668093667,"filename":"image_12012025_08_45_02_354554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68eaa1c0e1a64adf2c31a89d9aeb6138.jpg","text":"TemporaryFile(/tmp/multipartBody5830267176138727422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668093667,"filename":"image_12012025_08_46_02_854231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9687c7159900608138583f9aa9dbaf1c.jpg","text":"TemporaryFile(/tmp/multipartBody1810796711784319250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668093667,"filename":"image_12012025_08_46_02_854231_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328369959","file1":"1328369957","file0":"1328369955","file3":"1328369963"},"map_files_photo_id_array":[{"photo_id":"1328369959","filename":"file2"},{"photo_id":"1328369957","filename":"file1"},{"photo_id":"1328369955","filename":"file0"},{"photo_id":"1328369963","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328369959":["hashtag1","hashtag2"]},{"1328369955":["hashtag1","hashtag2"]},{"1328369963":["hashtag1","hashtag2"]},{"1328369957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328369959, 1328369955, 1328369963, 1328369957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.35190200805664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:48:02.490351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0003.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0000.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0001.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0003.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0000.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0001.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.007198095321655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:48:22.116165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0003.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0000.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0001.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0002.jpg', '/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0003.jpg', '/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_02_854231_0003.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0000.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0001.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0002.jpg
/home/pi/Desktop/images/12012025/08/47/image_12012025_08_47_02_392599_0003.jpg
/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328370911","1328370914","1328370913","1328370907","1328370888","1328370909"],"photo_ids_order":["1328370888","1328370907","1328370909","1328370911","1328370913","1328370914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1399cfab0bf6e2726c5d75835cbceb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3121523427107581607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668177174,"filename":"image_12012025_08_47_02_392599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73e432a169c345be9ed14a2cdd9ec23c.jpg","text":"TemporaryFile(/tmp/multipartBody3987862555985975958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668177174,"filename":"image_12012025_08_48_02_958975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08129d82781d21994c13e73a3499f56b.jpg","text":"TemporaryFile(/tmp/multipartBody7299064891869056156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668177174,"filename":"image_12012025_08_47_02_392599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0542298e977d872357c1479ce365ef3.jpg","text":"TemporaryFile(/tmp/multipartBody6981004291443937378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668177174,"filename":"image_12012025_08_47_02_392599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8483de2efc46cffb88121f69f5ad159f.jpg","text":"TemporaryFile(/tmp/multipartBody397983226733876171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668177174,"filename":"image_12012025_08_46_02_854231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/157b97cccd5707b8d5351bc5c4be6a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3059466120587338360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668177174,"filename":"image_12012025_08_47_02_392599_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328370909","file1":"1328370907","file0":"1328370888","file4":"1328370913","file5":"1328370914","file3":"1328370911"},"map_files_photo_id_array":[{"photo_id":"1328370914","filename":"file5"},{"photo_id":"1328370909","filename":"file2"},{"photo_id":"1328370913","filename":"file4"},{"photo_id":"1328370907","filename":"file1"},{"photo_id":"1328370888","filename":"file0"},{"photo_id":"1328370911","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328370911":["hashtag1","hashtag2"]},{"1328370914":["hashtag1","hashtag2"]},{"1328370913":["hashtag1","hashtag2"]},{"1328370907":["hashtag1","hashtag2"]},{"1328370888":["hashtag1","hashtag2"]},{"1328370909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328370911, 1328370914, 1328370913, 1328370907, 1328370888, 1328370909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21298599243164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:49:22.615528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0001.jpg', '/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0002.jpg', '/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0003.jpg', '/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0000.jpg', '/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0001.jpg', '/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0001.jpg
/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0002.jpg
/home/pi/Desktop/images/12012025/08/48/image_12012025_08_48_02_958975_0003.jpg
/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0000.jpg
/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0001.jpg
/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371244","1328371321","1328371266","1328371323","1328371326","1328371311"],"photo_ids_order":["1328371244","1328371266","1328371311","1328371321","1328371323","1328371326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14bdbee5c806c9d99e5b4a27f63295c5.jpg","text":"TemporaryFile(/tmp/multipartBody3190048855304736714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668237581,"filename":"image_12012025_08_48_02_958975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66c1698980da2549a85432479f314b72.jpg","text":"TemporaryFile(/tmp/multipartBody964377615392248804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668237581,"filename":"image_12012025_08_49_02_478987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da8b8c67836df08cda98d5a41f14bc20.jpg","text":"TemporaryFile(/tmp/multipartBody7724636151917434223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668237581,"filename":"image_12012025_08_48_02_958975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9ad6aa95fdab0d24e8d005981cc5052.jpg","text":"TemporaryFile(/tmp/multipartBody5761497403582308579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668237581,"filename":"image_12012025_08_49_02_478987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69acd4db0631f0f2edbc80653e14470a.jpg","text":"TemporaryFile(/tmp/multipartBody2370746781517977843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668237581,"filename":"image_12012025_08_49_02_478987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/613eddaf2e4123cd4dfafd1acbef861d.jpg","text":"TemporaryFile(/tmp/multipartBody9012473683900856773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668237581,"filename":"image_12012025_08_48_02_958975_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371311","file1":"1328371266","file0":"1328371244","file4":"1328371323","file5":"1328371326","file3":"1328371321"},"map_files_photo_id_array":[{"photo_id":"1328371326","filename":"file5"},{"photo_id":"1328371311","filename":"file2"},{"photo_id":"1328371323","filename":"file4"},{"photo_id":"1328371266","filename":"file1"},{"photo_id":"1328371244","filename":"file0"},{"photo_id":"1328371321","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371244":["hashtag1","hashtag2"]},{"1328371321":["hashtag1","hashtag2"]},{"1328371266":["hashtag1","hashtag2"]},{"1328371323":["hashtag1","hashtag2"]},{"1328371326":["hashtag1","hashtag2"]},{"1328371311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371244, 1328371321, 1328371266, 1328371323, 1328371326, 1328371311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.859070777893066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 08:50:22.166200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0003.jpg', '/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0000.jpg', '/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0001.jpg', '/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0003.jpg
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0000.jpg
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0001.jpg
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.824739933013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:51:03.231759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0003.jpg', '/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0000.jpg', '/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0001.jpg', '/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/49/image_12012025_08_49_02_478987_0003.jpg
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0000.jpg
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0001.jpg
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371345","1328371348","1328371347","1328371344"],"photo_ids_order":["1328371344","1328371345","1328371347","1328371348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad7d16bc6626c9d5c1a2aa85689f07b2.jpg","text":"TemporaryFile(/tmp/multipartBody9221866302567650563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668333506,"filename":"image_12012025_08_50_02_972560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e5dd242e40df58124e8cbc290732255.jpg","text":"TemporaryFile(/tmp/multipartBody3572264689743925533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668333506,"filename":"image_12012025_08_50_02_972560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2028111dc460a2098808713a4bf321bb.jpg","text":"TemporaryFile(/tmp/multipartBody6705692238335850492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668333506,"filename":"image_12012025_08_50_02_972560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9fc1e869cd67bbd086441bc04d88071f.jpg","text":"TemporaryFile(/tmp/multipartBody6026341537014683505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668333506,"filename":"image_12012025_08_49_02_478987_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371347","file1":"1328371345","file0":"1328371344","file3":"1328371348"},"map_files_photo_id_array":[{"photo_id":"1328371347","filename":"file2"},{"photo_id":"1328371345","filename":"file1"},{"photo_id":"1328371344","filename":"file0"},{"photo_id":"1328371348","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371345":["hashtag1","hashtag2"]},{"1328371348":["hashtag1","hashtag2"]},{"1328371347":["hashtag1","hashtag2"]},{"1328371344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371345, 1328371348, 1328371347, 1328371344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19342494010925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:52:02.711513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0003.jpg', '/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0000.jpg', '/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0001.jpg', '/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/50/image_12012025_08_50_02_972560_0003.jpg
/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0000.jpg
/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0001.jpg
/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371469","1328371471","1328371465","1328371467"],"photo_ids_order":["1328371465","1328371467","1328371469","1328371471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50d60b8a760cfa54b6b37003c2f39894.jpg","text":"TemporaryFile(/tmp/multipartBody2290577328581285668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668392756,"filename":"image_12012025_08_51_02_542871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8cb74eed1cdc0bc0000ee207ef9f5407.jpg","text":"TemporaryFile(/tmp/multipartBody1779401824182198073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668392756,"filename":"image_12012025_08_51_02_542871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53743c774aec704351d854156d431189.jpg","text":"TemporaryFile(/tmp/multipartBody2112468056612694039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668392756,"filename":"image_12012025_08_50_02_972560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b23f382cadc564ff8ed5453b1050b36.jpg","text":"TemporaryFile(/tmp/multipartBody7568553840337273004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668392756,"filename":"image_12012025_08_51_02_542871_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371469","file1":"1328371467","file0":"1328371465","file3":"1328371471"},"map_files_photo_id_array":[{"photo_id":"1328371469","filename":"file2"},{"photo_id":"1328371467","filename":"file1"},{"photo_id":"1328371465","filename":"file0"},{"photo_id":"1328371471","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371469":["hashtag1","hashtag2"]},{"1328371471":["hashtag1","hashtag2"]},{"1328371465":["hashtag1","hashtag2"]},{"1328371467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371469, 1328371471, 1328371465, 1328371467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.303617000579834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:53:02.305454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0003.jpg', '/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0000.jpg', '/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0001.jpg', '/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/51/image_12012025_08_51_02_542871_0003.jpg
/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0000.jpg
/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0001.jpg
/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371480","1328371483","1328371485","1328371481"],"photo_ids_order":["1328371480","1328371481","1328371483","1328371485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60132ab1b95d17477014846a63c3f37e.jpg","text":"TemporaryFile(/tmp/multipartBody6726731120170652344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668452441,"filename":"image_12012025_08_51_02_542871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e99a4edd32a6cb66f826554216e3d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4283550913838854626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668452441,"filename":"image_12012025_08_52_03_116046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48c987dcd5e42045b882efcb37f28131.jpg","text":"TemporaryFile(/tmp/multipartBody297039150396192906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668452441,"filename":"image_12012025_08_52_03_116046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a7618e8ec1d78a6843ddf8590d42392.jpg","text":"TemporaryFile(/tmp/multipartBody6080911586917004638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668452441,"filename":"image_12012025_08_52_03_116046_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371483","file1":"1328371481","file0":"1328371480","file3":"1328371485"},"map_files_photo_id_array":[{"photo_id":"1328371483","filename":"file2"},{"photo_id":"1328371481","filename":"file1"},{"photo_id":"1328371480","filename":"file0"},{"photo_id":"1328371485","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371480":["hashtag1","hashtag2"]},{"1328371483":["hashtag1","hashtag2"]},{"1328371485":["hashtag1","hashtag2"]},{"1328371481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371480, 1328371483, 1328371485, 1328371481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.392895221710205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:54:02.808014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0003.jpg', '/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0000.jpg', '/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0001.jpg', '/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/52/image_12012025_08_52_03_116046_0003.jpg
/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0000.jpg
/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0001.jpg
/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371495","1328371497","1328371494","1328371499"],"photo_ids_order":["1328371494","1328371495","1328371497","1328371499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53fd82a937eb53c78321e41710c4e0e8.jpg","text":"TemporaryFile(/tmp/multipartBody5436641119538976704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668513036,"filename":"image_12012025_08_53_02_646816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/714ddda99a0c7560ffdddb569bc4cd9f.jpg","text":"TemporaryFile(/tmp/multipartBody1513660049435278444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668513036,"filename":"image_12012025_08_53_02_646816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39bd92930559b2c1974751bf045c4688.jpg","text":"TemporaryFile(/tmp/multipartBody7025387555260365825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668513036,"filename":"image_12012025_08_52_03_116046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14c6050dcfdf427fbff26180af133710.jpg","text":"TemporaryFile(/tmp/multipartBody1695703021696726192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668513036,"filename":"image_12012025_08_53_02_646816_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371497","file1":"1328371495","file0":"1328371494","file3":"1328371499"},"map_files_photo_id_array":[{"photo_id":"1328371497","filename":"file2"},{"photo_id":"1328371495","filename":"file1"},{"photo_id":"1328371494","filename":"file0"},{"photo_id":"1328371499","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371495":["hashtag1","hashtag2"]},{"1328371497":["hashtag1","hashtag2"]},{"1328371494":["hashtag1","hashtag2"]},{"1328371499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371495, 1328371497, 1328371494, 1328371499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.81120848655701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:55:02.362500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0003.jpg', '/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0000.jpg', '/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0001.jpg', '/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/53/image_12012025_08_53_02_646816_0003.jpg
/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0000.jpg
/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0001.jpg
/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371526","1328371523","1328371528","1328371524"],"photo_ids_order":["1328371523","1328371524","1328371526","1328371528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50a9dc419a66e035bfc91a855a1a4600.jpg","text":"TemporaryFile(/tmp/multipartBody6806932563032885312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668572589,"filename":"image_12012025_08_54_02_161834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76af633e840a2ea5b4b07c9c7b42a415.jpg","text":"TemporaryFile(/tmp/multipartBody3219189125972238618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668572589,"filename":"image_12012025_08_53_02_646816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f60b6e6329046a287a5db33ce5e2c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5297713932820716355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668572589,"filename":"image_12012025_08_54_02_161834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfdb0a213a8d53a23f53c80da69212d5.jpg","text":"TemporaryFile(/tmp/multipartBody7169288022543552208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668572589,"filename":"image_12012025_08_54_02_161834_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371526","file1":"1328371524","file0":"1328371523","file3":"1328371528"},"map_files_photo_id_array":[{"photo_id":"1328371526","filename":"file2"},{"photo_id":"1328371524","filename":"file1"},{"photo_id":"1328371523","filename":"file0"},{"photo_id":"1328371528","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371526":["hashtag1","hashtag2"]},{"1328371523":["hashtag1","hashtag2"]},{"1328371528":["hashtag1","hashtag2"]},{"1328371524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371526, 1328371523, 1328371528, 1328371524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23257565498352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:56:03.003771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0003.jpg', '/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0000.jpg', '/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0001.jpg', '/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/54/image_12012025_08_54_02_161834_0003.jpg
/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0000.jpg
/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0001.jpg
/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371555","1328371558","1328371560","1328371556"],"photo_ids_order":["1328371555","1328371556","1328371558","1328371560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ec31fa023ca88e2f6a1edf1b3f96655.jpg","text":"TemporaryFile(/tmp/multipartBody896361643782022796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668633274,"filename":"image_12012025_08_54_02_161834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8f7ebad4db14b866a8e11403dc9dcac.jpg","text":"TemporaryFile(/tmp/multipartBody5180080219709712379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668633274,"filename":"image_12012025_08_55_02_782712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0526d1bc035bbb63895a95ecfb5f1e16.jpg","text":"TemporaryFile(/tmp/multipartBody7877041779661492253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668633274,"filename":"image_12012025_08_55_02_782712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e2f9a6d185bf364da11f56cee154c291.jpg","text":"TemporaryFile(/tmp/multipartBody4299836644525416760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668633274,"filename":"image_12012025_08_55_02_782712_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371558","file1":"1328371556","file0":"1328371555","file3":"1328371560"},"map_files_photo_id_array":[{"photo_id":"1328371558","filename":"file2"},{"photo_id":"1328371556","filename":"file1"},{"photo_id":"1328371555","filename":"file0"},{"photo_id":"1328371560","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371555":["hashtag1","hashtag2"]},{"1328371558":["hashtag1","hashtag2"]},{"1328371560":["hashtag1","hashtag2"]},{"1328371556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371555, 1328371558, 1328371560, 1328371556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.207072734832764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:57:02.556342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0003.jpg', '/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0000.jpg', '/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0001.jpg', '/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/55/image_12012025_08_55_02_782712_0003.jpg
/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0000.jpg
/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0001.jpg
/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371640","1328371642","1328371645","1328371638"],"photo_ids_order":["1328371638","1328371640","1328371642","1328371645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ab0d96e496f90bfa8f91c303724a59e.jpg","text":"TemporaryFile(/tmp/multipartBody1086034427007349414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668692674,"filename":"image_12012025_08_56_02_398781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a62af434c377696aa0d119f05332423.jpg","text":"TemporaryFile(/tmp/multipartBody1947715195610479078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668692674,"filename":"image_12012025_08_56_02_398781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8b0e4912b9fa14c1836d046c29dded7.jpg","text":"TemporaryFile(/tmp/multipartBody7029125523853557800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668692674,"filename":"image_12012025_08_56_02_398781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36fb076b5d109366ba1241920ca9a735.jpg","text":"TemporaryFile(/tmp/multipartBody3042625320487919885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668692674,"filename":"image_12012025_08_55_02_782712_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371642","file1":"1328371640","file0":"1328371638","file3":"1328371645"},"map_files_photo_id_array":[{"photo_id":"1328371642","filename":"file2"},{"photo_id":"1328371640","filename":"file1"},{"photo_id":"1328371638","filename":"file0"},{"photo_id":"1328371645","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371640":["hashtag1","hashtag2"]},{"1328371642":["hashtag1","hashtag2"]},{"1328371645":["hashtag1","hashtag2"]},{"1328371638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371640, 1328371642, 1328371645, 1328371638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.103238582611084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 08:59:02.463890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0003.jpg', '/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0000.jpg', '/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0001.jpg', '/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_02_398781_0003.jpg
/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0000.jpg
/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0001.jpg
/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371703","1328371714","1328371716","1328371710"],"photo_ids_order":["1328371703","1328371710","1328371714","1328371716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d070dc7c66e88f7207c8ea105c0f73e.jpg","text":"TemporaryFile(/tmp/multipartBody696224386342775036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668812618,"filename":"image_12012025_08_56_02_398781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09045532384a26ffbcc35b2adc609fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2538428201488150302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668812618,"filename":"image_12012025_08_57_02_887545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/354271f011af69e3cbad3c4689fb423f.jpg","text":"TemporaryFile(/tmp/multipartBody8996003473044263353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668812618,"filename":"image_12012025_08_57_02_887545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e64cb357c5df3c9524f3d218fd2586a4.jpg","text":"TemporaryFile(/tmp/multipartBody5438107848965172949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668812618,"filename":"image_12012025_08_57_02_887545_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371714","file1":"1328371710","file0":"1328371703","file3":"1328371716"},"map_files_photo_id_array":[{"photo_id":"1328371714","filename":"file2"},{"photo_id":"1328371710","filename":"file1"},{"photo_id":"1328371703","filename":"file0"},{"photo_id":"1328371716","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371703":["hashtag1","hashtag2"]},{"1328371714":["hashtag1","hashtag2"]},{"1328371716":["hashtag1","hashtag2"]},{"1328371710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371703, 1328371714, 1328371716, 1328371710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29812479019165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:00:02.844140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0003.jpg', '/home/pi/Desktop/images/12012025/08/58/image_12012025_08_58_02_363499_0000.jpg', '/home/pi/Desktop/images/12012025/08/58/image_12012025_08_58_02_363499_0002.jpg', '/home/pi/Desktop/images/12012025/08/58/image_12012025_08_58_02_363499_0003.jpg', '/home/pi/Desktop/images/12012025/08/59/image_12012025_08_59_02_970985_0000.jpg', '/home/pi/Desktop/images/12012025/08/59/image_12012025_08_59_02_970985_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/57/image_12012025_08_57_02_887545_0003.jpg
/home/pi/Desktop/images/12012025/08/58/image_12012025_08_58_02_363499_0000.jpg
/home/pi/Desktop/images/12012025/08/58/image_12012025_08_58_02_363499_0002.jpg
/home/pi/Desktop/images/12012025/08/58/image_12012025_08_58_02_363499_0003.jpg
/home/pi/Desktop/images/12012025/08/59/image_12012025_08_59_02_970985_0000.jpg
/home/pi/Desktop/images/12012025/08/59/image_12012025_08_59_02_970985_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371751","1328371745","1328371786","1328371854","1328371853","1328371748"],"photo_ids_order":["1328371745","1328371748","1328371751","1328371786","1328371853","1328371854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e91aef2de74e87b2a734ae86567c5ed.jpg","text":"TemporaryFile(/tmp/multipartBody4538307433647074775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668877764,"filename":"image_12012025_08_58_02_363499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35a1df015b7e8819c84319fc78ed2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5820265435438530444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668877764,"filename":"image_12012025_08_57_02_887545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fe189e082db31323ce954ce64e4c7d7.jpg","text":"TemporaryFile(/tmp/multipartBody5910217198914191633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668877764,"filename":"image_12012025_08_58_02_363499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f2e8895304000ff005513081e3604fc.jpg","text":"TemporaryFile(/tmp/multipartBody3628554209432830542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668877764,"filename":"image_12012025_08_59_02_970985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f5a5849a1e626158403abe4319b2562.jpg","text":"TemporaryFile(/tmp/multipartBody4770991841134935668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668877764,"filename":"image_12012025_08_59_02_970985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e96476b44edbad2b38d743e66d68a109.jpg","text":"TemporaryFile(/tmp/multipartBody1763921728762067287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668877764,"filename":"image_12012025_08_58_02_363499_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371751","file1":"1328371748","file0":"1328371745","file4":"1328371853","file5":"1328371854","file3":"1328371786"},"map_files_photo_id_array":[{"photo_id":"1328371854","filename":"file5"},{"photo_id":"1328371751","filename":"file2"},{"photo_id":"1328371853","filename":"file4"},{"photo_id":"1328371748","filename":"file1"},{"photo_id":"1328371745","filename":"file0"},{"photo_id":"1328371786","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371751":["hashtag1","hashtag2"]},{"1328371745":["hashtag1","hashtag2"]},{"1328371786":["hashtag1","hashtag2"]},{"1328371854":["hashtag1","hashtag2"]},{"1328371853":["hashtag1","hashtag2"]},{"1328371748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371751, 1328371745, 1328371786, 1328371854, 1328371853, 1328371748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24475431442261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:01:02.631459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/59/image_12012025_08_59_02_970985_0002.jpg', '/home/pi/Desktop/images/12012025/09/00/image_12012025_09_00_02_128982_0000.jpg', '/home/pi/Desktop/images/12012025/09/00/image_12012025_09_00_02_128982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/08/59/image_12012025_08_59_02_970985_0002.jpg
/home/pi/Desktop/images/12012025/09/00/image_12012025_09_00_02_128982_0000.jpg
/home/pi/Desktop/images/12012025/09/00/image_12012025_09_00_02_128982_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328371859","1328371857","1328371862"],"photo_ids_order":["1328371857","1328371859","1328371862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/687ae0f455b33c9d3f56a9dc780c7d52.jpg","text":"TemporaryFile(/tmp/multipartBody4768566007100369896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668930601,"filename":"image_12012025_09_00_02_128982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0453fc7a5b038ba5f266c978fd36336.jpg","text":"TemporaryFile(/tmp/multipartBody7278925691226906557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668930601,"filename":"image_12012025_08_59_02_970985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7aa1b2fc891c29237502ac94b3d7b73d.jpg","text":"TemporaryFile(/tmp/multipartBody3112834618982001963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668930601,"filename":"image_12012025_09_00_02_128982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328371862","file1":"1328371859","file0":"1328371857"},"map_files_photo_id_array":[{"photo_id":"1328371862","filename":"file2"},{"photo_id":"1328371859","filename":"file1"},{"photo_id":"1328371857","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328371859":["hashtag1","hashtag2"]},{"1328371857":["hashtag1","hashtag2"]},{"1328371862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328371859, 1328371857, 1328371862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.640462398529053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:02:02.951958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/00/image_12012025_09_00_02_128982_0003.jpg', '/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0000.jpg', '/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0001.jpg', '/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/00/image_12012025_09_00_02_128982_0003.jpg
/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0000.jpg
/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0001.jpg
/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328373497","1328373493","1328373487","1328373490"],"photo_ids_order":["1328373487","1328373490","1328373493","1328373497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5954b8a284a7960694a0f189e23f26ab.jpg","text":"TemporaryFile(/tmp/multipartBody3933790788160268011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668993385,"filename":"image_12012025_09_01_02_852281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c58be73af0f674a79d2a113cb939726d.jpg","text":"TemporaryFile(/tmp/multipartBody1636883312366929218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668993385,"filename":"image_12012025_09_01_02_852281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b1e06e7bbfd0d26490e20552256df54.jpg","text":"TemporaryFile(/tmp/multipartBody5142796940445077345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668993385,"filename":"image_12012025_09_00_02_128982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d84af7996abbc43dafe164eedab6e61a.jpg","text":"TemporaryFile(/tmp/multipartBody3076274548641485324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736668993385,"filename":"image_12012025_09_01_02_852281_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328373493","file1":"1328373490","file0":"1328373487","file3":"1328373497"},"map_files_photo_id_array":[{"photo_id":"1328373493","filename":"file2"},{"photo_id":"1328373490","filename":"file1"},{"photo_id":"1328373487","filename":"file0"},{"photo_id":"1328373497","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328373497":["hashtag1","hashtag2"]},{"1328373493":["hashtag1","hashtag2"]},{"1328373487":["hashtag1","hashtag2"]},{"1328373490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328373497, 1328373493, 1328373487, 1328373490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.76637840270996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:03:02.579690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0003.jpg', '/home/pi/Desktop/images/12012025/09/02/image_12012025_09_02_02_339933_0000.jpg', '/home/pi/Desktop/images/12012025/09/02/image_12012025_09_02_02_339933_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/01/image_12012025_09_01_02_852281_0003.jpg
/home/pi/Desktop/images/12012025/09/02/image_12012025_09_02_02_339933_0000.jpg
/home/pi/Desktop/images/12012025/09/02/image_12012025_09_02_02_339933_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328373625","1328373620","1328373622"],"photo_ids_order":["1328373620","1328373622","1328373625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f061af63ba19bc4d99e497007ff73b4.jpg","text":"TemporaryFile(/tmp/multipartBody7307103240481432033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669050626,"filename":"image_12012025_09_02_02_339933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/141437a3c2a60e0f9f0f0816cc2ee279.jpg","text":"TemporaryFile(/tmp/multipartBody2187074489278188786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669050626,"filename":"image_12012025_09_01_02_852281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/578ae925093fbb34d38fd5ed7671fd74.jpg","text":"TemporaryFile(/tmp/multipartBody3774223413394159669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669050626,"filename":"image_12012025_09_02_02_339933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328373625","file1":"1328373622","file0":"1328373620"},"map_files_photo_id_array":[{"photo_id":"1328373625","filename":"file2"},{"photo_id":"1328373622","filename":"file1"},{"photo_id":"1328373620","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328373625":["hashtag1","hashtag2"]},{"1328373620":["hashtag1","hashtag2"]},{"1328373622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328373625, 1328373620, 1328373622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.513954877853394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:04:02.179576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/02/image_12012025_09_02_02_339933_0003.jpg', '/home/pi/Desktop/images/12012025/09/03/image_12012025_09_03_03_023155_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/02/image_12012025_09_02_02_339933_0003.jpg
/home/pi/Desktop/images/12012025/09/03/image_12012025_09_03_03_023155_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328373677","1328373649"],"photo_ids_order":["1328373649","1328373677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b2d5d2069549255f73eb13460220493.jpg","text":"TemporaryFile(/tmp/multipartBody1808421791371775067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669107716,"filename":"image_12012025_09_03_03_023155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e86bb390319a48467ad25fe44ae7b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5340292817920846107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669107716,"filename":"image_12012025_09_02_02_339933_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328373677","file0":"1328373649"},"map_files_photo_id_array":[{"photo_id":"1328373677","filename":"file1"},{"photo_id":"1328373649","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328373677":["hashtag1","hashtag2"]},{"1328373649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328373677, 1328373649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 33.056824684143066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:05:02.989886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/03/image_12012025_09_03_03_023155_0003.jpg', '/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0000.jpg', '/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/03/image_12012025_09_03_03_023155_0003.jpg
/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0000.jpg
/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_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.600062608718872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:05:22.396372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/03/image_12012025_09_03_03_023155_0003.jpg', '/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0000.jpg', '/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0001.jpg', '/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0002.jpg', '/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0001.jpg', '/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/03/image_12012025_09_03_03_023155_0003.jpg
/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0000.jpg
/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0001.jpg
/home/pi/Desktop/images/12012025/09/04/image_12012025_09_04_02_557104_0002.jpg
/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0001.jpg
/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375157","1328375118","1328375120","1328375119","1328375358","1328375343"],"photo_ids_order":["1328375118","1328375119","1328375120","1328375157","1328375343","1328375358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4277265b71c291fc7524f4ce02e2d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6152492795659403502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669197581,"filename":"image_12012025_09_04_02_557104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06fd373f2e48d449ea73e9cd16021feb.jpg","text":"TemporaryFile(/tmp/multipartBody8478244348421757496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669197581,"filename":"image_12012025_09_03_03_023155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01be96d3c24b87a40fa8b4b3f0fd3f78.jpg","text":"TemporaryFile(/tmp/multipartBody1384571032767346515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669197581,"filename":"image_12012025_09_04_02_557104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e71161ef706d89b66b086c8d58f98e08.jpg","text":"TemporaryFile(/tmp/multipartBody6808530564716515284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669197581,"filename":"image_12012025_09_04_02_557104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6b572980cefe663c1b20eddc61dd422.jpg","text":"TemporaryFile(/tmp/multipartBody1635177502242390590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669197581,"filename":"image_12012025_09_05_02_208780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4bdd68906a7d95e8bed2ee1dbb002ee.jpg","text":"TemporaryFile(/tmp/multipartBody5741351039848782102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669197581,"filename":"image_12012025_09_05_02_208780_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375120","file1":"1328375119","file0":"1328375118","file4":"1328375343","file5":"1328375358","file3":"1328375157"},"map_files_photo_id_array":[{"photo_id":"1328375358","filename":"file5"},{"photo_id":"1328375120","filename":"file2"},{"photo_id":"1328375343","filename":"file4"},{"photo_id":"1328375119","filename":"file1"},{"photo_id":"1328375118","filename":"file0"},{"photo_id":"1328375157","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375157":["hashtag1","hashtag2"]},{"1328375118":["hashtag1","hashtag2"]},{"1328375120":["hashtag1","hashtag2"]},{"1328375119":["hashtag1","hashtag2"]},{"1328375358":["hashtag1","hashtag2"]},{"1328375343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375157, 1328375118, 1328375120, 1328375119, 1328375358, 1328375343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.13797426223755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:06:21.940583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0003.jpg', '/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0000.jpg', '/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0001.jpg', '/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0003.jpg
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0000.jpg
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0001.jpg
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.976087093353271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:07:03.160869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0003.jpg', '/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0000.jpg', '/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0001.jpg', '/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/05/image_12012025_09_05_02_208780_0003.jpg
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0000.jpg
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0001.jpg
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375427","1328375422","1328375430","1328375424"],"photo_ids_order":["1328375422","1328375424","1328375427","1328375430"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d4c1118800048198d70727c922d4f84.jpg","text":"TemporaryFile(/tmp/multipartBody8109814213679824064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669293778,"filename":"image_12012025_09_06_02_726656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a69cca87bc5b559e930116fb52ee8756.jpg","text":"TemporaryFile(/tmp/multipartBody2548095528301432074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669293778,"filename":"image_12012025_09_05_02_208780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a7ab398f508f351bec1dd67e21d3fc0.jpg","text":"TemporaryFile(/tmp/multipartBody4482823928817797456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669293778,"filename":"image_12012025_09_06_02_726656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9487224d6b7cbd7ed18adc5901439aa6.jpg","text":"TemporaryFile(/tmp/multipartBody9109184933757379710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669293778,"filename":"image_12012025_09_06_02_726656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375427","file1":"1328375424","file0":"1328375422","file3":"1328375430"},"map_files_photo_id_array":[{"photo_id":"1328375427","filename":"file2"},{"photo_id":"1328375424","filename":"file1"},{"photo_id":"1328375422","filename":"file0"},{"photo_id":"1328375430","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375427":["hashtag1","hashtag2"]},{"1328375422":["hashtag1","hashtag2"]},{"1328375430":["hashtag1","hashtag2"]},{"1328375424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375427, 1328375422, 1328375430, 1328375424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25831460952759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:08:02.435325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0003.jpg', '/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0000.jpg', '/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0001.jpg', '/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/06/image_12012025_09_06_02_726656_0003.jpg
/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0000.jpg
/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0001.jpg
/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375437","1328375442","1328375445","1328375439"],"photo_ids_order":["1328375437","1328375439","1328375442","1328375445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82501249cd34722555718431b86b581c.jpg","text":"TemporaryFile(/tmp/multipartBody3954819952072703685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669352891,"filename":"image_12012025_09_06_02_726656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6c39b38807e472f2580ac32397c28c6.jpg","text":"TemporaryFile(/tmp/multipartBody6718928377606094732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669352891,"filename":"image_12012025_09_07_02_309894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6702a937ebc5748540f5b8aa2cdaf4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6517562053562706682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669352891,"filename":"image_12012025_09_07_02_309894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e1009ad4e2ef75b8fc06409044bcc9a.jpg","text":"TemporaryFile(/tmp/multipartBody3355747607003205339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669352891,"filename":"image_12012025_09_07_02_309894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375442","file1":"1328375439","file0":"1328375437","file3":"1328375445"},"map_files_photo_id_array":[{"photo_id":"1328375442","filename":"file2"},{"photo_id":"1328375439","filename":"file1"},{"photo_id":"1328375437","filename":"file0"},{"photo_id":"1328375445","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375437":["hashtag1","hashtag2"]},{"1328375442":["hashtag1","hashtag2"]},{"1328375445":["hashtag1","hashtag2"]},{"1328375439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375437, 1328375442, 1328375445, 1328375439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.123178243637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:09:03.076333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0003.jpg', '/home/pi/Desktop/images/12012025/09/08/image_12012025_09_08_02_808160_0000.jpg', '/home/pi/Desktop/images/12012025/09/08/image_12012025_09_08_02_808160_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/07/image_12012025_09_07_02_309894_0003.jpg
/home/pi/Desktop/images/12012025/09/08/image_12012025_09_08_02_808160_0000.jpg
/home/pi/Desktop/images/12012025/09/08/image_12012025_09_08_02_808160_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375454","1328375456","1328375458"],"photo_ids_order":["1328375454","1328375456","1328375458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f0ed4c156ef7c05232c10ebfa77de58.jpg","text":"TemporaryFile(/tmp/multipartBody7068509952086200261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669411047,"filename":"image_12012025_09_07_02_309894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a09f95e128cc4614c2f1aa7465d04026.jpg","text":"TemporaryFile(/tmp/multipartBody4005374759591260206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669411047,"filename":"image_12012025_09_08_02_808160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/442c5f5d750d7b9f7908785b2a0566e5.jpg","text":"TemporaryFile(/tmp/multipartBody6446053295596102577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669411047,"filename":"image_12012025_09_08_02_808160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375458","file1":"1328375456","file0":"1328375454"},"map_files_photo_id_array":[{"photo_id":"1328375458","filename":"file2"},{"photo_id":"1328375456","filename":"file1"},{"photo_id":"1328375454","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375454":["hashtag1","hashtag2"]},{"1328375456":["hashtag1","hashtag2"]},{"1328375458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375454, 1328375456, 1328375458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.676632165908813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:10:02.420395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/08/image_12012025_09_08_02_808160_0003.jpg', '/home/pi/Desktop/images/12012025/09/09/image_12012025_09_09_02_335458_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/08/image_12012025_09_08_02_808160_0003.jpg
/home/pi/Desktop/images/12012025/09/09/image_12012025_09_09_02_335458_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375519","1328375536"],"photo_ids_order":["1328375519","1328375536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad6ff6b057910cd6f00dfdf3300d2753.jpg","text":"TemporaryFile(/tmp/multipartBody4920103243269239129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669467964,"filename":"image_12012025_09_08_02_808160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f22c469862f4b35228f13bfec4889afb.jpg","text":"TemporaryFile(/tmp/multipartBody8616770215473646402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669467964,"filename":"image_12012025_09_09_02_335458_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328375536","file0":"1328375519"},"map_files_photo_id_array":[{"photo_id":"1328375536","filename":"file1"},{"photo_id":"1328375519","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375519":["hashtag1","hashtag2"]},{"1328375536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375519, 1328375536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.7337863445282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:11:03.252601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/09/image_12012025_09_09_02_335458_0003.jpg', '/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0000.jpg', '/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/09/image_12012025_09_09_02_335458_0003.jpg
/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0000.jpg
/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.579338550567627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:11:22.530138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/09/image_12012025_09_09_02_335458_0003.jpg', '/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0000.jpg', '/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0002.jpg', '/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0003.jpg', '/home/pi/Desktop/images/12012025/09/11/image_12012025_09_11_02_409404_0001.jpg', '/home/pi/Desktop/images/12012025/09/11/image_12012025_09_11_02_409404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/09/image_12012025_09_09_02_335458_0003.jpg
/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0000.jpg
/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0002.jpg
/home/pi/Desktop/images/12012025/09/10/image_12012025_09_10_02_788332_0003.jpg
/home/pi/Desktop/images/12012025/09/11/image_12012025_09_11_02_409404_0001.jpg
/home/pi/Desktop/images/12012025/09/11/image_12012025_09_11_02_409404_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375631","1328375627","1328375624","1328375638","1328375629","1328375623"],"photo_ids_order":["1328375623","1328375624","1328375627","1328375629","1328375631","1328375638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6a8d2b52634e6db5683a9dc91337b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7947143080677018617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669557717,"filename":"image_12012025_09_11_02_409404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63171c9bc8c7b6401755742663e5ee28.jpg","text":"TemporaryFile(/tmp/multipartBody1314022574968633295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669557717,"filename":"image_12012025_09_10_02_788332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16041ba8e8488fd8e0d9ef7a43f77707.jpg","text":"TemporaryFile(/tmp/multipartBody6345956142606189039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669557717,"filename":"image_12012025_09_10_02_788332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f05036e4a6452f5996e8a36fce99b40d.jpg","text":"TemporaryFile(/tmp/multipartBody4168335069556155571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669557717,"filename":"image_12012025_09_11_02_409404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c090f6a296330f0ce18691b2454fac7c.jpg","text":"TemporaryFile(/tmp/multipartBody661277019224085793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669557717,"filename":"image_12012025_09_10_02_788332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a693c864b70dc5053c7b0ed1b7e3aee.jpg","text":"TemporaryFile(/tmp/multipartBody1435250468619422096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669557717,"filename":"image_12012025_09_09_02_335458_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375627","file1":"1328375624","file0":"1328375623","file4":"1328375631","file5":"1328375638","file3":"1328375629"},"map_files_photo_id_array":[{"photo_id":"1328375638","filename":"file5"},{"photo_id":"1328375627","filename":"file2"},{"photo_id":"1328375631","filename":"file4"},{"photo_id":"1328375624","filename":"file1"},{"photo_id":"1328375623","filename":"file0"},{"photo_id":"1328375629","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375631":["hashtag1","hashtag2"]},{"1328375627":["hashtag1","hashtag2"]},{"1328375624":["hashtag1","hashtag2"]},{"1328375638":["hashtag1","hashtag2"]},{"1328375629":["hashtag1","hashtag2"]},{"1328375623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375631, 1328375627, 1328375624, 1328375638, 1328375629, 1328375623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.674034118652344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:12:22.167146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/11/image_12012025_09_11_02_409404_0003.jpg', '/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0000.jpg', '/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0001.jpg', '/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/11/image_12012025_09_11_02_409404_0003.jpg
/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0000.jpg
/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0001.jpg
/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375756","1328375758","1328375668","1328375670"],"photo_ids_order":["1328375668","1328375670","1328375756","1328375758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6842b3aed55b12bb318a35d58ea29d1.jpg","text":"TemporaryFile(/tmp/multipartBody4736449305132649057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669612536,"filename":"image_12012025_09_12_02_918204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66e9d89e774b560342e0c12a5178b8dc.jpg","text":"TemporaryFile(/tmp/multipartBody8178382622032641936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669612536,"filename":"image_12012025_09_12_02_918204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ab13f92241d13a6930676350a525b97.jpg","text":"TemporaryFile(/tmp/multipartBody7676954556038861905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669612536,"filename":"image_12012025_09_11_02_409404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a07c841666e0570b3f947b95305e1129.jpg","text":"TemporaryFile(/tmp/multipartBody1373703334612382228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669612536,"filename":"image_12012025_09_12_02_918204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375756","file1":"1328375670","file0":"1328375668","file3":"1328375758"},"map_files_photo_id_array":[{"photo_id":"1328375756","filename":"file2"},{"photo_id":"1328375670","filename":"file1"},{"photo_id":"1328375668","filename":"file0"},{"photo_id":"1328375758","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375756":["hashtag1","hashtag2"]},{"1328375758":["hashtag1","hashtag2"]},{"1328375668":["hashtag1","hashtag2"]},{"1328375670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375756, 1328375758, 1328375668, 1328375670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.30612254142761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:13:03.157077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:13:22.593861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0003.jpg', '/home/pi/Desktop/images/12012025/09/13/image_12012025_09_13_02_540787_0001.jpg', '/home/pi/Desktop/images/12012025/09/13/image_12012025_09_13_02_540787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/12/image_12012025_09_12_02_918204_0003.jpg
/home/pi/Desktop/images/12012025/09/13/image_12012025_09_13_02_540787_0001.jpg
/home/pi/Desktop/images/12012025/09/13/image_12012025_09_13_02_540787_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375802","1328375798","1328375804"],"photo_ids_order":["1328375798","1328375802","1328375804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e547e80c7e95db67d7a140553c03bd29.jpg","text":"TemporaryFile(/tmp/multipartBody4203869066236944579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669670512,"filename":"image_12012025_09_13_02_540787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5423183a02a940fc492754c345cb4df.jpg","text":"TemporaryFile(/tmp/multipartBody9075548068200523785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669670512,"filename":"image_12012025_09_12_02_918204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f942efe4c8c67448c9d3a0ffd302a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7712006862438240782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669670512,"filename":"image_12012025_09_13_02_540787_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375804","file1":"1328375802","file0":"1328375798"},"map_files_photo_id_array":[{"photo_id":"1328375804","filename":"file2"},{"photo_id":"1328375802","filename":"file1"},{"photo_id":"1328375798","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375802":["hashtag1","hashtag2"]},{"1328375798":["hashtag1","hashtag2"]},{"1328375804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375802, 1328375798, 1328375804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.035366773605347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:14:02.785831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:14:22.345338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/13/image_12012025_09_13_02_540787_0003.jpg', '/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0000.jpg', '/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0001.jpg', '/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/13/image_12012025_09_13_02_540787_0003.jpg
/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0000.jpg
/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0001.jpg
/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328375838","1328375823","1328375858","1328375825"],"photo_ids_order":["1328375823","1328375825","1328375838","1328375858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9f5d6692d4aad168a47385a86866a7d.jpg","text":"TemporaryFile(/tmp/multipartBody347671246741888509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669732723,"filename":"image_12012025_09_14_03_010021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9b684bc3ed088172afa50a2c3f72f85.jpg","text":"TemporaryFile(/tmp/multipartBody1966756803024412445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669732723,"filename":"image_12012025_09_13_02_540787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c322a6784f4f7c875644b4aca2449525.jpg","text":"TemporaryFile(/tmp/multipartBody8609149050007214762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669732723,"filename":"image_12012025_09_14_03_010021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7641b7eed1dc071424df858c89ff19d.jpg","text":"TemporaryFile(/tmp/multipartBody6841015057179369837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669732723,"filename":"image_12012025_09_14_03_010021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328375838","file1":"1328375825","file0":"1328375823","file3":"1328375858"},"map_files_photo_id_array":[{"photo_id":"1328375838","filename":"file2"},{"photo_id":"1328375825","filename":"file1"},{"photo_id":"1328375823","filename":"file0"},{"photo_id":"1328375858","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328375838":["hashtag1","hashtag2"]},{"1328375823":["hashtag1","hashtag2"]},{"1328375858":["hashtag1","hashtag2"]},{"1328375825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328375838, 1328375823, 1328375858, 1328375825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4436457157135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:15:21.847555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0003.jpg', '/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0003.jpg
/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_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.104808568954468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:16:02.805318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0003.jpg', '/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/14/image_12012025_09_14_03_010021_0003.jpg
/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328376002","1328376000"],"photo_ids_order":["1328376000","1328376002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/61420d70036d20e8286148ff54bd5805.jpg","text":"TemporaryFile(/tmp/multipartBody3489266855335378881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669828325,"filename":"image_12012025_09_15_02_685884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bb748527e39659049c9fc27b19891b2.jpg","text":"TemporaryFile(/tmp/multipartBody4241389616515959292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669828325,"filename":"image_12012025_09_14_03_010021_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328376002","file0":"1328376000"},"map_files_photo_id_array":[{"photo_id":"1328376002","filename":"file1"},{"photo_id":"1328376000","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328376002":["hashtag1","hashtag2"]},{"1328376000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328376002, 1328376000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.492050647735596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:17:02.488523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0002.jpg', '/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0000.jpg', '/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0002.jpg
/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0000.jpg
/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_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.625529527664185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:17:21.903320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0002.jpg', '/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0000.jpg', '/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0001.jpg', '/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0003.jpg', '/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0000.jpg', '/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/15/image_12012025_09_15_02_685884_0002.jpg
/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0000.jpg
/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0001.jpg
/home/pi/Desktop/images/12012025/09/16/image_12012025_09_16_02_198836_0003.jpg
/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0000.jpg
/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_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":["1328376023","1328376029","1328376025","1328376027","1328376021","1328376024"],"photo_ids_order":["1328376021","1328376023","1328376024","1328376025","1328376027","1328376029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/720f56546f40969a36d8cba080ecf121.jpg","text":"TemporaryFile(/tmp/multipartBody6445147721623662617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669917210,"filename":"image_12012025_09_16_02_198836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17170424b2c44401716e4369e4852a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5103601157397646497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669917210,"filename":"image_12012025_09_17_02_728890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66897149b7d99a9367e4b74f2e22a270.jpg","text":"TemporaryFile(/tmp/multipartBody5587241669060633749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669917210,"filename":"image_12012025_09_16_02_198836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2baad81923e60cc8a60b382f5fe7596c.jpg","text":"TemporaryFile(/tmp/multipartBody6380579629741967663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669917210,"filename":"image_12012025_09_17_02_728890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b830b0aeb1b33b2ff09bc08a7e4e256.jpg","text":"TemporaryFile(/tmp/multipartBody8149498665043435877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669917210,"filename":"image_12012025_09_15_02_685884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e374092d305b32b9ec4468766e7020df.jpg","text":"TemporaryFile(/tmp/multipartBody8699150237954574901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736669917210,"filename":"image_12012025_09_16_02_198836_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328376024","file1":"1328376023","file0":"1328376021","file4":"1328376027","file5":"1328376029","file3":"1328376025"},"map_files_photo_id_array":[{"photo_id":"1328376029","filename":"file5"},{"photo_id":"1328376024","filename":"file2"},{"photo_id":"1328376027","filename":"file4"},{"photo_id":"1328376023","filename":"file1"},{"photo_id":"1328376021","filename":"file0"},{"photo_id":"1328376025","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328376023":["hashtag1","hashtag2"]},{"1328376029":["hashtag1","hashtag2"]},{"1328376025":["hashtag1","hashtag2"]},{"1328376027":["hashtag1","hashtag2"]},{"1328376021":["hashtag1","hashtag2"]},{"1328376024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328376023, 1328376029, 1328376025, 1328376027, 1328376021, 1328376024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.14947509765625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:19:02.740219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0002.jpg', '/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0003.jpg', '/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0000.jpg', '/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0001.jpg', '/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0002.jpg
/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_02_728890_0003.jpg
/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0000.jpg
/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0001.jpg
/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328376623","1328376265","1328376928","1328376169","1328376312"],"photo_ids_order":["1328376169","1328376265","1328376312","1328376623","1328376928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab3d6d711c05534a6e6c59c8015fa3a2.jpg","text":"TemporaryFile(/tmp/multipartBody6700715676846384674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670015638,"filename":"image_12012025_09_18_02_251756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ea5085f4107019ada5078e54584ecd6.jpg","text":"TemporaryFile(/tmp/multipartBody6539378343590749777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670015638,"filename":"image_12012025_09_17_02_728890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f1f51da9a8438b5e81772608e274d395.jpg","text":"TemporaryFile(/tmp/multipartBody4150140176995037224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670015638,"filename":"image_12012025_09_18_02_251756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f58a69aa79bff033a79b8f635659ea7a.jpg","text":"TemporaryFile(/tmp/multipartBody9196589662817924858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670015638,"filename":"image_12012025_09_17_02_728890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf01c1ed2a76a931a9042a0e9dc1879f.jpg","text":"TemporaryFile(/tmp/multipartBody1277541578227113477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670015638,"filename":"image_12012025_09_18_02_251756_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328376312","file1":"1328376265","file0":"1328376169","file4":"1328376928","file3":"1328376623"},"map_files_photo_id_array":[{"photo_id":"1328376312","filename":"file2"},{"photo_id":"1328376928","filename":"file4"},{"photo_id":"1328376265","filename":"file1"},{"photo_id":"1328376169","filename":"file0"},{"photo_id":"1328376623","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328376623":["hashtag1","hashtag2"]},{"1328376265":["hashtag1","hashtag2"]},{"1328376928":["hashtag1","hashtag2"]},{"1328376169":["hashtag1","hashtag2"]},{"1328376312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328376623, 1328376265, 1328376928, 1328376169, 1328376312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 55.197245359420776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:20:02.367909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0003.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0000.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0001.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0003.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0000.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0001.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.973834753036499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:20:21.860846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0003.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0000.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0001.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0002.jpg', '/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0003.jpg', '/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/18/image_12012025_09_18_02_251756_0003.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0000.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0001.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0002.jpg
/home/pi/Desktop/images/12012025/09/19/image_12012025_09_19_03_005867_0003.jpg
/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328377121","1328377124","1328377045","1328377120","1328377123","1328377122"],"photo_ids_order":["1328377045","1328377120","1328377121","1328377122","1328377123","1328377124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c29362d019ea7ab3ae096bc63279e87c.jpg","text":"TemporaryFile(/tmp/multipartBody4996106803584721337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670097032,"filename":"image_12012025_09_19_03_005867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d442dc57cde97727cb6c1cc1ba0a4802.jpg","text":"TemporaryFile(/tmp/multipartBody2839608129442774329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670097032,"filename":"image_12012025_09_20_02_566796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51f57af687802d2915ff12d8ce106475.jpg","text":"TemporaryFile(/tmp/multipartBody7514560591648994254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670097032,"filename":"image_12012025_09_18_02_251756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f44078b730551dc4ed938b884bc3d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody4654955167145146412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670097032,"filename":"image_12012025_09_19_03_005867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc265a35d26600f52bf247f3f1083827.jpg","text":"TemporaryFile(/tmp/multipartBody5736324794325563813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670097032,"filename":"image_12012025_09_19_03_005867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a356d657fdc47c4faa1ad7b1de62269a.jpg","text":"TemporaryFile(/tmp/multipartBody1262346593280226693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670097032,"filename":"image_12012025_09_19_03_005867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328377121","file1":"1328377120","file0":"1328377045","file4":"1328377123","file5":"1328377124","file3":"1328377122"},"map_files_photo_id_array":[{"photo_id":"1328377124","filename":"file5"},{"photo_id":"1328377121","filename":"file2"},{"photo_id":"1328377123","filename":"file4"},{"photo_id":"1328377120","filename":"file1"},{"photo_id":"1328377045","filename":"file0"},{"photo_id":"1328377122","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328377121":["hashtag1","hashtag2"]},{"1328377124":["hashtag1","hashtag2"]},{"1328377045":["hashtag1","hashtag2"]},{"1328377120":["hashtag1","hashtag2"]},{"1328377123":["hashtag1","hashtag2"]},{"1328377122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328377121, 1328377124, 1328377045, 1328377120, 1328377123, 1328377122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.975834369659424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:21:22.413466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0001.jpg', '/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0002.jpg', '/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0003.jpg', '/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0000.jpg', '/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0001.jpg', '/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0001.jpg
/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0002.jpg
/home/pi/Desktop/images/12012025/09/20/image_12012025_09_20_02_566796_0003.jpg
/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0000.jpg
/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0001.jpg
/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328377696","1328377822","1328377896","1328377898","1328377865","1328377760"],"photo_ids_order":["1328377696","1328377760","1328377822","1328377865","1328377896","1328377898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e45bec93995ec6f2c7d6b7af9858f3e5.jpg","text":"TemporaryFile(/tmp/multipartBody824468220958555353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670157619,"filename":"image_12012025_09_20_02_566796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bb1819ca0d936079b6c4d18390642891.jpg","text":"TemporaryFile(/tmp/multipartBody7780083107503710207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670157619,"filename":"image_12012025_09_20_02_566796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2252ae721a06f6baac91532e90045ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4315337761888766193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670157619,"filename":"image_12012025_09_21_02_237757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8c1d7fedf923e2df8c6897394f8503f.jpg","text":"TemporaryFile(/tmp/multipartBody8883700554774299722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670157619,"filename":"image_12012025_09_21_02_237757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/178a7fc4f51c66e14648a4d6737c201d.jpg","text":"TemporaryFile(/tmp/multipartBody4619099646299394707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670157619,"filename":"image_12012025_09_21_02_237757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a4816672d8ab270031ac4e5de57db08.jpg","text":"TemporaryFile(/tmp/multipartBody5254310587799830146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670157619,"filename":"image_12012025_09_20_02_566796_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328377822","file1":"1328377760","file0":"1328377696","file4":"1328377896","file5":"1328377898","file3":"1328377865"},"map_files_photo_id_array":[{"photo_id":"1328377898","filename":"file5"},{"photo_id":"1328377822","filename":"file2"},{"photo_id":"1328377896","filename":"file4"},{"photo_id":"1328377760","filename":"file1"},{"photo_id":"1328377696","filename":"file0"},{"photo_id":"1328377865","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328377696":["hashtag1","hashtag2"]},{"1328377822":["hashtag1","hashtag2"]},{"1328377896":["hashtag1","hashtag2"]},{"1328377898":["hashtag1","hashtag2"]},{"1328377865":["hashtag1","hashtag2"]},{"1328377760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328377696, 1328377822, 1328377896, 1328377898, 1328377865, 1328377760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.86541986465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:22:22.112166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0003.jpg', '/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0000.jpg', '/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0001.jpg', '/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/21/image_12012025_09_21_02_237757_0003.jpg
/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0000.jpg
/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0001.jpg
/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328377904","1328377945","1328377902","1328377907"],"photo_ids_order":["1328377902","1328377904","1328377907","1328377945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24c278d3eb49cd68d8830bcd10c42e41.jpg","text":"TemporaryFile(/tmp/multipartBody5640270138456123481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670212492,"filename":"image_12012025_09_22_02_850107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4f47f5b57b7d8c42a7daec0c4fd049d.jpg","text":"TemporaryFile(/tmp/multipartBody273145748171068158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670212492,"filename":"image_12012025_09_22_02_850107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/15a01cc449e5039a6c3f8903aa33c558.jpg","text":"TemporaryFile(/tmp/multipartBody7588903350335373608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670212492,"filename":"image_12012025_09_21_02_237757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1db7aeaa2a1ce02e8e1b03c65c2d7193.jpg","text":"TemporaryFile(/tmp/multipartBody7115139666908106803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670212492,"filename":"image_12012025_09_22_02_850107_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328377907","file1":"1328377904","file0":"1328377902","file3":"1328377945"},"map_files_photo_id_array":[{"photo_id":"1328377907","filename":"file2"},{"photo_id":"1328377904","filename":"file1"},{"photo_id":"1328377902","filename":"file0"},{"photo_id":"1328377945","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328377904":["hashtag1","hashtag2"]},{"1328377945":["hashtag1","hashtag2"]},{"1328377902":["hashtag1","hashtag2"]},{"1328377907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328377904, 1328377945, 1328377902, 1328377907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.02455234527588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:23:22.560705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0003.jpg', '/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0000.jpg', '/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0001.jpg', '/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/22/image_12012025_09_22_02_850107_0003.jpg
/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0000.jpg
/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0001.jpg
/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328379001","1328379124","1328379165","1328378873"],"photo_ids_order":["1328378873","1328379001","1328379124","1328379165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a61934ac1282662ca826760490414a26.jpg","text":"TemporaryFile(/tmp/multipartBody3191534485695456683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670272952,"filename":"image_12012025_09_23_02_357410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59aac0f3811eaa81d7b4ddea652b7904.jpg","text":"TemporaryFile(/tmp/multipartBody2946898544984230666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670272952,"filename":"image_12012025_09_23_02_357410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e3196747d52b1c3ec0c8133b3eefa63.jpg","text":"TemporaryFile(/tmp/multipartBody3239325808209673564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670272952,"filename":"image_12012025_09_23_02_357410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebdceda2bf536a175b7c4defaeb86585.jpg","text":"TemporaryFile(/tmp/multipartBody5019995353372735262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670272952,"filename":"image_12012025_09_22_02_850107_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328379124","file1":"1328379001","file0":"1328378873","file3":"1328379165"},"map_files_photo_id_array":[{"photo_id":"1328379124","filename":"file2"},{"photo_id":"1328379001","filename":"file1"},{"photo_id":"1328378873","filename":"file0"},{"photo_id":"1328379165","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328379001":["hashtag1","hashtag2"]},{"1328379124":["hashtag1","hashtag2"]},{"1328379165":["hashtag1","hashtag2"]},{"1328378873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328379001, 1328379124, 1328379165, 1328378873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.98926877975464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:24:22.060938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0003.jpg', '/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0000.jpg', '/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0001.jpg', '/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0003.jpg
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0000.jpg
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0001.jpg
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.991337299346924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:25:03.157602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0003.jpg', '/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0000.jpg', '/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0001.jpg', '/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_02_357410_0003.jpg
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0000.jpg
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0001.jpg
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328379546","1328379587","1328379605","1328379608"],"photo_ids_order":["1328379546","1328379587","1328379605","1328379608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/233af1568d03e31182aa45158b95a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4213275044681042052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670373595,"filename":"image_12012025_09_23_02_357410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c0cca4bd5da86c05edd23f56278d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody3410989768072242382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670373595,"filename":"image_12012025_09_24_02_910311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9881446685307d68c37146d2c1f045b8.jpg","text":"TemporaryFile(/tmp/multipartBody5158004796723366180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670373595,"filename":"image_12012025_09_24_02_910311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e876c4bb910f4e687fd88fdcd66cf2cc.jpg","text":"TemporaryFile(/tmp/multipartBody3365905749228923406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670373595,"filename":"image_12012025_09_24_02_910311_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328379605","file1":"1328379587","file0":"1328379546","file3":"1328379608"},"map_files_photo_id_array":[{"photo_id":"1328379605","filename":"file2"},{"photo_id":"1328379587","filename":"file1"},{"photo_id":"1328379546","filename":"file0"},{"photo_id":"1328379608","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328379546":["hashtag1","hashtag2"]},{"1328379587":["hashtag1","hashtag2"]},{"1328379605":["hashtag1","hashtag2"]},{"1328379608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328379546, 1328379587, 1328379605, 1328379608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.858766078948975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:26:02.752845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0003.jpg', '/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0000.jpg', '/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0001.jpg', '/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/24/image_12012025_09_24_02_910311_0003.jpg
/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0000.jpg
/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0001.jpg
/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328379625","1328379619","1328379617","1328379622"],"photo_ids_order":["1328379617","1328379619","1328379622","1328379625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7cb52e3b69fb778e2739f6d2f2c7d05e.jpg","text":"TemporaryFile(/tmp/multipartBody641013969920765276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670432804,"filename":"image_12012025_09_25_02_420201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a0296fb17a84e57f5ac60c85ef5118e.jpg","text":"TemporaryFile(/tmp/multipartBody631978146322451390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670432804,"filename":"image_12012025_09_25_02_420201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d9f3601e813b49e6ddac2415dd44be2.jpg","text":"TemporaryFile(/tmp/multipartBody5259632349153361127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670432804,"filename":"image_12012025_09_24_02_910311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7186ed134ff17fb3b9dc74fb895ea61.jpg","text":"TemporaryFile(/tmp/multipartBody1616073274228360845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670432804,"filename":"image_12012025_09_25_02_420201_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328379622","file1":"1328379619","file0":"1328379617","file3":"1328379625"},"map_files_photo_id_array":[{"photo_id":"1328379622","filename":"file2"},{"photo_id":"1328379619","filename":"file1"},{"photo_id":"1328379617","filename":"file0"},{"photo_id":"1328379625","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328379625":["hashtag1","hashtag2"]},{"1328379619":["hashtag1","hashtag2"]},{"1328379617":["hashtag1","hashtag2"]},{"1328379622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328379625, 1328379619, 1328379617, 1328379622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.457436084747314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:27:02.434736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0003.jpg', '/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0000.jpg', '/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0001.jpg', '/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/25/image_12012025_09_25_02_420201_0003.jpg
/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0000.jpg
/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0001.jpg
/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328379639","1328379635","1328379634","1328379637"],"photo_ids_order":["1328379634","1328379635","1328379637","1328379639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c8db1d8b41c05b6aa042260403efd6e.jpg","text":"TemporaryFile(/tmp/multipartBody1508408534709063582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670492700,"filename":"image_12012025_09_26_03_017095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecb12efa536ecb6249a751fa05f1ed3b.jpg","text":"TemporaryFile(/tmp/multipartBody6694584412511325970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670492700,"filename":"image_12012025_09_26_03_017095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/acd0b7468e4e338c4e9c76bc50368212.jpg","text":"TemporaryFile(/tmp/multipartBody665777023788909405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670492700,"filename":"image_12012025_09_25_02_420201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a43425e666e52825271f78fb0d6d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3330118879277962684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670492700,"filename":"image_12012025_09_26_03_017095_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328379637","file1":"1328379635","file0":"1328379634","file3":"1328379639"},"map_files_photo_id_array":[{"photo_id":"1328379637","filename":"file2"},{"photo_id":"1328379635","filename":"file1"},{"photo_id":"1328379634","filename":"file0"},{"photo_id":"1328379639","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328379639":["hashtag1","hashtag2"]},{"1328379635":["hashtag1","hashtag2"]},{"1328379634":["hashtag1","hashtag2"]},{"1328379637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328379639, 1328379635, 1328379634, 1328379637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.58179950714111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:28:03.128566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0003.jpg', '/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0000.jpg', '/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0001.jpg', '/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/26/image_12012025_09_26_03_017095_0003.jpg
/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0000.jpg
/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0001.jpg
/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328379771","1328379878","1328379875","1328379704"],"photo_ids_order":["1328379704","1328379771","1328379875","1328379878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ddfeb538576cef7cf1b1982569d8315.jpg","text":"TemporaryFile(/tmp/multipartBody5832871514331207113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670553323,"filename":"image_12012025_09_27_02_692660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35d5abcd16c4aef180eda1aadb962ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8527800687284350284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670553323,"filename":"image_12012025_09_27_02_692660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94cdfefd6d26b664284357e7691fe1d7.jpg","text":"TemporaryFile(/tmp/multipartBody8329931333374779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670553323,"filename":"image_12012025_09_27_02_692660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f52261ba8fdca5d6baf6fb596cf8f5d.jpg","text":"TemporaryFile(/tmp/multipartBody9097713014744513870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670553323,"filename":"image_12012025_09_26_03_017095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328379875","file1":"1328379771","file0":"1328379704","file3":"1328379878"},"map_files_photo_id_array":[{"photo_id":"1328379875","filename":"file2"},{"photo_id":"1328379771","filename":"file1"},{"photo_id":"1328379704","filename":"file0"},{"photo_id":"1328379878","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328379771":["hashtag1","hashtag2"]},{"1328379878":["hashtag1","hashtag2"]},{"1328379875":["hashtag1","hashtag2"]},{"1328379704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328379771, 1328379878, 1328379875, 1328379704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.29940128326416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:29:02.871616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0003.jpg', '/home/pi/Desktop/images/12012025/09/28/image_12012025_09_28_02_196347_0000.jpg', '/home/pi/Desktop/images/12012025/09/28/image_12012025_09_28_02_196347_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/27/image_12012025_09_27_02_692660_0003.jpg
/home/pi/Desktop/images/12012025/09/28/image_12012025_09_28_02_196347_0000.jpg
/home/pi/Desktop/images/12012025/09/28/image_12012025_09_28_02_196347_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328380594","1328380596","1328380536"],"photo_ids_order":["1328380536","1328380594","1328380596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b873d00a841583ffa4b5bc66da80013e.jpg","text":"TemporaryFile(/tmp/multipartBody5412671702755796413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670610634,"filename":"image_12012025_09_28_02_196347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/053de63a7f646bd36d4337dd23e96e90.jpg","text":"TemporaryFile(/tmp/multipartBody5077147844674668858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670610634,"filename":"image_12012025_09_28_02_196347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c57291df74da0480ffa83a64eb35c190.jpg","text":"TemporaryFile(/tmp/multipartBody5423365422209410679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670610634,"filename":"image_12012025_09_27_02_692660_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328380596","file1":"1328380594","file0":"1328380536"},"map_files_photo_id_array":[{"photo_id":"1328380596","filename":"file2"},{"photo_id":"1328380594","filename":"file1"},{"photo_id":"1328380536","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328380594":["hashtag1","hashtag2"]},{"1328380596":["hashtag1","hashtag2"]},{"1328380536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328380594, 1328380596, 1328380536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.954104900360107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:30:02.172363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/28/image_12012025_09_28_02_196347_0002.jpg', '/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0000.jpg', '/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0001.jpg', '/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/28/image_12012025_09_28_02_196347_0002.jpg
/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0000.jpg
/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0001.jpg
/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328380858","1328380852","1328380850","1328380855"],"photo_ids_order":["1328380850","1328380852","1328380855","1328380858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27f64ec29225d49280340d68f8340875.jpg","text":"TemporaryFile(/tmp/multipartBody5523263063048839483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670672446,"filename":"image_12012025_09_29_03_023743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84467f1b46c5fdec9f089420fe7e9ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5028018948274795554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670672446,"filename":"image_12012025_09_29_03_023743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85671316c841aa61265ef03de5387629.jpg","text":"TemporaryFile(/tmp/multipartBody1630199185436278199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670672446,"filename":"image_12012025_09_28_02_196347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d0f589264111c59acfe88e5be86a59c.jpg","text":"TemporaryFile(/tmp/multipartBody2128630335597023873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670672446,"filename":"image_12012025_09_29_03_023743_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328380855","file1":"1328380852","file0":"1328380850","file3":"1328380858"},"map_files_photo_id_array":[{"photo_id":"1328380855","filename":"file2"},{"photo_id":"1328380852","filename":"file1"},{"photo_id":"1328380850","filename":"file0"},{"photo_id":"1328380858","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328380858":["hashtag1","hashtag2"]},{"1328380852":["hashtag1","hashtag2"]},{"1328380850":["hashtag1","hashtag2"]},{"1328380855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328380858, 1328380852, 1328380850, 1328380855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34789729118347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:31:02.968238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0003.jpg', '/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0000.jpg', '/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0001.jpg', '/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/29/image_12012025_09_29_03_023743_0003.jpg
/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0000.jpg
/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0001.jpg
/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328380906","1328380900","1328380903","1328380898"],"photo_ids_order":["1328380898","1328380900","1328380903","1328380906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c0a9372faf7f85a00ee8e5a4b58bf25.jpg","text":"TemporaryFile(/tmp/multipartBody614181153905040061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670733262,"filename":"image_12012025_09_30_02_592082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e482940d4d2c8c0b94ad070b1ec70f7.jpg","text":"TemporaryFile(/tmp/multipartBody3843126612922989995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670733262,"filename":"image_12012025_09_30_02_592082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a382e9ac3f73c416c84d1e464061a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4371205181223848260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670733262,"filename":"image_12012025_09_30_02_592082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0057ebd1508fee32b7fcb5628c9db6b1.jpg","text":"TemporaryFile(/tmp/multipartBody96575309567991461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670733262,"filename":"image_12012025_09_29_03_023743_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328380903","file1":"1328380900","file0":"1328380898","file3":"1328380906"},"map_files_photo_id_array":[{"photo_id":"1328380903","filename":"file2"},{"photo_id":"1328380900","filename":"file1"},{"photo_id":"1328380898","filename":"file0"},{"photo_id":"1328380906","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328380906":["hashtag1","hashtag2"]},{"1328380900":["hashtag1","hashtag2"]},{"1328380903":["hashtag1","hashtag2"]},{"1328380898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328380906, 1328380900, 1328380903, 1328380898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73870062828064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:32:02.400762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0003.jpg', '/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0000.jpg', '/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0001.jpg', '/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/30/image_12012025_09_30_02_592082_0003.jpg
/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0000.jpg
/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0001.jpg
/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328381331","1328381328","1328381669","1328381303"],"photo_ids_order":["1328381303","1328381328","1328381331","1328381669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f70492301b8a481dc3f17a56db2758e9.jpg","text":"TemporaryFile(/tmp/multipartBody3795697265389555655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670792539,"filename":"image_12012025_09_31_02_112236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4b5fd777deb3c0791dff7a9959ae451.jpg","text":"TemporaryFile(/tmp/multipartBody1113348101457133681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670792539,"filename":"image_12012025_09_31_02_112236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0b36cf77e8a724bd79c962c54365485.jpg","text":"TemporaryFile(/tmp/multipartBody5031688710085345857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670792539,"filename":"image_12012025_09_31_02_112236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39dcc47c9f5aaa27af7aae4a292b7156.jpg","text":"TemporaryFile(/tmp/multipartBody4805571390372885695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670792539,"filename":"image_12012025_09_30_02_592082_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328381331","file1":"1328381328","file0":"1328381303","file3":"1328381669"},"map_files_photo_id_array":[{"photo_id":"1328381331","filename":"file2"},{"photo_id":"1328381328","filename":"file1"},{"photo_id":"1328381303","filename":"file0"},{"photo_id":"1328381669","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328381331":["hashtag1","hashtag2"]},{"1328381328":["hashtag1","hashtag2"]},{"1328381669":["hashtag1","hashtag2"]},{"1328381303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328381331, 1328381328, 1328381669, 1328381303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51276254653931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:33:03.158806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0003.jpg', '/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_02_622722_0001.jpg', '/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_02_622722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_02_112236_0003.jpg
/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_02_622722_0001.jpg
/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_02_622722_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382306","1328382301","1328382304"],"photo_ids_order":["1328382301","1328382304","1328382306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df0bc714c5c85fcbcc87bdc17240996e.jpg","text":"TemporaryFile(/tmp/multipartBody39725006616367981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670851018,"filename":"image_12012025_09_32_02_622722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1de746608fb07b497fc74c164bc53741.jpg","text":"TemporaryFile(/tmp/multipartBody8174360972676533909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670851018,"filename":"image_12012025_09_31_02_112236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad6935d46c7983dffff3fda3e5b8ae0f.jpg","text":"TemporaryFile(/tmp/multipartBody5899277229515579200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670851018,"filename":"image_12012025_09_32_02_622722_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382306","file1":"1328382304","file0":"1328382301"},"map_files_photo_id_array":[{"photo_id":"1328382306","filename":"file2"},{"photo_id":"1328382304","filename":"file1"},{"photo_id":"1328382301","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382306":["hashtag1","hashtag2"]},{"1328382301":["hashtag1","hashtag2"]},{"1328382304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382306, 1328382301, 1328382304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.422592163085938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:34:02.566251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_02_622722_0003.jpg', '/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0000.jpg', '/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0001.jpg', '/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_02_622722_0003.jpg
/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0000.jpg
/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0001.jpg
/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382348","1328382355","1328382352","1328382346"],"photo_ids_order":["1328382346","1328382348","1328382352","1328382355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96e0d1b4144d1866730fd81425e23adc.jpg","text":"TemporaryFile(/tmp/multipartBody1792713356011651489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670912849,"filename":"image_12012025_09_33_02_311602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89fd2e44d17eb867f85544da1a955f6c.jpg","text":"TemporaryFile(/tmp/multipartBody806916280043912238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670912849,"filename":"image_12012025_09_33_02_311602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80830d95cadf4d29220f9772564cd93d.jpg","text":"TemporaryFile(/tmp/multipartBody3564800202980535578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670912849,"filename":"image_12012025_09_33_02_311602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d9b804ac6eff667b4819c97fcbd3d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1874546473674329969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670912849,"filename":"image_12012025_09_32_02_622722_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382352","file1":"1328382348","file0":"1328382346","file3":"1328382355"},"map_files_photo_id_array":[{"photo_id":"1328382352","filename":"file2"},{"photo_id":"1328382348","filename":"file1"},{"photo_id":"1328382346","filename":"file0"},{"photo_id":"1328382355","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382348":["hashtag1","hashtag2"]},{"1328382355":["hashtag1","hashtag2"]},{"1328382352":["hashtag1","hashtag2"]},{"1328382346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382348, 1328382355, 1328382352, 1328382346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97673010826111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:35:03.265064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0003.jpg', '/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0000.jpg', '/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0001.jpg', '/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_02_311602_0003.jpg
/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0000.jpg
/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0001.jpg
/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382363","1328382368","1328382364","1328382366"],"photo_ids_order":["1328382363","1328382364","1328382366","1328382368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa92a701ee11f7053642eebb8e34b638.jpg","text":"TemporaryFile(/tmp/multipartBody9185974642331760964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670973516,"filename":"image_12012025_09_33_02_311602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e6d004da27218df502110952aaeaf9c.jpg","text":"TemporaryFile(/tmp/multipartBody7335297647812035490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670973516,"filename":"image_12012025_09_34_02_830344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01b0fe7fe548dcc27d988b00a6d93daa.jpg","text":"TemporaryFile(/tmp/multipartBody7138666430756792942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670973516,"filename":"image_12012025_09_34_02_830344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91ea78b3d4a74a27181a3d753f05aaa1.jpg","text":"TemporaryFile(/tmp/multipartBody584949280539644465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736670973516,"filename":"image_12012025_09_34_02_830344_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382366","file1":"1328382364","file0":"1328382363","file3":"1328382368"},"map_files_photo_id_array":[{"photo_id":"1328382366","filename":"file2"},{"photo_id":"1328382364","filename":"file1"},{"photo_id":"1328382363","filename":"file0"},{"photo_id":"1328382368","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382363":["hashtag1","hashtag2"]},{"1328382368":["hashtag1","hashtag2"]},{"1328382364":["hashtag1","hashtag2"]},{"1328382366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382363, 1328382368, 1328382364, 1328382366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.84697771072388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:36:02.904811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0003.jpg', '/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0000.jpg', '/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0001.jpg', '/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/34/image_12012025_09_34_02_830344_0003.jpg
/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0000.jpg
/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0001.jpg
/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382489","1328382402","1328382405","1328382403"],"photo_ids_order":["1328382402","1328382403","1328382405","1328382489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7420e08c5000564f378ad21b005ba6a5.jpg","text":"TemporaryFile(/tmp/multipartBody4842377159317723926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671033297,"filename":"image_12012025_09_35_02_510599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09614bbd08aea010ed706c5cfa733c01.jpg","text":"TemporaryFile(/tmp/multipartBody4114608141643692359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671033297,"filename":"image_12012025_09_34_02_830344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b03fa29f4beec604d03f61d9b4576a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7866587244377104414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671033297,"filename":"image_12012025_09_35_02_510599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42cb8b34eccd4cf64aeb0ddc65780480.jpg","text":"TemporaryFile(/tmp/multipartBody8206747509440313697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671033297,"filename":"image_12012025_09_35_02_510599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382405","file1":"1328382403","file0":"1328382402","file3":"1328382489"},"map_files_photo_id_array":[{"photo_id":"1328382405","filename":"file2"},{"photo_id":"1328382403","filename":"file1"},{"photo_id":"1328382402","filename":"file0"},{"photo_id":"1328382489","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382489":["hashtag1","hashtag2"]},{"1328382402":["hashtag1","hashtag2"]},{"1328382405":["hashtag1","hashtag2"]},{"1328382403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382489, 1328382402, 1328382405, 1328382403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.254477739334106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:37:02.417703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0003.jpg', '/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0000.jpg', '/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0001.jpg', '/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_02_510599_0003.jpg
/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0000.jpg
/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0001.jpg
/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382543","1328382542","1328382545","1328382541"],"photo_ids_order":["1328382541","1328382542","1328382543","1328382545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd0857a23c0c16c2c7a2c213af8b73c8.jpg","text":"TemporaryFile(/tmp/multipartBody983980545035380329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671092651,"filename":"image_12012025_09_36_03_071574_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2825dcc96fb6281147b89ee816201edb.jpg","text":"TemporaryFile(/tmp/multipartBody6645736693442690393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671092651,"filename":"image_12012025_09_36_03_071574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/707188064740af9745b586450eec7112.jpg","text":"TemporaryFile(/tmp/multipartBody119794467797954415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671092651,"filename":"image_12012025_09_36_03_071574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bdbda61c5afe571260eccc8e7345301d.jpg","text":"TemporaryFile(/tmp/multipartBody2403775257907260388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671092651,"filename":"image_12012025_09_35_02_510599_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382543","file1":"1328382542","file0":"1328382541","file3":"1328382545"},"map_files_photo_id_array":[{"photo_id":"1328382543","filename":"file2"},{"photo_id":"1328382542","filename":"file1"},{"photo_id":"1328382541","filename":"file0"},{"photo_id":"1328382545","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382543":["hashtag1","hashtag2"]},{"1328382542":["hashtag1","hashtag2"]},{"1328382545":["hashtag1","hashtag2"]},{"1328382541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382543, 1328382542, 1328382545, 1328382541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.76775908470154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:38:03.163141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0003.jpg', '/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0000.jpg', '/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0001.jpg', '/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/36/image_12012025_09_36_03_071574_0003.jpg
/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0000.jpg
/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0001.jpg
/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382562","1328382559","1328382564","1328382558"],"photo_ids_order":["1328382558","1328382559","1328382562","1328382564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4caa7ecde784b8bebc3c665ba73952d.jpg","text":"TemporaryFile(/tmp/multipartBody2135457287868071000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671153451,"filename":"image_12012025_09_37_02_805137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/deff1f6a36fafb8b35f5a4dffec30326.jpg","text":"TemporaryFile(/tmp/multipartBody3719754126368802112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671153451,"filename":"image_12012025_09_37_02_805137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/784d6a951a92c6fa0f833051151ec0e8.jpg","text":"TemporaryFile(/tmp/multipartBody4957114863713536634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671153451,"filename":"image_12012025_09_37_02_805137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6324f133bbf5e97d68fc6e373cc84529.jpg","text":"TemporaryFile(/tmp/multipartBody7252896469720569574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671153451,"filename":"image_12012025_09_36_03_071574_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382562","file1":"1328382559","file0":"1328382558","file3":"1328382564"},"map_files_photo_id_array":[{"photo_id":"1328382562","filename":"file2"},{"photo_id":"1328382559","filename":"file1"},{"photo_id":"1328382558","filename":"file0"},{"photo_id":"1328382564","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382562":["hashtag1","hashtag2"]},{"1328382559":["hashtag1","hashtag2"]},{"1328382564":["hashtag1","hashtag2"]},{"1328382558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382562, 1328382559, 1328382564, 1328382558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64354419708252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:39:02.841985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0003.jpg', '/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0000.jpg', '/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0001.jpg', '/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/37/image_12012025_09_37_02_805137_0003.jpg
/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0000.jpg
/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0001.jpg
/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382588","1328382624","1328382587","1328382614"],"photo_ids_order":["1328382587","1328382588","1328382614","1328382624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7eb057107f252f26b76953d5ef3cebad.jpg","text":"TemporaryFile(/tmp/multipartBody6626773603042733765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671213045,"filename":"image_12012025_09_38_02_316729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb4fe00f2a43145deabcdb0c52191014.jpg","text":"TemporaryFile(/tmp/multipartBody7094528128064316230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671213045,"filename":"image_12012025_09_38_02_316729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/053c8cd301279031bbbb73b982a3569f.jpg","text":"TemporaryFile(/tmp/multipartBody6787821110889633232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671213045,"filename":"image_12012025_09_37_02_805137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b256bdb88d50473b3c48cd445473b93b.jpg","text":"TemporaryFile(/tmp/multipartBody1392311152016288995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671213045,"filename":"image_12012025_09_38_02_316729_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382614","file1":"1328382588","file0":"1328382587","file3":"1328382624"},"map_files_photo_id_array":[{"photo_id":"1328382614","filename":"file2"},{"photo_id":"1328382588","filename":"file1"},{"photo_id":"1328382587","filename":"file0"},{"photo_id":"1328382624","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382588":["hashtag1","hashtag2"]},{"1328382624":["hashtag1","hashtag2"]},{"1328382587":["hashtag1","hashtag2"]},{"1328382614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382588, 1328382624, 1328382587, 1328382614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56544589996338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:40:02.232895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0003.jpg', '/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0000.jpg', '/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0001.jpg', '/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/38/image_12012025_09_38_02_316729_0003.jpg
/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0000.jpg
/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0001.jpg
/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382680","1328382676","1328382675","1328382678"],"photo_ids_order":["1328382675","1328382676","1328382678","1328382680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0f76ecbeb42a615b3dcec7f58448036.jpg","text":"TemporaryFile(/tmp/multipartBody835171106007360991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671272459,"filename":"image_12012025_09_39_03_057686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26f727847fb5acaadeef6f81f641dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody6620904045723308606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671272459,"filename":"image_12012025_09_39_03_057686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/966279e5860ad4b7103df77a9c9bc334.jpg","text":"TemporaryFile(/tmp/multipartBody7561715774112414589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671272459,"filename":"image_12012025_09_38_02_316729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5829e0f922b304fe930af0fb8425f14.jpg","text":"TemporaryFile(/tmp/multipartBody8636977504596486290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671272459,"filename":"image_12012025_09_39_03_057686_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382678","file1":"1328382676","file0":"1328382675","file3":"1328382680"},"map_files_photo_id_array":[{"photo_id":"1328382678","filename":"file2"},{"photo_id":"1328382676","filename":"file1"},{"photo_id":"1328382675","filename":"file0"},{"photo_id":"1328382680","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382680":["hashtag1","hashtag2"]},{"1328382676":["hashtag1","hashtag2"]},{"1328382675":["hashtag1","hashtag2"]},{"1328382678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382680, 1328382676, 1328382675, 1328382678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.63885807991028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:41:02.899750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0003.jpg', '/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0000.jpg', '/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0001.jpg', '/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/39/image_12012025_09_39_03_057686_0003.jpg
/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0000.jpg
/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0001.jpg
/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382702","1328382698","1328382697","1328382700"],"photo_ids_order":["1328382697","1328382698","1328382700","1328382702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e355abd29fbd66f49e64ccf4dae02cc1.jpg","text":"TemporaryFile(/tmp/multipartBody963252503615550637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671333142,"filename":"image_12012025_09_40_02_572449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c5540c6c1b0f5e7364160fea236bce2.jpg","text":"TemporaryFile(/tmp/multipartBody8661980406108622326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671333142,"filename":"image_12012025_09_40_02_572449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b892c1503c931e17112218236bc6062.jpg","text":"TemporaryFile(/tmp/multipartBody8737971576619954905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671333142,"filename":"image_12012025_09_39_03_057686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84d38964876730d45e314a53f5473dae.jpg","text":"TemporaryFile(/tmp/multipartBody3733716690738797639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671333142,"filename":"image_12012025_09_40_02_572449_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382700","file1":"1328382698","file0":"1328382697","file3":"1328382702"},"map_files_photo_id_array":[{"photo_id":"1328382700","filename":"file2"},{"photo_id":"1328382698","filename":"file1"},{"photo_id":"1328382697","filename":"file0"},{"photo_id":"1328382702","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382702":["hashtag1","hashtag2"]},{"1328382698":["hashtag1","hashtag2"]},{"1328382697":["hashtag1","hashtag2"]},{"1328382700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382702, 1328382698, 1328382697, 1328382700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27663779258728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:42:02.404940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0003.jpg', '/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0000.jpg', '/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_02_572449_0003.jpg
/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0000.jpg
/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328382714","1328382715","1328382712"],"photo_ids_order":["1328382712","1328382714","1328382715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b33f94fe885b7f898c10fd0d103446e.jpg","text":"TemporaryFile(/tmp/multipartBody3198769576198905375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671390275,"filename":"image_12012025_09_41_02_205960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be7f692f27a0f23f895c2ad5aa8845aa.jpg","text":"TemporaryFile(/tmp/multipartBody913320229100461265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671390275,"filename":"image_12012025_09_41_02_205960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8cfa53645f2f77b9eadd330d05b83e3d.jpg","text":"TemporaryFile(/tmp/multipartBody9083694317214739166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671390275,"filename":"image_12012025_09_40_02_572449_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328382715","file1":"1328382714","file0":"1328382712"},"map_files_photo_id_array":[{"photo_id":"1328382715","filename":"file2"},{"photo_id":"1328382714","filename":"file1"},{"photo_id":"1328382712","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328382714":["hashtag1","hashtag2"]},{"1328382715":["hashtag1","hashtag2"]},{"1328382712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328382714, 1328382715, 1328382712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.346080541610718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:43:03.191681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0002.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0000.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0001.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0002.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0000.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0001.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.781609773635864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:43:22.501617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0002.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0000.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0001.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0002.jpg', '/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0003.jpg', '/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/41/image_12012025_09_41_02_205960_0002.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0000.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0001.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0002.jpg
/home/pi/Desktop/images/12012025/09/42/image_12012025_09_42_02_716114_0003.jpg
/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328384666","1328384797","1328384444","1328384569","1328384677","1328384664"],"photo_ids_order":["1328384444","1328384569","1328384664","1328384666","1328384677","1328384797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/647059d592ab1d83d88f5edb66f23fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1573387645623002832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671477470,"filename":"image_12012025_09_42_02_716114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08e81c4b86f5356698dce208a62939d2.jpg","text":"TemporaryFile(/tmp/multipartBody7790849951586422715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671477470,"filename":"image_12012025_09_43_02_381281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7247d8867b01f0bd3ad8ace817e15510.jpg","text":"TemporaryFile(/tmp/multipartBody6605628593386771196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671477470,"filename":"image_12012025_09_41_02_205960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77be7f0f261cc620d71b30adea40e722.jpg","text":"TemporaryFile(/tmp/multipartBody4433440623632437776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671477470,"filename":"image_12012025_09_42_02_716114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/370b7ed0971f4251e57cfe2f558cf972.jpg","text":"TemporaryFile(/tmp/multipartBody2771183125629438027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671477470,"filename":"image_12012025_09_42_02_716114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f9bce8a773e84f6d3c19639b8a72b77.jpg","text":"TemporaryFile(/tmp/multipartBody5606931195424226099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671477470,"filename":"image_12012025_09_42_02_716114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328384664","file1":"1328384569","file0":"1328384444","file4":"1328384677","file5":"1328384797","file3":"1328384666"},"map_files_photo_id_array":[{"photo_id":"1328384797","filename":"file5"},{"photo_id":"1328384664","filename":"file2"},{"photo_id":"1328384677","filename":"file4"},{"photo_id":"1328384569","filename":"file1"},{"photo_id":"1328384444","filename":"file0"},{"photo_id":"1328384666","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328384666":["hashtag1","hashtag2"]},{"1328384797":["hashtag1","hashtag2"]},{"1328384444":["hashtag1","hashtag2"]},{"1328384569":["hashtag1","hashtag2"]},{"1328384677":["hashtag1","hashtag2"]},{"1328384664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328384666, 1328384797, 1328384444, 1328384569, 1328384677, 1328384664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.63089919090271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:44:22.036143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0001.jpg', '/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0002.jpg', '/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0003.jpg', '/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0000.jpg', '/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0001.jpg', '/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0001.jpg
/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0002.jpg
/home/pi/Desktop/images/12012025/09/43/image_12012025_09_43_02_381281_0003.jpg
/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0000.jpg
/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0001.jpg
/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328385317","1328385346","1328385288","1328385363","1328385359","1328385356"],"photo_ids_order":["1328385288","1328385317","1328385346","1328385356","1328385359","1328385363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eea1b443fee7f083064c2f14aa2489c6.jpg","text":"TemporaryFile(/tmp/multipartBody2764793417787030889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671536929,"filename":"image_12012025_09_43_02_381281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92d9dc716b1dfdcd9f532a443040094e.jpg","text":"TemporaryFile(/tmp/multipartBody1719353957541985951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671536929,"filename":"image_12012025_09_43_02_381281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a635e226005e2389bfa2ebb71e8058b.jpg","text":"TemporaryFile(/tmp/multipartBody5386775660867628354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671536929,"filename":"image_12012025_09_43_02_381281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa97e09126b15452b805416135daaf77.jpg","text":"TemporaryFile(/tmp/multipartBody1694509150497702705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671536929,"filename":"image_12012025_09_44_02_848229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a7452168f5999f5164ab07b5c61a97f.jpg","text":"TemporaryFile(/tmp/multipartBody8404320466571238059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671536929,"filename":"image_12012025_09_44_02_848229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db87f4a57e5bce3f6d77cfbfec517f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3299856621125881028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671536929,"filename":"image_12012025_09_44_02_848229_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328385346","file1":"1328385317","file0":"1328385288","file4":"1328385359","file5":"1328385363","file3":"1328385356"},"map_files_photo_id_array":[{"photo_id":"1328385363","filename":"file5"},{"photo_id":"1328385346","filename":"file2"},{"photo_id":"1328385359","filename":"file4"},{"photo_id":"1328385317","filename":"file1"},{"photo_id":"1328385288","filename":"file0"},{"photo_id":"1328385356","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328385317":["hashtag1","hashtag2"]},{"1328385346":["hashtag1","hashtag2"]},{"1328385288":["hashtag1","hashtag2"]},{"1328385363":["hashtag1","hashtag2"]},{"1328385359":["hashtag1","hashtag2"]},{"1328385356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328385317, 1328385346, 1328385288, 1328385363, 1328385359, 1328385356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.93202567100525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:45:22.543936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0003.jpg', '/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0000.jpg', '/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0001.jpg', '/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0003.jpg
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0000.jpg
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0001.jpg
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.815188646316528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:46:02.415563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0003.jpg', '/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0000.jpg', '/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0001.jpg', '/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/44/image_12012025_09_44_02_848229_0003.jpg
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0000.jpg
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0001.jpg
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328385401","1328385404","1328385409","1328385402"],"photo_ids_order":["1328385401","1328385402","1328385404","1328385409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91e2a87bcef1dd5b7bcec21161fde867.jpg","text":"TemporaryFile(/tmp/multipartBody4946421044685454019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671632697,"filename":"image_12012025_09_44_02_848229_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6237a3e0551c157bbfa5dc7c9a777ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5089090919660852777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671632697,"filename":"image_12012025_09_45_02_427530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b63b87a556385ff6646ed2343752c460.jpg","text":"TemporaryFile(/tmp/multipartBody9216007567018845790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671632697,"filename":"image_12012025_09_45_02_427530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87e855416b102fb115b2e31c4dabcae3.jpg","text":"TemporaryFile(/tmp/multipartBody7393055794232849082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671632697,"filename":"image_12012025_09_45_02_427530_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328385404","file1":"1328385402","file0":"1328385401","file3":"1328385409"},"map_files_photo_id_array":[{"photo_id":"1328385404","filename":"file2"},{"photo_id":"1328385402","filename":"file1"},{"photo_id":"1328385401","filename":"file0"},{"photo_id":"1328385409","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328385401":["hashtag1","hashtag2"]},{"1328385404":["hashtag1","hashtag2"]},{"1328385409":["hashtag1","hashtag2"]},{"1328385402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328385401, 1328385404, 1328385409, 1328385402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82390475273132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:47:03.239625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0003.jpg', '/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0000.jpg', '/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0001.jpg', '/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/45/image_12012025_09_45_02_427530_0003.jpg
/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0000.jpg
/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0001.jpg
/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328385419","1328385421","1328385418","1328385423"],"photo_ids_order":["1328385418","1328385419","1328385421","1328385423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0712c75954e83fcf39740df86f03a861.jpg","text":"TemporaryFile(/tmp/multipartBody2290971999364603478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671693481,"filename":"image_12012025_09_46_02_902620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77e9ff68fa2acebb4df9dede7a6adea7.jpg","text":"TemporaryFile(/tmp/multipartBody8297882879616213702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671693481,"filename":"image_12012025_09_46_02_902620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/509cf701c806f0c8702f617f78d5597c.jpg","text":"TemporaryFile(/tmp/multipartBody3027075617927252222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671693481,"filename":"image_12012025_09_45_02_427530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf01e839e59515874e488506af2d0641.jpg","text":"TemporaryFile(/tmp/multipartBody2211369711321574780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671693481,"filename":"image_12012025_09_46_02_902620_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328385421","file1":"1328385419","file0":"1328385418","file3":"1328385423"},"map_files_photo_id_array":[{"photo_id":"1328385421","filename":"file2"},{"photo_id":"1328385419","filename":"file1"},{"photo_id":"1328385418","filename":"file0"},{"photo_id":"1328385423","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328385419":["hashtag1","hashtag2"]},{"1328385421":["hashtag1","hashtag2"]},{"1328385418":["hashtag1","hashtag2"]},{"1328385423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328385419, 1328385421, 1328385418, 1328385423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91540336608887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:48:02.557222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0003.jpg', '/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0000.jpg', '/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/46/image_12012025_09_46_02_902620_0003.jpg
/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0000.jpg
/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328385437","1328385436","1328385434"],"photo_ids_order":["1328385434","1328385436","1328385437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72098237a80af29a524ad121aedef585.jpg","text":"TemporaryFile(/tmp/multipartBody3733586835096667516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671750293,"filename":"image_12012025_09_47_02_386783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab3d2a3497b0ffe520b922d14170d5a4.jpg","text":"TemporaryFile(/tmp/multipartBody6987171184083219952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671750293,"filename":"image_12012025_09_47_02_386783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/430b094b1821047409d9f54b2a41881d.jpg","text":"TemporaryFile(/tmp/multipartBody8080024400003001625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671750293,"filename":"image_12012025_09_46_02_902620_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328385437","file1":"1328385436","file0":"1328385434"},"map_files_photo_id_array":[{"photo_id":"1328385437","filename":"file2"},{"photo_id":"1328385436","filename":"file1"},{"photo_id":"1328385434","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328385437":["hashtag1","hashtag2"]},{"1328385436":["hashtag1","hashtag2"]},{"1328385434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328385437, 1328385436, 1328385434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.826250553131104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:49:03.288901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0003.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0000.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0001.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0003.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0000.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0001.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.887706995010376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:49:22.653231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0003.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0000.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0001.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0002.jpg', '/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0003.jpg', '/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/47/image_12012025_09_47_02_386783_0003.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0000.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0001.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0002.jpg
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_02_870900_0003.jpg
/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328385509","1328385499","1328385511","1328385498","1328385504","1328385507"],"photo_ids_order":["1328385498","1328385499","1328385504","1328385507","1328385509","1328385511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2fa2f125027fcc3e3cb49ea66855f8a.jpg","text":"TemporaryFile(/tmp/multipartBody2641775134716174771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671837754,"filename":"image_12012025_09_48_02_870900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/278772b7715ecd294fe9db991c81f690.jpg","text":"TemporaryFile(/tmp/multipartBody1191545113041141178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671837754,"filename":"image_12012025_09_48_02_870900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6cfccae732a3f0cd80740ebb32defb7c.jpg","text":"TemporaryFile(/tmp/multipartBody4542744666796385561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671837754,"filename":"image_12012025_09_49_02_495454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ee901cfd7bfeefcc1cff39c8e97b986.jpg","text":"TemporaryFile(/tmp/multipartBody1227657346861775199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671837754,"filename":"image_12012025_09_47_02_386783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8da84da118065f8133c499682a472d0.jpg","text":"TemporaryFile(/tmp/multipartBody158577634192112783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671837754,"filename":"image_12012025_09_48_02_870900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51aafbdc2ca2e1d8cdf9f712f6ea2d73.jpg","text":"TemporaryFile(/tmp/multipartBody4907668259533265524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671837754,"filename":"image_12012025_09_48_02_870900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328385504","file1":"1328385499","file0":"1328385498","file4":"1328385509","file5":"1328385511","file3":"1328385507"},"map_files_photo_id_array":[{"photo_id":"1328385511","filename":"file5"},{"photo_id":"1328385504","filename":"file2"},{"photo_id":"1328385509","filename":"file4"},{"photo_id":"1328385499","filename":"file1"},{"photo_id":"1328385498","filename":"file0"},{"photo_id":"1328385507","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328385509":["hashtag1","hashtag2"]},{"1328385499":["hashtag1","hashtag2"]},{"1328385511":["hashtag1","hashtag2"]},{"1328385498":["hashtag1","hashtag2"]},{"1328385504":["hashtag1","hashtag2"]},{"1328385507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328385509, 1328385499, 1328385511, 1328385498, 1328385504, 1328385507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.06725478172302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:50:22.437958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0001.jpg', '/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0002.jpg', '/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0003.jpg', '/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0000.jpg', '/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0001.jpg', '/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0001.jpg
/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0002.jpg
/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_02_495454_0003.jpg
/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0000.jpg
/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0001.jpg
/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328386414","1328385520","1328385627","1328385516","1328385983","1328386777"],"photo_ids_order":["1328385516","1328385520","1328385627","1328385983","1328386414","1328386777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b869a39da2b3edc0de7603f4958f917c.jpg","text":"TemporaryFile(/tmp/multipartBody1725255540314088100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671897315,"filename":"image_12012025_09_50_03_007743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75799691e5b6141836869331f7733274.jpg","text":"TemporaryFile(/tmp/multipartBody7441260976117819301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671897315,"filename":"image_12012025_09_49_02_495454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c44c7812a2be7ca64464b23b872e07e2.jpg","text":"TemporaryFile(/tmp/multipartBody5524040659109834871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671897315,"filename":"image_12012025_09_49_02_495454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a5af669411a36d724252f3942bfc4682.jpg","text":"TemporaryFile(/tmp/multipartBody2836753327178831369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671897315,"filename":"image_12012025_09_49_02_495454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/586b0ef996d51b2cb33c373c18404464.jpg","text":"TemporaryFile(/tmp/multipartBody2484916832828328658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671897315,"filename":"image_12012025_09_50_03_007743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e17b3088bacb8be5282b8cbad4c5745.jpg","text":"TemporaryFile(/tmp/multipartBody828520339003792225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671897315,"filename":"image_12012025_09_50_03_007743_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328385627","file1":"1328385520","file0":"1328385516","file4":"1328386414","file5":"1328386777","file3":"1328385983"},"map_files_photo_id_array":[{"photo_id":"1328386777","filename":"file5"},{"photo_id":"1328385627","filename":"file2"},{"photo_id":"1328386414","filename":"file4"},{"photo_id":"1328385520","filename":"file1"},{"photo_id":"1328385516","filename":"file0"},{"photo_id":"1328385983","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328386414":["hashtag1","hashtag2"]},{"1328385520":["hashtag1","hashtag2"]},{"1328385627":["hashtag1","hashtag2"]},{"1328385516":["hashtag1","hashtag2"]},{"1328385983":["hashtag1","hashtag2"]},{"1328386777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328386414, 1328385520, 1328385627, 1328385516, 1328385983, 1328386777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04850721359253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 09:51:21.898590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0003.jpg', '/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0000.jpg', '/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0001.jpg', '/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0003.jpg
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0000.jpg
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0001.jpg
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.905211925506592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:52:02.771413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0003.jpg', '/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0000.jpg', '/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0001.jpg', '/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/50/image_12012025_09_50_03_007743_0003.jpg
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0000.jpg
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0001.jpg
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328386971","1328386968","1328386966","1328386969"],"photo_ids_order":["1328386966","1328386968","1328386969","1328386971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c92e7c4861526a3d01e05f91882f46a.jpg","text":"TemporaryFile(/tmp/multipartBody8338267029144289505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671993102,"filename":"image_12012025_09_51_02_791137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82493b59178216ece81d61f5125d87a8.jpg","text":"TemporaryFile(/tmp/multipartBody8342046428094771432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671993102,"filename":"image_12012025_09_51_02_791137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1ec96e469545c75cf56439b65900d2bd.jpg","text":"TemporaryFile(/tmp/multipartBody9093654202283579132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671993102,"filename":"image_12012025_09_50_03_007743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/985df99b85bb3fc2f3327104d9f2ae0b.jpg","text":"TemporaryFile(/tmp/multipartBody1159430745354913077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736671993102,"filename":"image_12012025_09_51_02_791137_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328386969","file1":"1328386968","file0":"1328386966","file3":"1328386971"},"map_files_photo_id_array":[{"photo_id":"1328386969","filename":"file2"},{"photo_id":"1328386968","filename":"file1"},{"photo_id":"1328386966","filename":"file0"},{"photo_id":"1328386971","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328386971":["hashtag1","hashtag2"]},{"1328386968":["hashtag1","hashtag2"]},{"1328386966":["hashtag1","hashtag2"]},{"1328386969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328386971, 1328386968, 1328386966, 1328386969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90008807182312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:53:02.719248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0003.jpg', '/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0000.jpg', '/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0001.jpg', '/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/51/image_12012025_09_51_02_791137_0003.jpg
/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0000.jpg
/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0001.jpg
/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328387607","1328387606","1328387540","1328387504"],"photo_ids_order":["1328387504","1328387540","1328387606","1328387607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87777ea1c39e87235fd34f5bcb46cd03.jpg","text":"TemporaryFile(/tmp/multipartBody2831844736903515254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672052890,"filename":"image_12012025_09_52_02_324948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a45e1cd6b70b4a24c7cea7d84162c7c4.jpg","text":"TemporaryFile(/tmp/multipartBody2237552103479146413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672052890,"filename":"image_12012025_09_52_02_324948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44db85b2b49d28e0bcc8eb9153e5978f.jpg","text":"TemporaryFile(/tmp/multipartBody8453650672477878697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672052890,"filename":"image_12012025_09_52_02_324948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76756bf831e3be3b3a6c33548920b03e.jpg","text":"TemporaryFile(/tmp/multipartBody4567006412905415336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672052890,"filename":"image_12012025_09_51_02_791137_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328387606","file1":"1328387540","file0":"1328387504","file3":"1328387607"},"map_files_photo_id_array":[{"photo_id":"1328387606","filename":"file2"},{"photo_id":"1328387540","filename":"file1"},{"photo_id":"1328387504","filename":"file0"},{"photo_id":"1328387607","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328387607":["hashtag1","hashtag2"]},{"1328387606":["hashtag1","hashtag2"]},{"1328387540":["hashtag1","hashtag2"]},{"1328387504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328387607, 1328387606, 1328387540, 1328387504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33929991722107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:54:03.051996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0003.jpg', '/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0000.jpg', '/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0001.jpg', '/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_02_324948_0003.jpg
/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0000.jpg
/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0001.jpg
/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328387691","1328387688","1328387693","1328387689"],"photo_ids_order":["1328387688","1328387689","1328387691","1328387693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fa3458b01207c14ed2b1915430523f4.jpg","text":"TemporaryFile(/tmp/multipartBody5364955020806390772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672113281,"filename":"image_12012025_09_53_02_837054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a84a6e58cedac7cabe955e77f582d02.jpg","text":"TemporaryFile(/tmp/multipartBody5171205370794485051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672113281,"filename":"image_12012025_09_52_02_324948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd31cf6ffaeb694c851a8434905fad9a.jpg","text":"TemporaryFile(/tmp/multipartBody1241572415073414623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672113281,"filename":"image_12012025_09_53_02_837054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea583658218967cf0848aa19a157f641.jpg","text":"TemporaryFile(/tmp/multipartBody4882024684679871034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672113281,"filename":"image_12012025_09_53_02_837054_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328387691","file1":"1328387689","file0":"1328387688","file3":"1328387693"},"map_files_photo_id_array":[{"photo_id":"1328387691","filename":"file2"},{"photo_id":"1328387689","filename":"file1"},{"photo_id":"1328387688","filename":"file0"},{"photo_id":"1328387693","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328387691":["hashtag1","hashtag2"]},{"1328387688":["hashtag1","hashtag2"]},{"1328387693":["hashtag1","hashtag2"]},{"1328387689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328387691, 1328387688, 1328387693, 1328387689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65137696266174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:55:02.580142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0003.jpg', '/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0000.jpg', '/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0001.jpg', '/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/53/image_12012025_09_53_02_837054_0003.jpg
/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0000.jpg
/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0001.jpg
/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328387739","1328387736","1328387741","1328387734"],"photo_ids_order":["1328387734","1328387736","1328387739","1328387741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cafc70123a8673d0956e183b328db854.jpg","text":"TemporaryFile(/tmp/multipartBody5439975521232353559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672173094,"filename":"image_12012025_09_54_02_306329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f517c0f60b612d0a7705c1f65d3813a.jpg","text":"TemporaryFile(/tmp/multipartBody1566272049169655286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672173094,"filename":"image_12012025_09_54_02_306329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bfded1c7d02788f451f009defb58586.jpg","text":"TemporaryFile(/tmp/multipartBody932770486137309339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672173094,"filename":"image_12012025_09_54_02_306329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d46b1fd82641fa10d3f74a3bc8fb4d3c.jpg","text":"TemporaryFile(/tmp/multipartBody5861780787497577978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672173094,"filename":"image_12012025_09_53_02_837054_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328387739","file1":"1328387736","file0":"1328387734","file3":"1328387741"},"map_files_photo_id_array":[{"photo_id":"1328387739","filename":"file2"},{"photo_id":"1328387736","filename":"file1"},{"photo_id":"1328387734","filename":"file0"},{"photo_id":"1328387741","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328387739":["hashtag1","hashtag2"]},{"1328387736":["hashtag1","hashtag2"]},{"1328387741":["hashtag1","hashtag2"]},{"1328387734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328387739, 1328387736, 1328387741, 1328387734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17332911491394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:56:03.163497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0003.jpg', '/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0000.jpg', '/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0001.jpg', '/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_02_306329_0003.jpg
/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0000.jpg
/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0001.jpg
/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328387751","1328387748","1328387753","1328387749"],"photo_ids_order":["1328387748","1328387749","1328387751","1328387753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f89f27b7045659fd5011701d78a21f7.jpg","text":"TemporaryFile(/tmp/multipartBody2341137898186804681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672233362,"filename":"image_12012025_09_55_02_943443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/839e02f07a8d214f36b4ac12c167093b.jpg","text":"TemporaryFile(/tmp/multipartBody8320175762704741845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672233362,"filename":"image_12012025_09_54_02_306329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c31623910761a6989d1fe85057afe02e.jpg","text":"TemporaryFile(/tmp/multipartBody3259823270108571795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672233362,"filename":"image_12012025_09_55_02_943443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58fa92b894f437998f5ddf185c409931.jpg","text":"TemporaryFile(/tmp/multipartBody5532387045981501184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672233362,"filename":"image_12012025_09_55_02_943443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328387751","file1":"1328387749","file0":"1328387748","file3":"1328387753"},"map_files_photo_id_array":[{"photo_id":"1328387751","filename":"file2"},{"photo_id":"1328387749","filename":"file1"},{"photo_id":"1328387748","filename":"file0"},{"photo_id":"1328387753","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328387751":["hashtag1","hashtag2"]},{"1328387748":["hashtag1","hashtag2"]},{"1328387753":["hashtag1","hashtag2"]},{"1328387749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328387751, 1328387748, 1328387753, 1328387749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37101888656616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:57:02.690998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0003.jpg', '/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0000.jpg', '/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0001.jpg', '/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/55/image_12012025_09_55_02_943443_0003.jpg
/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0000.jpg
/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0001.jpg
/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328388147","1328388268","1328387903","1328388025"],"photo_ids_order":["1328387903","1328388025","1328388147","1328388268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1ba00d875d8e01eb4233824a7ddf87cc.jpg","text":"TemporaryFile(/tmp/multipartBody3229173262140403538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672292877,"filename":"image_12012025_09_56_02_441055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/651817d29615f0585912a759f25e1be2.jpg","text":"TemporaryFile(/tmp/multipartBody3918923001271657605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672292877,"filename":"image_12012025_09_56_02_441055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9a11ddda36385dd38d3fdcb91a02012.jpg","text":"TemporaryFile(/tmp/multipartBody475237126422336280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672292877,"filename":"image_12012025_09_55_02_943443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c26689e25b475851facb2f067e62ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8914396963590417262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672292877,"filename":"image_12012025_09_56_02_441055_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328388147","file1":"1328388025","file0":"1328387903","file3":"1328388268"},"map_files_photo_id_array":[{"photo_id":"1328388147","filename":"file2"},{"photo_id":"1328388025","filename":"file1"},{"photo_id":"1328387903","filename":"file0"},{"photo_id":"1328388268","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328388147":["hashtag1","hashtag2"]},{"1328388268":["hashtag1","hashtag2"]},{"1328387903":["hashtag1","hashtag2"]},{"1328388025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328388147, 1328388268, 1328387903, 1328388025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.46002197265625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 09:59:02.695101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0003.jpg', '/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0000.jpg', '/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0001.jpg', '/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0002.jpg', '/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0003.jpg', '/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/56/image_12012025_09_56_02_441055_0003.jpg
/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0000.jpg
/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0001.jpg
/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0002.jpg
/home/pi/Desktop/images/12012025/09/57/image_12012025_09_57_03_102246_0003.jpg
/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_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":["1328389781","1328390019","1328389852","1328389881","1328389686","1328389842"],"photo_ids_order":["1328389686","1328389781","1328389842","1328389852","1328389881","1328390019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/541f8526118580a9e8b53d06cbe56c68.jpg","text":"TemporaryFile(/tmp/multipartBody6094364606888368575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672417695,"filename":"image_12012025_09_57_03_102246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a60f3d48220822ee08fa47caf122b004.jpg","text":"TemporaryFile(/tmp/multipartBody2714370822548602691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672417695,"filename":"image_12012025_09_58_02_651740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3327d503e42f23b73b91f1739916734a.jpg","text":"TemporaryFile(/tmp/multipartBody8292793206892149209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672417695,"filename":"image_12012025_09_57_03_102246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3536f2cb332a76e3cab8af4962d5efa.jpg","text":"TemporaryFile(/tmp/multipartBody8961261398610375084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672417695,"filename":"image_12012025_09_57_03_102246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e678be26c68de42926fb813a9f4a3115.jpg","text":"TemporaryFile(/tmp/multipartBody5462057519513258520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672417695,"filename":"image_12012025_09_56_02_441055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d67c289894e4453660215cfa9c58b87.jpg","text":"TemporaryFile(/tmp/multipartBody6759952664075014878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672417695,"filename":"image_12012025_09_57_03_102246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328389842","file1":"1328389781","file0":"1328389686","file4":"1328389881","file5":"1328390019","file3":"1328389852"},"map_files_photo_id_array":[{"photo_id":"1328390019","filename":"file5"},{"photo_id":"1328389842","filename":"file2"},{"photo_id":"1328389881","filename":"file4"},{"photo_id":"1328389781","filename":"file1"},{"photo_id":"1328389686","filename":"file0"},{"photo_id":"1328389852","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328389781":["hashtag1","hashtag2"]},{"1328390019":["hashtag1","hashtag2"]},{"1328389852":["hashtag1","hashtag2"]},{"1328389881":["hashtag1","hashtag2"]},{"1328389686":["hashtag1","hashtag2"]},{"1328389842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328389781, 1328390019, 1328389852, 1328389881, 1328389686, 1328389842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54809021949768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:00:02.730958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0001.jpg', '/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0002.jpg', '/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0003.jpg', '/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0000.jpg', '/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0001.jpg', '/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0001.jpg
/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0002.jpg
/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_02_651740_0003.jpg
/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0000.jpg
/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0001.jpg
/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328390604","1328390613","1328390563","1328390518","1328390521","1328390481"],"photo_ids_order":["1328390481","1328390518","1328390521","1328390563","1328390604","1328390613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b289546f90a4a08d1a83ee7dab515877.jpg","text":"TemporaryFile(/tmp/multipartBody7779122421503772879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672477827,"filename":"image_12012025_09_59_02_228788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f6802d392decb220fe0153c97f33d69.jpg","text":"TemporaryFile(/tmp/multipartBody543544563786277129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672477827,"filename":"image_12012025_09_59_02_228788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b2751180dfa20ce92fc13351c0f2e1d.jpg","text":"TemporaryFile(/tmp/multipartBody754284953702699374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672477827,"filename":"image_12012025_09_59_02_228788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47610979a9aab686eef4a087255537ba.jpg","text":"TemporaryFile(/tmp/multipartBody7969982047418261207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672477827,"filename":"image_12012025_09_58_02_651740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d76031491386739484c16386b7c9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1974519389153291971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672477827,"filename":"image_12012025_09_58_02_651740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b70a5cf9d5802284a85335173423c23c.jpg","text":"TemporaryFile(/tmp/multipartBody4168027094637940387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672477827,"filename":"image_12012025_09_58_02_651740_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328390521","file1":"1328390518","file0":"1328390481","file4":"1328390604","file5":"1328390613","file3":"1328390563"},"map_files_photo_id_array":[{"photo_id":"1328390613","filename":"file5"},{"photo_id":"1328390521","filename":"file2"},{"photo_id":"1328390604","filename":"file4"},{"photo_id":"1328390518","filename":"file1"},{"photo_id":"1328390481","filename":"file0"},{"photo_id":"1328390563","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328390604":["hashtag1","hashtag2"]},{"1328390613":["hashtag1","hashtag2"]},{"1328390563":["hashtag1","hashtag2"]},{"1328390518":["hashtag1","hashtag2"]},{"1328390521":["hashtag1","hashtag2"]},{"1328390481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328390604, 1328390613, 1328390563, 1328390518, 1328390521, 1328390481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99951362609863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:01:02.976358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0003.jpg', '/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0000.jpg', '/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0001.jpg', '/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/09/59/image_12012025_09_59_02_228788_0003.jpg
/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0000.jpg
/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0001.jpg
/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_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":["1328390654","1328390656","1328390920","1328390658"],"photo_ids_order":["1328390654","1328390656","1328390658","1328390920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c728dd2eec010a67e23d6b5188188d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4664179196923198449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672533225,"filename":"image_12012025_09_59_02_228788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b761a78286dd28765e8ae43871090525.jpg","text":"TemporaryFile(/tmp/multipartBody8338359820152317652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672533225,"filename":"image_12012025_10_00_02_383249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d326a19c6b45a56a5ffdbb7b430163ee.jpg","text":"TemporaryFile(/tmp/multipartBody6288923362092155730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672533225,"filename":"image_12012025_10_00_02_383249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64c1bb80a5e9d6a89872f666a2f7e82b.jpg","text":"TemporaryFile(/tmp/multipartBody8599387377555470613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672533225,"filename":"image_12012025_10_00_02_383249_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328390658","file1":"1328390656","file0":"1328390654","file3":"1328390920"},"map_files_photo_id_array":[{"photo_id":"1328390658","filename":"file2"},{"photo_id":"1328390656","filename":"file1"},{"photo_id":"1328390654","filename":"file0"},{"photo_id":"1328390920","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328390654":["hashtag1","hashtag2"]},{"1328390656":["hashtag1","hashtag2"]},{"1328390920":["hashtag1","hashtag2"]},{"1328390658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328390654, 1328390656, 1328390920, 1328390658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41511511802673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:01:42.395703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0003.jpg', '/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0000.jpg', '/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0001.jpg', '/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/00/image_12012025_10_00_02_383249_0003.jpg
/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0000.jpg
/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0001.jpg
/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_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":["1328391737","1328391739","1328391741","1328391738"],"photo_ids_order":["1328391737","1328391738","1328391739","1328391741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c652703336b5e2db5694ecff5d41ace.jpg","text":"TemporaryFile(/tmp/multipartBody1591776015565571053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672572852,"filename":"image_12012025_10_00_02_383249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72d7d91031e3bb9ac48f5fde6aa71ede.jpg","text":"TemporaryFile(/tmp/multipartBody5536553698459515260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672572852,"filename":"image_12012025_10_01_02_584523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0042c9bc5d9e8f449f993c430867d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody855764113556488284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672572852,"filename":"image_12012025_10_01_02_584523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d3dbaea371f3d33e8da2ce4e54f2644f.jpg","text":"TemporaryFile(/tmp/multipartBody6282354875882468052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672572852,"filename":"image_12012025_10_01_02_584523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328391739","file1":"1328391738","file0":"1328391737","file3":"1328391741"},"map_files_photo_id_array":[{"photo_id":"1328391739","filename":"file2"},{"photo_id":"1328391738","filename":"file1"},{"photo_id":"1328391737","filename":"file0"},{"photo_id":"1328391741","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328391737":["hashtag1","hashtag2"]},{"1328391739":["hashtag1","hashtag2"]},{"1328391741":["hashtag1","hashtag2"]},{"1328391738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328391737, 1328391739, 1328391741, 1328391738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.308295488357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:02:22.601131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0003.jpg', '/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0000.jpg', '/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0001.jpg', '/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/01/image_12012025_10_01_02_584523_0003.jpg
/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0000.jpg
/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0001.jpg
/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328391752","1328391755","1328391751","1328391748"],"photo_ids_order":["1328391748","1328391751","1328391752","1328391755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea3c60ed929faee91b0bc988d2452687.jpg","text":"TemporaryFile(/tmp/multipartBody703461096087979534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672612780,"filename":"image_12012025_10_02_02_762750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6df85f731fa78664443f9c04f666b4a8.jpg","text":"TemporaryFile(/tmp/multipartBody67565800892283012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672612780,"filename":"image_12012025_10_02_02_762750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/711aa5bd5356242c643306b7bb2c4676.jpg","text":"TemporaryFile(/tmp/multipartBody5102878533725606681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672612780,"filename":"image_12012025_10_02_02_762750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a2d87ceeef58293eb52d789f0f4aa39.jpg","text":"TemporaryFile(/tmp/multipartBody433863870545215845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672612780,"filename":"image_12012025_10_01_02_584523_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328391752","file1":"1328391751","file0":"1328391748","file3":"1328391755"},"map_files_photo_id_array":[{"photo_id":"1328391752","filename":"file2"},{"photo_id":"1328391751","filename":"file1"},{"photo_id":"1328391748","filename":"file0"},{"photo_id":"1328391755","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328391752":["hashtag1","hashtag2"]},{"1328391755":["hashtag1","hashtag2"]},{"1328391751":["hashtag1","hashtag2"]},{"1328391748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328391752, 1328391755, 1328391751, 1328391748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38682174682617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:03:03.370039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:03:22.804985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0003.jpg', '/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0000.jpg', '/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0001.jpg', '/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_02_762750_0003.jpg
/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0000.jpg
/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0001.jpg
/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328392582","1328392695","1328392818","1328392955"],"photo_ids_order":["1328392582","1328392695","1328392818","1328392955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f5de63abe56e601dc35603e6c732b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4403086166395958312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672673051,"filename":"image_12012025_10_02_02_762750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2748e740f4701b246f7dce46413fd474.jpg","text":"TemporaryFile(/tmp/multipartBody4671383111368484376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672673051,"filename":"image_12012025_10_03_02_992920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60a701435a0868136d23142e9546f372.jpg","text":"TemporaryFile(/tmp/multipartBody7504845168603286652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672673051,"filename":"image_12012025_10_03_02_992920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f24b85a39fd72325195365d1e8dc7edf.jpg","text":"TemporaryFile(/tmp/multipartBody8625120773097518961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672673051,"filename":"image_12012025_10_03_02_992920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328392818","file1":"1328392695","file0":"1328392582","file3":"1328392955"},"map_files_photo_id_array":[{"photo_id":"1328392818","filename":"file2"},{"photo_id":"1328392695","filename":"file1"},{"photo_id":"1328392582","filename":"file0"},{"photo_id":"1328392955","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328392582":["hashtag1","hashtag2"]},{"1328392695":["hashtag1","hashtag2"]},{"1328392818":["hashtag1","hashtag2"]},{"1328392955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328392582, 1328392695, 1328392818, 1328392955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.075117349624634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:04:22.068642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0003.jpg', '/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0000.jpg', '/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0001.jpg', '/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/03/image_12012025_10_03_02_992920_0003.jpg
/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0000.jpg
/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0001.jpg
/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328394217","1328393872","1328394210","1328394213"],"photo_ids_order":["1328393872","1328394210","1328394213","1328394217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5a255f5536084ad91728f9e19e64164.jpg","text":"TemporaryFile(/tmp/multipartBody8407595713414253182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672732182,"filename":"image_12012025_10_04_03_125309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b6faa1d41d689f82536e47d8a13e60c.jpg","text":"TemporaryFile(/tmp/multipartBody6527453764361464498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672732182,"filename":"image_12012025_10_03_02_992920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f2720ff22083329c0e659d4f8cd3b47.jpg","text":"TemporaryFile(/tmp/multipartBody7765111989778005702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672732182,"filename":"image_12012025_10_04_03_125309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/663b5384a87c84a62d966c7bbd074ede.jpg","text":"TemporaryFile(/tmp/multipartBody8131900220548430249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672732182,"filename":"image_12012025_10_04_03_125309_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328394213","file1":"1328394210","file0":"1328393872","file3":"1328394217"},"map_files_photo_id_array":[{"photo_id":"1328394213","filename":"file2"},{"photo_id":"1328394210","filename":"file1"},{"photo_id":"1328393872","filename":"file0"},{"photo_id":"1328394217","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328394217":["hashtag1","hashtag2"]},{"1328393872":["hashtag1","hashtag2"]},{"1328394210":["hashtag1","hashtag2"]},{"1328394213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328394217, 1328393872, 1328394210, 1328394213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3025438785553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:05:02.769101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:05:22.210405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0003.jpg', '/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0000.jpg', '/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0001.jpg', '/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_03_125309_0003.jpg
/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0000.jpg
/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0001.jpg
/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328395146","1328395143","1328395145","1328395105"],"photo_ids_order":["1328395105","1328395143","1328395145","1328395146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d5372e8d31797e924f41a27c0a31456.jpg","text":"TemporaryFile(/tmp/multipartBody1527125136400021121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672792205,"filename":"image_12012025_10_05_02_374663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d1d8f2587f5fa8c8b1354c85adbcfcb.jpg","text":"TemporaryFile(/tmp/multipartBody5190130778275119489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672792205,"filename":"image_12012025_10_05_02_374663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2bbd5bf1791454e33d1b0bbabe44e5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1199358416647233122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672792205,"filename":"image_12012025_10_05_02_374663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21327eae8734412476b12cb95a685e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6214695521329857157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672792205,"filename":"image_12012025_10_04_03_125309_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328395145","file1":"1328395143","file0":"1328395105","file3":"1328395146"},"map_files_photo_id_array":[{"photo_id":"1328395145","filename":"file2"},{"photo_id":"1328395143","filename":"file1"},{"photo_id":"1328395105","filename":"file0"},{"photo_id":"1328395146","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328395146":["hashtag1","hashtag2"]},{"1328395143":["hashtag1","hashtag2"]},{"1328395145":["hashtag1","hashtag2"]},{"1328395105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328395146, 1328395143, 1328395145, 1328395105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.199984550476074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:06:22.318573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0003.jpg', '/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0000.jpg', '/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0001.jpg', '/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0003.jpg
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0000.jpg
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0001.jpg
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_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.648965835571289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:06:42.381629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0003.jpg', '/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0000.jpg', '/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0001.jpg', '/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/05/image_12012025_10_05_02_374663_0003.jpg
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0000.jpg
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0001.jpg
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328395494","1328395499","1328395498","1328395531"],"photo_ids_order":["1328395494","1328395498","1328395499","1328395531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8a0642b10241b1cd7d77c0d7f11dfed.jpg","text":"TemporaryFile(/tmp/multipartBody6596663484310921301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672872421,"filename":"image_12012025_10_05_02_374663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d67fcc40078b8583dd088b0ffc61677.jpg","text":"TemporaryFile(/tmp/multipartBody5953221440962496535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672872421,"filename":"image_12012025_10_06_02_531828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d2cf8958eba0d5687ec153909775bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6399095994511828430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672872421,"filename":"image_12012025_10_06_02_531828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ae6c7d57d7d7d632b8ae436d4ff7ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8183161912630870797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672872421,"filename":"image_12012025_10_06_02_531828_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328395499","file1":"1328395498","file0":"1328395494","file3":"1328395531"},"map_files_photo_id_array":[{"photo_id":"1328395499","filename":"file2"},{"photo_id":"1328395498","filename":"file1"},{"photo_id":"1328395494","filename":"file0"},{"photo_id":"1328395531","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328395494":["hashtag1","hashtag2"]},{"1328395499":["hashtag1","hashtag2"]},{"1328395498":["hashtag1","hashtag2"]},{"1328395531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328395494, 1328395499, 1328395498, 1328395531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96626567840576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 10:07:32.614858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0003.jpg', '/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0000.jpg', '/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0001.jpg', '/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/06/image_12012025_10_06_02_531828_0003.jpg
/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0000.jpg
/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0001.jpg
/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328395589","1328395591","1328395588","1328395590"],"photo_ids_order":["1328395588","1328395589","1328395590","1328395591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7dc1b4d2a8d498ba7b1b76b83d7d274e.jpg","text":"TemporaryFile(/tmp/multipartBody9107165031165391372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672922836,"filename":"image_12012025_10_07_02_699243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/708389bda7c97e9ad97db7378f6a4212.jpg","text":"TemporaryFile(/tmp/multipartBody1976688846279603333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672922836,"filename":"image_12012025_10_07_02_699243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3243ded9955315ad5b999c9a373a181f.jpg","text":"TemporaryFile(/tmp/multipartBody3295796425603159486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672922836,"filename":"image_12012025_10_06_02_531828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b7297d6b12e3b5c680da3ca70385572.jpg","text":"TemporaryFile(/tmp/multipartBody446222598170088615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672922836,"filename":"image_12012025_10_07_02_699243_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328395590","file1":"1328395589","file0":"1328395588","file3":"1328395591"},"map_files_photo_id_array":[{"photo_id":"1328395590","filename":"file2"},{"photo_id":"1328395589","filename":"file1"},{"photo_id":"1328395588","filename":"file0"},{"photo_id":"1328395591","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328395589":["hashtag1","hashtag2"]},{"1328395591":["hashtag1","hashtag2"]},{"1328395588":["hashtag1","hashtag2"]},{"1328395590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328395589, 1328395591, 1328395588, 1328395590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13403677940369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:08:22.752727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0003.jpg', '/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0000.jpg', '/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0001.jpg', '/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/07/image_12012025_10_07_02_699243_0003.jpg
/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0000.jpg
/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0001.jpg
/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328395602","1328395604","1328395606","1328395600"],"photo_ids_order":["1328395600","1328395602","1328395604","1328395606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23939ba6c183bb20294416ec3df9b50a.jpg","text":"TemporaryFile(/tmp/multipartBody6284645165649082860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672973165,"filename":"image_12012025_10_08_02_984237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be814567715fa9f145327cf900c050b0.jpg","text":"TemporaryFile(/tmp/multipartBody8376023860197890890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672973165,"filename":"image_12012025_10_08_02_984237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/229a7a2076c46ce36805ea45289dba84.jpg","text":"TemporaryFile(/tmp/multipartBody3490885167788759639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672973165,"filename":"image_12012025_10_08_02_984237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/682c092b6f4c1b3eac4fe26fdfabe635.jpg","text":"TemporaryFile(/tmp/multipartBody1059918145394367595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736672973165,"filename":"image_12012025_10_07_02_699243_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328395604","file1":"1328395602","file0":"1328395600","file3":"1328395606"},"map_files_photo_id_array":[{"photo_id":"1328395604","filename":"file2"},{"photo_id":"1328395602","filename":"file1"},{"photo_id":"1328395600","filename":"file0"},{"photo_id":"1328395606","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328395602":["hashtag1","hashtag2"]},{"1328395604":["hashtag1","hashtag2"]},{"1328395606":["hashtag1","hashtag2"]},{"1328395600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328395602, 1328395604, 1328395606, 1328395600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.247560262680054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:09:02.602525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:09:21.910160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0003.jpg', '/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0000.jpg', '/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0001.jpg', '/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_02_984237_0003.jpg
/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0000.jpg
/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0001.jpg
/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328395620","1328395646","1328395625","1328395613"],"photo_ids_order":["1328395613","1328395620","1328395625","1328395646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/185f10410dcfa2d33d8277beb7a5de0b.jpg","text":"TemporaryFile(/tmp/multipartBody3940979117005352961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673032143,"filename":"image_12012025_10_09_03_161704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae194fd0a6c05db8b35ac600ac744739.jpg","text":"TemporaryFile(/tmp/multipartBody4225896622545471394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673032143,"filename":"image_12012025_10_09_03_161704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b244f583f35412ac41098756fd393a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3881880834415354295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673032143,"filename":"image_12012025_10_09_03_161704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58190fd18b8460f8e359d9073046a4c6.jpg","text":"TemporaryFile(/tmp/multipartBody5339419345126103313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673032143,"filename":"image_12012025_10_08_02_984237_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328395625","file1":"1328395620","file0":"1328395613","file3":"1328395646"},"map_files_photo_id_array":[{"photo_id":"1328395625","filename":"file2"},{"photo_id":"1328395620","filename":"file1"},{"photo_id":"1328395613","filename":"file0"},{"photo_id":"1328395646","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328395620":["hashtag1","hashtag2"]},{"1328395646":["hashtag1","hashtag2"]},{"1328395625":["hashtag1","hashtag2"]},{"1328395613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328395620, 1328395646, 1328395625, 1328395613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11426043510437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:10:02.362084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:10:22.026979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0003.jpg', '/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0000.jpg', '/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0001.jpg', '/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/09/image_12012025_10_09_03_161704_0003.jpg
/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0000.jpg
/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0001.jpg
/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328395653","1328395656","1328395661","1328395658"],"photo_ids_order":["1328395653","1328395656","1328395658","1328395661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47584c8745e41ea8a201c83b790ca6e0.jpg","text":"TemporaryFile(/tmp/multipartBody591928039877215105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673092114,"filename":"image_12012025_10_09_03_161704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/640ef883ccf5b237ff6aec2b0116eec4.jpg","text":"TemporaryFile(/tmp/multipartBody4168359732556068622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673092114,"filename":"image_12012025_10_10_02_202978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d6076a0170ead0582d86b04d297ad0c.jpg","text":"TemporaryFile(/tmp/multipartBody485554138191516355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673092114,"filename":"image_12012025_10_10_02_202978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b162111956920901aabd576af3f93913.jpg","text":"TemporaryFile(/tmp/multipartBody3472254382061626619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673092114,"filename":"image_12012025_10_10_02_202978_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328395658","file1":"1328395656","file0":"1328395653","file3":"1328395661"},"map_files_photo_id_array":[{"photo_id":"1328395658","filename":"file2"},{"photo_id":"1328395656","filename":"file1"},{"photo_id":"1328395653","filename":"file0"},{"photo_id":"1328395661","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328395653":["hashtag1","hashtag2"]},{"1328395656":["hashtag1","hashtag2"]},{"1328395661":["hashtag1","hashtag2"]},{"1328395658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328395653, 1328395656, 1328395661, 1328395658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35264015197754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:11:02.834487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:11:22.202812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0003.jpg', '/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0000.jpg', '/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0001.jpg', '/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/10/image_12012025_10_10_02_202978_0003.jpg
/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0000.jpg
/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0001.jpg
/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328396031","1328396231","1328396350","1328396155"],"photo_ids_order":["1328396031","1328396155","1328396231","1328396350"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e2cfc4f6ba56a6cc7a2ae3074cb72c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2898498394669910451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673152359,"filename":"image_12012025_10_10_02_202978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1de9b0f6d45930560fc255e48d77e860.jpg","text":"TemporaryFile(/tmp/multipartBody330602006312195317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673152359,"filename":"image_12012025_10_11_02_433246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75fb476921c68b91961abb2b643b097d.jpg","text":"TemporaryFile(/tmp/multipartBody4848098091354639806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673152359,"filename":"image_12012025_10_11_02_433246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc3dca84b3d39142d415e5010454748d.jpg","text":"TemporaryFile(/tmp/multipartBody1586219984614026381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673152359,"filename":"image_12012025_10_11_02_433246_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328396231","file1":"1328396155","file0":"1328396031","file3":"1328396350"},"map_files_photo_id_array":[{"photo_id":"1328396231","filename":"file2"},{"photo_id":"1328396155","filename":"file1"},{"photo_id":"1328396031","filename":"file0"},{"photo_id":"1328396350","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328396031":["hashtag1","hashtag2"]},{"1328396231":["hashtag1","hashtag2"]},{"1328396350":["hashtag1","hashtag2"]},{"1328396155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328396031, 1328396231, 1328396350, 1328396155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48692750930786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:12:02.881079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:12:22.401689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0003.jpg', '/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0000.jpg', '/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0001.jpg', '/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0003.jpg
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0000.jpg
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0001.jpg
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_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.890135765075684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:12:42.465863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0003.jpg', '/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0000.jpg', '/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0001.jpg', '/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/11/image_12012025_10_11_02_433246_0003.jpg
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0000.jpg
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0001.jpg
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_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":["1328396975","1328396933","1328396939","1328396930"],"photo_ids_order":["1328396930","1328396933","1328396939","1328396975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b41a5a09252df4929996f97f69adc735.jpg","text":"TemporaryFile(/tmp/multipartBody5372794154649196900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673232761,"filename":"image_12012025_10_12_02_584516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da937837d52e58ecbb648c0a61635b53.jpg","text":"TemporaryFile(/tmp/multipartBody1291839698494616737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673232761,"filename":"image_12012025_10_12_02_584516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfbb37d09ad4f57b658d18e45f925cd0.jpg","text":"TemporaryFile(/tmp/multipartBody155050718851696510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673232761,"filename":"image_12012025_10_12_02_584516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ded6ab6e7cb37200e6704697da709a3.jpg","text":"TemporaryFile(/tmp/multipartBody4467985605178616000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673232761,"filename":"image_12012025_10_11_02_433246_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328396939","file1":"1328396933","file0":"1328396930","file3":"1328396975"},"map_files_photo_id_array":[{"photo_id":"1328396939","filename":"file2"},{"photo_id":"1328396933","filename":"file1"},{"photo_id":"1328396930","filename":"file0"},{"photo_id":"1328396975","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328396975":["hashtag1","hashtag2"]},{"1328396933":["hashtag1","hashtag2"]},{"1328396939":["hashtag1","hashtag2"]},{"1328396930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328396975, 1328396933, 1328396939, 1328396930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47793912887573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:13:22.596047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0003.jpg', '/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0000.jpg', '/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0001.jpg', '/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/12/image_12012025_10_12_02_584516_0003.jpg
/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0000.jpg
/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0001.jpg
/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328397026","1328397023","1328397025","1328397027"],"photo_ids_order":["1328397023","1328397025","1328397026","1328397027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/401e5fbacfd72d9a2aa12d644071c787.jpg","text":"TemporaryFile(/tmp/multipartBody4717776903515606117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673272824,"filename":"image_12012025_10_13_02_705946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/989de8d333f5c7bb4eae84f514f45d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6484669679479971665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673272824,"filename":"image_12012025_10_12_02_584516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b7b7f83e282806a954d5d7118333131.jpg","text":"TemporaryFile(/tmp/multipartBody158043468566355602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673272824,"filename":"image_12012025_10_13_02_705946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7904cb69efe4ea1f961d52b477a5ee76.jpg","text":"TemporaryFile(/tmp/multipartBody680832367833615467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673272824,"filename":"image_12012025_10_13_02_705946_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328397026","file1":"1328397025","file0":"1328397023","file3":"1328397027"},"map_files_photo_id_array":[{"photo_id":"1328397026","filename":"file2"},{"photo_id":"1328397025","filename":"file1"},{"photo_id":"1328397023","filename":"file0"},{"photo_id":"1328397027","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328397026":["hashtag1","hashtag2"]},{"1328397023":["hashtag1","hashtag2"]},{"1328397025":["hashtag1","hashtag2"]},{"1328397027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328397026, 1328397023, 1328397025, 1328397027)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.72313666343689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:14:22.703502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0003.jpg', '/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0000.jpg', '/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0001.jpg', '/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/13/image_12012025_10_13_02_705946_0003.jpg
/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0000.jpg
/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0001.jpg
/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328397047","1328397041","1328397049","1328397045"],"photo_ids_order":["1328397041","1328397045","1328397047","1328397049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f84b0621078b8d3cd41a71c9a8cfa8d6.jpg","text":"TemporaryFile(/tmp/multipartBody3840235883874711472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673332736,"filename":"image_12012025_10_14_03_016070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1fa022930bb647eacaf0528f98819924.jpg","text":"TemporaryFile(/tmp/multipartBody948980660122975156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673332736,"filename":"image_12012025_10_13_02_705946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c10f6e2a7de846ad51344e5c846d8ba.jpg","text":"TemporaryFile(/tmp/multipartBody4747444800140254857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673332736,"filename":"image_12012025_10_14_03_016070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36234c96c2912a17c754388917d22394.jpg","text":"TemporaryFile(/tmp/multipartBody7580917280268460614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673332736,"filename":"image_12012025_10_14_03_016070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328397047","file1":"1328397045","file0":"1328397041","file3":"1328397049"},"map_files_photo_id_array":[{"photo_id":"1328397047","filename":"file2"},{"photo_id":"1328397045","filename":"file1"},{"photo_id":"1328397041","filename":"file0"},{"photo_id":"1328397049","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328397047":["hashtag1","hashtag2"]},{"1328397041":["hashtag1","hashtag2"]},{"1328397049":["hashtag1","hashtag2"]},{"1328397045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328397047, 1328397041, 1328397049, 1328397045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02877116203308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:15:21.907064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0003.jpg', '/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0000.jpg', '/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0001.jpg', '/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/14/image_12012025_10_14_03_016070_0003.jpg
/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0000.jpg
/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0001.jpg
/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328397629","1328397394","1328397762","1328397501"],"photo_ids_order":["1328397394","1328397501","1328397629","1328397762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e2d18565929277203ac57b74014ae49f.jpg","text":"TemporaryFile(/tmp/multipartBody4134000823173989594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673392213,"filename":"image_12012025_10_15_03_043106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a536cd1a9d31f474b15e3a94ed1c8d0c.jpg","text":"TemporaryFile(/tmp/multipartBody3388715039719000090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673392213,"filename":"image_12012025_10_14_03_016070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ac602aa731e894db0f4b695f4ad4fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7982859912930844068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673392213,"filename":"image_12012025_10_15_03_043106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f69ca39bbe309d7f4ab9ae2fb578c4a6.jpg","text":"TemporaryFile(/tmp/multipartBody1783102990019741075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673392213,"filename":"image_12012025_10_15_03_043106_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328397629","file1":"1328397501","file0":"1328397394","file3":"1328397762"},"map_files_photo_id_array":[{"photo_id":"1328397629","filename":"file2"},{"photo_id":"1328397501","filename":"file1"},{"photo_id":"1328397394","filename":"file0"},{"photo_id":"1328397762","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328397629":["hashtag1","hashtag2"]},{"1328397394":["hashtag1","hashtag2"]},{"1328397762":["hashtag1","hashtag2"]},{"1328397501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328397629, 1328397394, 1328397762, 1328397501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.8955283164978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:16:02.462593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:16:22.104926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0003.jpg', '/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0000.jpg', '/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0001.jpg', '/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/15/image_12012025_10_15_03_043106_0003.jpg
/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0000.jpg
/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0001.jpg
/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328397785","1328397787","1328397784","1328397789"],"photo_ids_order":["1328397784","1328397785","1328397787","1328397789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f892253dfc98d953e470463917f15046.jpg","text":"TemporaryFile(/tmp/multipartBody5971404552452994366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673452289,"filename":"image_12012025_10_16_02_236168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6d6d207a3acb4d45e84c56561606705.jpg","text":"TemporaryFile(/tmp/multipartBody2595547376319681372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673452289,"filename":"image_12012025_10_16_02_236168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59c89c1b40e7ae381c557cd0f3ddce37.jpg","text":"TemporaryFile(/tmp/multipartBody9060381868515804375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673452289,"filename":"image_12012025_10_15_03_043106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7e239e48ff7c9c339bf2c0ee16076ff.jpg","text":"TemporaryFile(/tmp/multipartBody4893700161011819575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673452289,"filename":"image_12012025_10_16_02_236168_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328397787","file1":"1328397785","file0":"1328397784","file3":"1328397789"},"map_files_photo_id_array":[{"photo_id":"1328397787","filename":"file2"},{"photo_id":"1328397785","filename":"file1"},{"photo_id":"1328397784","filename":"file0"},{"photo_id":"1328397789","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328397785":["hashtag1","hashtag2"]},{"1328397787":["hashtag1","hashtag2"]},{"1328397784":["hashtag1","hashtag2"]},{"1328397789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328397785, 1328397787, 1328397784, 1328397789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.92644929885864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:17:22.809663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0003.jpg', '/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0000.jpg', '/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0001.jpg', '/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/16/image_12012025_10_16_02_236168_0003.jpg
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0000.jpg
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0001.jpg
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328398228","1328398225","1328398197","1328398200"],"photo_ids_order":["1328398197","1328398200","1328398225","1328398228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2c72c1c3989d2670b6b58f5d782cbdd.jpg","text":"TemporaryFile(/tmp/multipartBody7051532236640610907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673513237,"filename":"image_12012025_10_17_02_487212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f140a687782bda002ea23cf05b519e60.jpg","text":"TemporaryFile(/tmp/multipartBody1615347115732866047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673513237,"filename":"image_12012025_10_17_02_487212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91772e8a6c56ec7d13e64605f1916acc.jpg","text":"TemporaryFile(/tmp/multipartBody8410436707669844801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673513237,"filename":"image_12012025_10_16_02_236168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d035ac4c83cddce47268c7238e3e7d66.jpg","text":"TemporaryFile(/tmp/multipartBody7024580391937236416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673513237,"filename":"image_12012025_10_17_02_487212_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328398225","file1":"1328398200","file0":"1328398197","file3":"1328398228"},"map_files_photo_id_array":[{"photo_id":"1328398225","filename":"file2"},{"photo_id":"1328398200","filename":"file1"},{"photo_id":"1328398197","filename":"file0"},{"photo_id":"1328398228","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328398228":["hashtag1","hashtag2"]},{"1328398225":["hashtag1","hashtag2"]},{"1328398197":["hashtag1","hashtag2"]},{"1328398200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328398228, 1328398225, 1328398197, 1328398200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50858426094055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:18:22.003752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0003.jpg', '/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0000.jpg', '/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0001.jpg', '/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0003.jpg
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0000.jpg
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0001.jpg
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_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.800410032272339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:18:41.978090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0003.jpg', '/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0000.jpg', '/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0001.jpg', '/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_02_487212_0003.jpg
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0000.jpg
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0001.jpg
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_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":["1328398960","1328398957","1328398956","1328398958"],"photo_ids_order":["1328398956","1328398957","1328398958","1328398960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a2185b3b62ee960a3cbe85266938cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2391350932897413646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673592159,"filename":"image_12012025_10_18_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/12/2477faba28fd0ef79e141d1737059430.jpg","text":"TemporaryFile(/tmp/multipartBody1287583867939034784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673592159,"filename":"image_12012025_10_18_03_121470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb3b956a72874dfc6f0dec4c76803bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6135412296262210392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673592159,"filename":"image_12012025_10_17_02_487212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebfa4a41ec9b1f02087e867f5e852f31.jpg","text":"TemporaryFile(/tmp/multipartBody5324677637563280693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673592159,"filename":"image_12012025_10_18_03_121470_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328398958","file1":"1328398957","file0":"1328398956","file3":"1328398960"},"map_files_photo_id_array":[{"photo_id":"1328398958","filename":"file2"},{"photo_id":"1328398957","filename":"file1"},{"photo_id":"1328398956","filename":"file0"},{"photo_id":"1328398960","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328398960":["hashtag1","hashtag2"]},{"1328398957":["hashtag1","hashtag2"]},{"1328398956":["hashtag1","hashtag2"]},{"1328398958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328398960, 1328398957, 1328398956, 1328398958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.298789501190186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:19:22.177005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0003.jpg', '/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0000.jpg', '/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0001.jpg', '/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/18/image_12012025_10_18_03_121470_0003.jpg
/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0000.jpg
/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0001.jpg
/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328399055","1328399492","1328399162","1328399810"],"photo_ids_order":["1328399055","1328399162","1328399492","1328399810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f1726fdb9f37092168c05112338a3de.jpg","text":"TemporaryFile(/tmp/multipartBody1592346061041897304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673632335,"filename":"image_12012025_10_18_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/12/0be05b10d68319120a98a3e907c0988b.jpg","text":"TemporaryFile(/tmp/multipartBody7641784944656764591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673632335,"filename":"image_12012025_10_19_02_291524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9dac783d44bcbe0eb098c198b040ecd6.jpg","text":"TemporaryFile(/tmp/multipartBody7786713429204793184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673632335,"filename":"image_12012025_10_19_02_291524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ff3b8c2b8bca9642bed3cfa3631d707.jpg","text":"TemporaryFile(/tmp/multipartBody8946391898754047690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673632335,"filename":"image_12012025_10_19_02_291524_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328399492","file1":"1328399162","file0":"1328399055","file3":"1328399810"},"map_files_photo_id_array":[{"photo_id":"1328399492","filename":"file2"},{"photo_id":"1328399162","filename":"file1"},{"photo_id":"1328399055","filename":"file0"},{"photo_id":"1328399810","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328399055":["hashtag1","hashtag2"]},{"1328399492":["hashtag1","hashtag2"]},{"1328399162":["hashtag1","hashtag2"]},{"1328399810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328399055, 1328399492, 1328399162, 1328399810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92843961715698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:20:02.726451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:20:22.331736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0003.jpg', '/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0000.jpg', '/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0001.jpg', '/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/19/image_12012025_10_19_02_291524_0003.jpg
/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0000.jpg
/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0001.jpg
/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328400429","1328400425","1328400424","1328400427"],"photo_ids_order":["1328400424","1328400425","1328400427","1328400429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b991514a8478a2f5b6dfc5fa88d809f.jpg","text":"TemporaryFile(/tmp/multipartBody4989121740918579612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673692802,"filename":"image_12012025_10_20_02_489953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6354772c2b5e19d9a85512a7d57cb39f.jpg","text":"TemporaryFile(/tmp/multipartBody1875228827410338028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673692802,"filename":"image_12012025_10_20_02_489953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/157a61d2494e2a317761b59d4326e809.jpg","text":"TemporaryFile(/tmp/multipartBody2211306849529447290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673692802,"filename":"image_12012025_10_19_02_291524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0241b0b49fb3b1357592b44082d782a9.jpg","text":"TemporaryFile(/tmp/multipartBody5167761922714515810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673692802,"filename":"image_12012025_10_20_02_489953_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328400427","file1":"1328400425","file0":"1328400424","file3":"1328400429"},"map_files_photo_id_array":[{"photo_id":"1328400427","filename":"file2"},{"photo_id":"1328400425","filename":"file1"},{"photo_id":"1328400424","filename":"file0"},{"photo_id":"1328400429","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328400429":["hashtag1","hashtag2"]},{"1328400425":["hashtag1","hashtag2"]},{"1328400424":["hashtag1","hashtag2"]},{"1328400427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328400429, 1328400425, 1328400424, 1328400427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.599852085113525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:21:22.654642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0003.jpg', '/home/pi/Desktop/images/12012025/10/21/image_12012025_10_21_02_786302_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/20/image_12012025_10_20_02_489953_0003.jpg
/home/pi/Desktop/images/12012025/10/21/image_12012025_10_21_02_786302_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":["1328400804","1328400857"],"photo_ids_order":["1328400804","1328400857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fda620d326a982776d41deaa46ece7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8149668052762314162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673748129,"filename":"image_12012025_10_20_02_489953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1623e82e17d2222b6d77cd7da02ddd9a.jpg","text":"TemporaryFile(/tmp/multipartBody8036369480761418944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673748129,"filename":"image_12012025_10_21_02_786302_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328400857","file0":"1328400804"},"map_files_photo_id_array":[{"photo_id":"1328400857","filename":"file1"},{"photo_id":"1328400804","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328400804":["hashtag1","hashtag2"]},{"1328400857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328400804, 1328400857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.442771911621094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 10:21:52.452600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:22:03.105497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:22:22.717196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/21/image_12012025_10_21_02_786302_0003.jpg', '/home/pi/Desktop/images/12012025/10/22/image_12012025_10_22_02_863799_0000.jpg', '/home/pi/Desktop/images/12012025/10/22/image_12012025_10_22_02_863799_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/21/image_12012025_10_21_02_786302_0003.jpg
/home/pi/Desktop/images/12012025/10/22/image_12012025_10_22_02_863799_0000.jpg
/home/pi/Desktop/images/12012025/10/22/image_12012025_10_22_02_863799_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":["1328400900","1328400899","1328400901"],"photo_ids_order":["1328400899","1328400900","1328400901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e1ca1324f3f8882aff011ab2ddea7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8794901905286898544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673810609,"filename":"image_12012025_10_22_02_863799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/759fc1d6addb8fb0edaed1a9e131e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody6426985253699062591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673810609,"filename":"image_12012025_10_21_02_786302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4bf86adaf6bbc72d6f4eac5b96556bb9.jpg","text":"TemporaryFile(/tmp/multipartBody6507629354732475699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673810609,"filename":"image_12012025_10_22_02_863799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328400901","file1":"1328400900","file0":"1328400899"},"map_files_photo_id_array":[{"photo_id":"1328400901","filename":"file2"},{"photo_id":"1328400900","filename":"file1"},{"photo_id":"1328400899","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328400900":["hashtag1","hashtag2"]},{"1328400899":["hashtag1","hashtag2"]},{"1328400901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328400900, 1328400899, 1328400901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.463579177856445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:23:02.471601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:23:21.824811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/22/image_12012025_10_22_02_863799_0002.jpg', '/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0000.jpg', '/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0001.jpg', '/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/22/image_12012025_10_22_02_863799_0002.jpg
/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0000.jpg
/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0001.jpg
/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401554","1328401565","1328401523","1328401566"],"photo_ids_order":["1328401523","1328401554","1328401565","1328401566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45e505e4bc0a519440901b5275eb31b0.jpg","text":"TemporaryFile(/tmp/multipartBody2007487355780905041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673871912,"filename":"image_12012025_10_23_03_072257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd1c903e8f64fa039f06af8d5a2f50e0.jpg","text":"TemporaryFile(/tmp/multipartBody5993515831241368445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673871912,"filename":"image_12012025_10_23_03_072257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7328028e7bdc2d924b941257525205d2.jpg","text":"TemporaryFile(/tmp/multipartBody3738293889539820006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673871912,"filename":"image_12012025_10_22_02_863799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0953ebd1b5dedd43ec240c582db5716f.jpg","text":"TemporaryFile(/tmp/multipartBody8630995749195804865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673871912,"filename":"image_12012025_10_23_03_072257_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401565","file1":"1328401554","file0":"1328401523","file3":"1328401566"},"map_files_photo_id_array":[{"photo_id":"1328401565","filename":"file2"},{"photo_id":"1328401554","filename":"file1"},{"photo_id":"1328401523","filename":"file0"},{"photo_id":"1328401566","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401554":["hashtag1","hashtag2"]},{"1328401565":["hashtag1","hashtag2"]},{"1328401523":["hashtag1","hashtag2"]},{"1328401566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401554, 1328401565, 1328401523, 1328401566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.90012001991272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:24:22.018256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0003.jpg', '/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0000.jpg', '/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0001.jpg', '/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0003.jpg
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0000.jpg
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0001.jpg
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_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.780245065689087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:24:41.985453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0003.jpg', '/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0000.jpg', '/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0001.jpg', '/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/23/image_12012025_10_23_03_072257_0003.jpg
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0000.jpg
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0001.jpg
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_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":["1328401796","1328401793","1328401792","1328401794"],"photo_ids_order":["1328401792","1328401793","1328401794","1328401796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/616cffd152372ffae3dcfb209e00651a.jpg","text":"TemporaryFile(/tmp/multipartBody5780567259853601518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673952165,"filename":"image_12012025_10_24_02_162556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8260af38debb36ffdf0e297d83842903.jpg","text":"TemporaryFile(/tmp/multipartBody5384426006405189321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673952165,"filename":"image_12012025_10_24_02_162556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ddb5166d0d96a4238b87637ab8454ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2079982113936862809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673952165,"filename":"image_12012025_10_23_03_072257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d071976fba738b06863efdd7af46c89.jpg","text":"TemporaryFile(/tmp/multipartBody55047910868374930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673952165,"filename":"image_12012025_10_24_02_162556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401794","file1":"1328401793","file0":"1328401792","file3":"1328401796"},"map_files_photo_id_array":[{"photo_id":"1328401794","filename":"file2"},{"photo_id":"1328401793","filename":"file1"},{"photo_id":"1328401792","filename":"file0"},{"photo_id":"1328401796","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401796":["hashtag1","hashtag2"]},{"1328401793":["hashtag1","hashtag2"]},{"1328401792":["hashtag1","hashtag2"]},{"1328401794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401796, 1328401793, 1328401792, 1328401794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71944069862366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:25:22.186898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0003.jpg', '/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0000.jpg', '/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0001.jpg', '/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/24/image_12012025_10_24_02_162556_0003.jpg
/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0000.jpg
/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0001.jpg
/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401806","1328401802","1328401805","1328401804"],"photo_ids_order":["1328401802","1328401804","1328401805","1328401806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f1ab39809cb266ac58cc287466909dc.jpg","text":"TemporaryFile(/tmp/multipartBody3493995785332651996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673992395,"filename":"image_12012025_10_25_02_348985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4982160f15fe590b8dd9972ef06080b.jpg","text":"TemporaryFile(/tmp/multipartBody5434214764056220281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673992395,"filename":"image_12012025_10_24_02_162556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d427655028ea35f6b75386b3e05d0510.jpg","text":"TemporaryFile(/tmp/multipartBody5816752342186420194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673992395,"filename":"image_12012025_10_25_02_348985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8825a77895c08f4887ca439ea54f46b.jpg","text":"TemporaryFile(/tmp/multipartBody2117367883796553134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736673992395,"filename":"image_12012025_10_25_02_348985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401805","file1":"1328401804","file0":"1328401802","file3":"1328401806"},"map_files_photo_id_array":[{"photo_id":"1328401805","filename":"file2"},{"photo_id":"1328401804","filename":"file1"},{"photo_id":"1328401802","filename":"file0"},{"photo_id":"1328401806","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401806":["hashtag1","hashtag2"]},{"1328401802":["hashtag1","hashtag2"]},{"1328401805":["hashtag1","hashtag2"]},{"1328401804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401806, 1328401802, 1328401805, 1328401804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34671497344971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:26:22.412390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0003.jpg', '/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0000.jpg', '/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0001.jpg', '/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/25/image_12012025_10_25_02_348985_0003.jpg
/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0000.jpg
/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0001.jpg
/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401815","1328401819","1328401816","1328401821"],"photo_ids_order":["1328401815","1328401816","1328401819","1328401821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/379e4921ef66a5b6348167c7a8e3b8c3.jpg","text":"TemporaryFile(/tmp/multipartBody3733997783986245709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674052752,"filename":"image_12012025_10_25_02_348985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1d3bef626e597b33601c6483156ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody8067773168871615129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674052752,"filename":"image_12012025_10_26_02_521378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1c284228098e6d4956eba73716080ec.jpg","text":"TemporaryFile(/tmp/multipartBody3728551763026986216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674052752,"filename":"image_12012025_10_26_02_521378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f76711baa05de9c7637899ccc4b8663.jpg","text":"TemporaryFile(/tmp/multipartBody6330341849913081245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674052752,"filename":"image_12012025_10_26_02_521378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401819","file1":"1328401816","file0":"1328401815","file3":"1328401821"},"map_files_photo_id_array":[{"photo_id":"1328401819","filename":"file2"},{"photo_id":"1328401816","filename":"file1"},{"photo_id":"1328401815","filename":"file0"},{"photo_id":"1328401821","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401815":["hashtag1","hashtag2"]},{"1328401819":["hashtag1","hashtag2"]},{"1328401816":["hashtag1","hashtag2"]},{"1328401821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401815, 1328401819, 1328401816, 1328401821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8276743888855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:27:22.527101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0003.jpg', '/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0000.jpg', '/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0001.jpg', '/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_02_521378_0003.jpg
/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0000.jpg
/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0001.jpg
/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401830","1328401832","1328401844","1328401828"],"photo_ids_order":["1328401828","1328401830","1328401832","1328401844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/492c1ba35cd362f2f2687d78f8ae0994.jpg","text":"TemporaryFile(/tmp/multipartBody5964332033115795565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674112832,"filename":"image_12012025_10_27_02_776609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/066cca8cac978a47cba29e822353ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody5677314848797171737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674112832,"filename":"image_12012025_10_27_02_776609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d49c555704bf1237050feeef7f69ff1.jpg","text":"TemporaryFile(/tmp/multipartBody623297558751186560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674112832,"filename":"image_12012025_10_27_02_776609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/973a34942ae26cbddee53f80c3d1026f.jpg","text":"TemporaryFile(/tmp/multipartBody4151188732712205887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674112832,"filename":"image_12012025_10_26_02_521378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401832","file1":"1328401830","file0":"1328401828","file3":"1328401844"},"map_files_photo_id_array":[{"photo_id":"1328401832","filename":"file2"},{"photo_id":"1328401830","filename":"file1"},{"photo_id":"1328401828","filename":"file0"},{"photo_id":"1328401844","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401830":["hashtag1","hashtag2"]},{"1328401832":["hashtag1","hashtag2"]},{"1328401844":["hashtag1","hashtag2"]},{"1328401828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401830, 1328401832, 1328401844, 1328401828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42552089691162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:28:03.147105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:28:22.748770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0003.jpg', '/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0000.jpg', '/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0001.jpg', '/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/27/image_12012025_10_27_02_776609_0003.jpg
/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0000.jpg
/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0001.jpg
/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401868","1328401873","1328401870","1328401866"],"photo_ids_order":["1328401866","1328401868","1328401870","1328401873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83a6204cd652bc6137d568f0c4c05910.jpg","text":"TemporaryFile(/tmp/multipartBody4389818078825326634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674172810,"filename":"image_12012025_10_28_02_901906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8c2f97e3311114679ec57dc866c7221.jpg","text":"TemporaryFile(/tmp/multipartBody3618343350577542775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674172810,"filename":"image_12012025_10_28_02_901906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6039d7362c6be8f75cf4ecadc5a6610.jpg","text":"TemporaryFile(/tmp/multipartBody6460671717613407564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674172810,"filename":"image_12012025_10_28_02_901906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d73ae4dc7be39c10a96332429886a76e.jpg","text":"TemporaryFile(/tmp/multipartBody3186918129183353237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674172810,"filename":"image_12012025_10_27_02_776609_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401870","file1":"1328401868","file0":"1328401866","file3":"1328401873"},"map_files_photo_id_array":[{"photo_id":"1328401870","filename":"file2"},{"photo_id":"1328401868","filename":"file1"},{"photo_id":"1328401866","filename":"file0"},{"photo_id":"1328401873","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401868":["hashtag1","hashtag2"]},{"1328401873":["hashtag1","hashtag2"]},{"1328401870":["hashtag1","hashtag2"]},{"1328401866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401868, 1328401873, 1328401870, 1328401866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.018603563308716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:29:21.918370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0003.jpg', '/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0000.jpg', '/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0001.jpg', '/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/28/image_12012025_10_28_02_901906_0003.jpg
/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0000.jpg
/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0001.jpg
/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401901","1328401894","1328401897","1328401899"],"photo_ids_order":["1328401894","1328401897","1328401899","1328401901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b6685dac4903cd4384787a3862113fd.jpg","text":"TemporaryFile(/tmp/multipartBody2599301857437390139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674232112,"filename":"image_12012025_10_29_03_067374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4392801a76ff34910d8f7457a5970019.jpg","text":"TemporaryFile(/tmp/multipartBody3652823238003515254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674232112,"filename":"image_12012025_10_28_02_901906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e010a80198a43bfc2c00ef71e946c048.jpg","text":"TemporaryFile(/tmp/multipartBody5319771878470282340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674232112,"filename":"image_12012025_10_29_03_067374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50cc7b983854954fea9cc2021ba16a39.jpg","text":"TemporaryFile(/tmp/multipartBody4557564453394158787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674232112,"filename":"image_12012025_10_29_03_067374_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401899","file1":"1328401897","file0":"1328401894","file3":"1328401901"},"map_files_photo_id_array":[{"photo_id":"1328401899","filename":"file2"},{"photo_id":"1328401897","filename":"file1"},{"photo_id":"1328401894","filename":"file0"},{"photo_id":"1328401901","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401901":["hashtag1","hashtag2"]},{"1328401894":["hashtag1","hashtag2"]},{"1328401897":["hashtag1","hashtag2"]},{"1328401899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401901, 1328401894, 1328401897, 1328401899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22308802604675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:30:02.518557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:30:22.134676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0003.jpg', '/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0000.jpg', '/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0001.jpg', '/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0003.jpg
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0000.jpg
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0001.jpg
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_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.7913339138031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:30:42.099560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0003.jpg', '/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0000.jpg', '/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0001.jpg', '/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/29/image_12012025_10_29_03_067374_0003.jpg
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0000.jpg
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0001.jpg
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_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":["1328401926","1328401943","1328401942","1328401945"],"photo_ids_order":["1328401926","1328401942","1328401943","1328401945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4eec39fde68911f872ba2811880f750d.jpg","text":"TemporaryFile(/tmp/multipartBody2551459459924825913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674312293,"filename":"image_12012025_10_29_03_067374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f7c3daa5a2d8de2c94986607c59f595.jpg","text":"TemporaryFile(/tmp/multipartBody5245945989870825188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674312293,"filename":"image_12012025_10_30_02_282721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34441f8f9e5f322b2ed420c7a7222437.jpg","text":"TemporaryFile(/tmp/multipartBody830471278252990868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674312293,"filename":"image_12012025_10_30_02_282721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36fb0c6f32ed97c97222a36cc3774c8c.jpg","text":"TemporaryFile(/tmp/multipartBody580763475237835279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674312293,"filename":"image_12012025_10_30_02_282721_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401943","file1":"1328401942","file0":"1328401926","file3":"1328401945"},"map_files_photo_id_array":[{"photo_id":"1328401943","filename":"file2"},{"photo_id":"1328401942","filename":"file1"},{"photo_id":"1328401926","filename":"file0"},{"photo_id":"1328401945","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401926":["hashtag1","hashtag2"]},{"1328401943":["hashtag1","hashtag2"]},{"1328401942":["hashtag1","hashtag2"]},{"1328401945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401926, 1328401943, 1328401942, 1328401945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.503535985946655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:31:22.310222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0003.jpg', '/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0000.jpg', '/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0001.jpg', '/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/30/image_12012025_10_30_02_282721_0003.jpg
/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0000.jpg
/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0001.jpg
/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401959","1328401955","1328401957","1328401953"],"photo_ids_order":["1328401953","1328401955","1328401957","1328401959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/accc7d557e77ff7f447aa2e6ccf5d2fd.jpg","text":"TemporaryFile(/tmp/multipartBody3664858677874329178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674352439,"filename":"image_12012025_10_31_02_429872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44af1e1ee8b52b0044b1c867a1036c59.jpg","text":"TemporaryFile(/tmp/multipartBody1253300698835614270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674352439,"filename":"image_12012025_10_31_02_429872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bf60f466799481660b238419f53b099.jpg","text":"TemporaryFile(/tmp/multipartBody565468469461662453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674352439,"filename":"image_12012025_10_31_02_429872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e8cde2530f95b952b6677d77da92d27.jpg","text":"TemporaryFile(/tmp/multipartBody3108977586682257831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674352439,"filename":"image_12012025_10_30_02_282721_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401957","file1":"1328401955","file0":"1328401953","file3":"1328401959"},"map_files_photo_id_array":[{"photo_id":"1328401957","filename":"file2"},{"photo_id":"1328401955","filename":"file1"},{"photo_id":"1328401953","filename":"file0"},{"photo_id":"1328401959","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401959":["hashtag1","hashtag2"]},{"1328401955":["hashtag1","hashtag2"]},{"1328401957":["hashtag1","hashtag2"]},{"1328401953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401959, 1328401955, 1328401957, 1328401953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.07750940322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:32:22.566324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0003.jpg', '/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0000.jpg', '/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0001.jpg', '/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_02_429872_0003.jpg
/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0000.jpg
/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0001.jpg
/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401970","1328401972","1328401974","1328401968"],"photo_ids_order":["1328401968","1328401970","1328401972","1328401974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14d6c4d30b8157f4267dd39d781b2b67.jpg","text":"TemporaryFile(/tmp/multipartBody888409261840774100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674412938,"filename":"image_12012025_10_32_02_647088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0e15e50b4a350e12d9fb9bb83e2426c.jpg","text":"TemporaryFile(/tmp/multipartBody2044053082338976475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674412938,"filename":"image_12012025_10_32_02_647088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f47106830381464c6dbb63a421bd0404.jpg","text":"TemporaryFile(/tmp/multipartBody5299035971849787926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674412938,"filename":"image_12012025_10_32_02_647088_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6d7564d5e31dc4c41677959a341d4f5.jpg","text":"TemporaryFile(/tmp/multipartBody222300727952396450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674412938,"filename":"image_12012025_10_31_02_429872_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328401972","file1":"1328401970","file0":"1328401968","file3":"1328401974"},"map_files_photo_id_array":[{"photo_id":"1328401972","filename":"file2"},{"photo_id":"1328401970","filename":"file1"},{"photo_id":"1328401968","filename":"file0"},{"photo_id":"1328401974","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401970":["hashtag1","hashtag2"]},{"1328401972":["hashtag1","hashtag2"]},{"1328401974":["hashtag1","hashtag2"]},{"1328401968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401970, 1328401972, 1328401974, 1328401968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.38647246360779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:33:22.767333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0003.jpg', '/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0000.jpg', '/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0001.jpg', '/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_02_647088_0003.jpg
/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0000.jpg
/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0001.jpg
/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328401997","1328401982","1328402000","1328402058"],"photo_ids_order":["1328401982","1328401997","1328402000","1328402058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f33f602144de475b83148f3fe04459f9.jpg","text":"TemporaryFile(/tmp/multipartBody5726193702620211001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674473247,"filename":"image_12012025_10_33_02_888573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3a327ee733bfb9d30f4c82c9fd50180.jpg","text":"TemporaryFile(/tmp/multipartBody4859562093628647528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674473247,"filename":"image_12012025_10_32_02_647088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a124c649b7bf6b5f84c2ef152a7273d3.jpg","text":"TemporaryFile(/tmp/multipartBody5212818362982484237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674473247,"filename":"image_12012025_10_33_02_888573_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4fdda28142e713c801e131d7a2e92cc.jpg","text":"TemporaryFile(/tmp/multipartBody6844268736502230163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674473247,"filename":"image_12012025_10_33_02_888573_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328402000","file1":"1328401997","file0":"1328401982","file3":"1328402058"},"map_files_photo_id_array":[{"photo_id":"1328402000","filename":"file2"},{"photo_id":"1328401997","filename":"file1"},{"photo_id":"1328401982","filename":"file0"},{"photo_id":"1328402058","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328401997":["hashtag1","hashtag2"]},{"1328401982":["hashtag1","hashtag2"]},{"1328402000":["hashtag1","hashtag2"]},{"1328402058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328401997, 1328401982, 1328402000, 1328402058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2152144908905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:34:21.964238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0003.jpg', '/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0000.jpg', '/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0001.jpg', '/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/33/image_12012025_10_33_02_888573_0003.jpg
/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0000.jpg
/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0001.jpg
/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328403901","1328403900","1328403903","1328403779"],"photo_ids_order":["1328403779","1328403900","1328403901","1328403903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46d3bba96dc6918dcb5da20d3cebe9e2.jpg","text":"TemporaryFile(/tmp/multipartBody82774411690764193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674532212,"filename":"image_12012025_10_34_03_143158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44bcad4749a7c6fdf21cc8288d79deb3.jpg","text":"TemporaryFile(/tmp/multipartBody2597819624014366263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674532212,"filename":"image_12012025_10_34_03_143158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c5eae61884bafd7de13483e7d09b62a.jpg","text":"TemporaryFile(/tmp/multipartBody101952601222614540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674532212,"filename":"image_12012025_10_34_03_143158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7112f5a65bfcf85c4366cd9c0b0f2255.jpg","text":"TemporaryFile(/tmp/multipartBody3489252432564972715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674532212,"filename":"image_12012025_10_33_02_888573_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328403901","file1":"1328403900","file0":"1328403779","file3":"1328403903"},"map_files_photo_id_array":[{"photo_id":"1328403901","filename":"file2"},{"photo_id":"1328403900","filename":"file1"},{"photo_id":"1328403779","filename":"file0"},{"photo_id":"1328403903","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328403901":["hashtag1","hashtag2"]},{"1328403900":["hashtag1","hashtag2"]},{"1328403903":["hashtag1","hashtag2"]},{"1328403779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328403901, 1328403900, 1328403903, 1328403779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52991223335266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:35:22.189149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0003.jpg', '/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0000.jpg', '/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0001.jpg', '/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_03_143158_0003.jpg
/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0000.jpg
/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0001.jpg
/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328404293","1328404326","1328403942","1328404291"],"photo_ids_order":["1328403942","1328404291","1328404293","1328404326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68e82adea66a18a5a92096906f58b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody8339871764041470980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674592482,"filename":"image_12012025_10_35_02_270164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/deb14977cd5672df85ee36e52e61f38d.jpg","text":"TemporaryFile(/tmp/multipartBody2169979041310421785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674592482,"filename":"image_12012025_10_35_02_270164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6da8c5dafbda8b42eec58cf106712605.jpg","text":"TemporaryFile(/tmp/multipartBody4591696245725163566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674592482,"filename":"image_12012025_10_34_03_143158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca77d72a56d9cf3519e3e43f77267f02.jpg","text":"TemporaryFile(/tmp/multipartBody681234724923217502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674592482,"filename":"image_12012025_10_35_02_270164_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328404293","file1":"1328404291","file0":"1328403942","file3":"1328404326"},"map_files_photo_id_array":[{"photo_id":"1328404293","filename":"file2"},{"photo_id":"1328404291","filename":"file1"},{"photo_id":"1328403942","filename":"file0"},{"photo_id":"1328404326","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328404293":["hashtag1","hashtag2"]},{"1328404326":["hashtag1","hashtag2"]},{"1328403942":["hashtag1","hashtag2"]},{"1328404291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328404293, 1328404326, 1328403942, 1328404291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.484880685806274 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-12 10:36:22.299602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0003.jpg', '/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0000.jpg', '/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0001.jpg', '/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/35/image_12012025_10_35_02_270164_0003.jpg
/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0000.jpg
/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0001.jpg
/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328404588","1328404711","1328404840","1328404477"],"photo_ids_order":["1328404477","1328404588","1328404711","1328404840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5093b3a8ff61388f2e22d24940b38f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8771467816707572020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674652571,"filename":"image_12012025_10_36_02_523932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81f89704f414da0345eef57862733a1a.jpg","text":"TemporaryFile(/tmp/multipartBody2989965813455663781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674652571,"filename":"image_12012025_10_36_02_523932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce33412acaba49ca8d5c84352b44d7cf.jpg","text":"TemporaryFile(/tmp/multipartBody2386163002842711621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674652571,"filename":"image_12012025_10_36_02_523932_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58bc6cc8a5ffb503ece86e593e2ce4af.jpg","text":"TemporaryFile(/tmp/multipartBody3113784884674499691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674652571,"filename":"image_12012025_10_35_02_270164_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328404711","file1":"1328404588","file0":"1328404477","file3":"1328404840"},"map_files_photo_id_array":[{"photo_id":"1328404711","filename":"file2"},{"photo_id":"1328404588","filename":"file1"},{"photo_id":"1328404477","filename":"file0"},{"photo_id":"1328404840","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328404588":["hashtag1","hashtag2"]},{"1328404711":["hashtag1","hashtag2"]},{"1328404840":["hashtag1","hashtag2"]},{"1328404477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328404588, 1328404711, 1328404840, 1328404477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10425424575806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:37:03.170320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:37:22.547565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0003.jpg', '/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0000.jpg', '/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0001.jpg', '/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_02_523932_0003.jpg
/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0000.jpg
/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0001.jpg
/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405050","1328405044","1328405042","1328405048"],"photo_ids_order":["1328405042","1328405044","1328405048","1328405050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/310f0aed64f18657adf2ac5244f1bfd7.jpg","text":"TemporaryFile(/tmp/multipartBody6988416051489215153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674712815,"filename":"image_12012025_10_37_02_650002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6cc5e6b191f72ac8bad26b7e02605499.jpg","text":"TemporaryFile(/tmp/multipartBody3253811222762578171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674712815,"filename":"image_12012025_10_37_02_650002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c52f3adcfe13d390753ed7fe3ff8a9ab.jpg","text":"TemporaryFile(/tmp/multipartBody148711001840004983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674712815,"filename":"image_12012025_10_36_02_523932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/61544331bf00d2e2e47c98f33ce8f358.jpg","text":"TemporaryFile(/tmp/multipartBody6380958732835800332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674712815,"filename":"image_12012025_10_37_02_650002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405048","file1":"1328405044","file0":"1328405042","file3":"1328405050"},"map_files_photo_id_array":[{"photo_id":"1328405048","filename":"file2"},{"photo_id":"1328405044","filename":"file1"},{"photo_id":"1328405042","filename":"file0"},{"photo_id":"1328405050","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405050":["hashtag1","hashtag2"]},{"1328405044":["hashtag1","hashtag2"]},{"1328405042":["hashtag1","hashtag2"]},{"1328405048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405050, 1328405044, 1328405042, 1328405048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.910887718200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:38:22.740423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0003.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0000.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0001.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0003.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0000.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0001.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_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.667300939559937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:38:42.727511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0003.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0000.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0001.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/37/image_12012025_10_37_02_650002_0003.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0000.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0001.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_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":["1328405067","1328405069","1328405063","1328405065"],"photo_ids_order":["1328405063","1328405065","1328405067","1328405069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c56ff49ea47e73c86c8d87a6ae723356.jpg","text":"TemporaryFile(/tmp/multipartBody8453724890572817690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674792839,"filename":"image_12012025_10_38_02_903560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ceab7dc367993ca6951639525d1e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3999061151057400625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674792839,"filename":"image_12012025_10_38_02_903560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25c2ab7166693891bec54e39268ce9d0.jpg","text":"TemporaryFile(/tmp/multipartBody3509751876728248157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674792839,"filename":"image_12012025_10_37_02_650002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcb48fecd973e34a327b03868802e27e.jpg","text":"TemporaryFile(/tmp/multipartBody4326674338080919244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674792839,"filename":"image_12012025_10_38_02_903560_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405067","file1":"1328405065","file0":"1328405063","file3":"1328405069"},"map_files_photo_id_array":[{"photo_id":"1328405067","filename":"file2"},{"photo_id":"1328405065","filename":"file1"},{"photo_id":"1328405063","filename":"file0"},{"photo_id":"1328405069","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405067":["hashtag1","hashtag2"]},{"1328405069":["hashtag1","hashtag2"]},{"1328405063":["hashtag1","hashtag2"]},{"1328405065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405067, 1328405069, 1328405063, 1328405065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.597492694854736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:39:21.927538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0003.jpg', '/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0000.jpg', '/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0001.jpg', '/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_02_903560_0003.jpg
/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0000.jpg
/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0001.jpg
/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405094","1328405081","1328405090","1328405092"],"photo_ids_order":["1328405081","1328405090","1328405092","1328405094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03ad5372c6d77a52fe650757ba20aba9.jpg","text":"TemporaryFile(/tmp/multipartBody7466646897217233963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674832061,"filename":"image_12012025_10_39_03_077183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72c8c8e7efb2537d855ad1f4621980c7.jpg","text":"TemporaryFile(/tmp/multipartBody8628427738477025785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674832061,"filename":"image_12012025_10_38_02_903560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0ef0c4b2d5c7d9c779b3295414307a5.jpg","text":"TemporaryFile(/tmp/multipartBody9004746096013624744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674832061,"filename":"image_12012025_10_39_03_077183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8073a051ece8fb4d43e2ed30b71b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2868095370254959971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674832061,"filename":"image_12012025_10_39_03_077183_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405092","file1":"1328405090","file0":"1328405081","file3":"1328405094"},"map_files_photo_id_array":[{"photo_id":"1328405092","filename":"file2"},{"photo_id":"1328405090","filename":"file1"},{"photo_id":"1328405081","filename":"file0"},{"photo_id":"1328405094","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405094":["hashtag1","hashtag2"]},{"1328405081":["hashtag1","hashtag2"]},{"1328405090":["hashtag1","hashtag2"]},{"1328405092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405094, 1328405081, 1328405090, 1328405092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.732621908187866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:40:02.524515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:40:22.240086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0003.jpg', '/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0000.jpg', '/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0001.jpg', '/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_03_077183_0003.jpg
/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0000.jpg
/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0001.jpg
/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405110","1328405104","1328405107","1328405102"],"photo_ids_order":["1328405102","1328405104","1328405107","1328405110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8776b4e6b9ef0fec550d9cb0bcb3a151.jpg","text":"TemporaryFile(/tmp/multipartBody907922127124110941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674892529,"filename":"image_12012025_10_40_02_265116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cac235658f9a56aec4e446955e3e3353.jpg","text":"TemporaryFile(/tmp/multipartBody7620829893571493658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674892529,"filename":"image_12012025_10_40_02_265116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c3762be00a94d2810cb886144edc5b1.jpg","text":"TemporaryFile(/tmp/multipartBody7134132118777810123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674892529,"filename":"image_12012025_10_40_02_265116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47557a76a1353574f8094e9afd337b17.jpg","text":"TemporaryFile(/tmp/multipartBody8179902851405888589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674892529,"filename":"image_12012025_10_39_03_077183_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405107","file1":"1328405104","file0":"1328405102","file3":"1328405110"},"map_files_photo_id_array":[{"photo_id":"1328405107","filename":"file2"},{"photo_id":"1328405104","filename":"file1"},{"photo_id":"1328405102","filename":"file0"},{"photo_id":"1328405110","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405110":["hashtag1","hashtag2"]},{"1328405104":["hashtag1","hashtag2"]},{"1328405107":["hashtag1","hashtag2"]},{"1328405102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405110, 1328405104, 1328405107, 1328405102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.983251094818115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:41:22.314677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0003.jpg', '/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0000.jpg', '/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0001.jpg', '/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_02_265116_0003.jpg
/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0000.jpg
/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0001.jpg
/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405122","1328405118","1328405120","1328405117"],"photo_ids_order":["1328405117","1328405118","1328405120","1328405122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7f6e4d9573cdbd4cd1d8f5a9c861600.jpg","text":"TemporaryFile(/tmp/multipartBody892387330776699178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674952489,"filename":"image_12012025_10_41_02_491824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b52adc359958f628f7e016cc063d8e4.jpg","text":"TemporaryFile(/tmp/multipartBody6898451153384687791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674952489,"filename":"image_12012025_10_41_02_491824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a352f9e26781e0bf2534c3edeb913bc3.jpg","text":"TemporaryFile(/tmp/multipartBody100206024020423355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674952489,"filename":"image_12012025_10_41_02_491824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8426a85f8d59a3b5deff65a324ca2ac.jpg","text":"TemporaryFile(/tmp/multipartBody7108217175947462651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736674952489,"filename":"image_12012025_10_40_02_265116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405120","file1":"1328405118","file0":"1328405117","file3":"1328405122"},"map_files_photo_id_array":[{"photo_id":"1328405120","filename":"file2"},{"photo_id":"1328405118","filename":"file1"},{"photo_id":"1328405117","filename":"file0"},{"photo_id":"1328405122","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405122":["hashtag1","hashtag2"]},{"1328405118":["hashtag1","hashtag2"]},{"1328405120":["hashtag1","hashtag2"]},{"1328405117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405122, 1328405118, 1328405120, 1328405117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62054657936096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:42:22.579167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0003.jpg', '/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0000.jpg', '/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0003.jpg
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0000.jpg
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_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.47426962852478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 10:42:32.504943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0003.jpg', '/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0000.jpg', '/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_02_491824_0003.jpg
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0000.jpg
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_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":["1328405139","1328405147","1328405149"],"photo_ids_order":["1328405139","1328405147","1328405149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/155034e8ae6d4062c32912d88f7d93d6.jpg","text":"TemporaryFile(/tmp/multipartBody1685425661526648060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675020377,"filename":"image_12012025_10_41_02_491824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6a0ab2ae1aaa21ff3a492c95128170a.jpg","text":"TemporaryFile(/tmp/multipartBody3484058580745196009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675020377,"filename":"image_12012025_10_42_02_715270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f772ff3ec26f7fedbdae319c2e0cd05.jpg","text":"TemporaryFile(/tmp/multipartBody4764365361460213894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675020377,"filename":"image_12012025_10_42_02_715270_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405149","file1":"1328405147","file0":"1328405139"},"map_files_photo_id_array":[{"photo_id":"1328405149","filename":"file2"},{"photo_id":"1328405147","filename":"file1"},{"photo_id":"1328405139","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405139":["hashtag1","hashtag2"]},{"1328405147":["hashtag1","hashtag2"]},{"1328405149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405139, 1328405147, 1328405149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.397132873535156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:43:22.820486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0002.jpg', '/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0000.jpg', '/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0001.jpg', '/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_02_715270_0002.jpg
/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0000.jpg
/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0001.jpg
/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405158","1328405157","1328405160","1328405162"],"photo_ids_order":["1328405157","1328405158","1328405160","1328405162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ceadd86a52e64fb75a5a5c6deb8ea40.jpg","text":"TemporaryFile(/tmp/multipartBody8290469810682754792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675073038,"filename":"image_12012025_10_43_02_907631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc3e147aadecdb0e13da47fc0c704747.jpg","text":"TemporaryFile(/tmp/multipartBody2994430877634035771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675073038,"filename":"image_12012025_10_42_02_715270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da2e2a5849a2320d70cca4221ed5baec.jpg","text":"TemporaryFile(/tmp/multipartBody1080239007797275358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675073038,"filename":"image_12012025_10_43_02_907631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5536b7c92c8a577007e07e145ec746f.jpg","text":"TemporaryFile(/tmp/multipartBody1313232387431291270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675073038,"filename":"image_12012025_10_43_02_907631_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405160","file1":"1328405158","file0":"1328405157","file3":"1328405162"},"map_files_photo_id_array":[{"photo_id":"1328405160","filename":"file2"},{"photo_id":"1328405158","filename":"file1"},{"photo_id":"1328405157","filename":"file0"},{"photo_id":"1328405162","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405158":["hashtag1","hashtag2"]},{"1328405157":["hashtag1","hashtag2"]},{"1328405160":["hashtag1","hashtag2"]},{"1328405162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405158, 1328405157, 1328405160, 1328405162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.757561922073364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:44:21.932611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0003.jpg', '/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0000.jpg', '/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0001.jpg', '/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/43/image_12012025_10_43_02_907631_0003.jpg
/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0000.jpg
/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0001.jpg
/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405175","1328405177","1328405179","1328405176"],"photo_ids_order":["1328405175","1328405176","1328405177","1328405179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05dc4597053b798c01395fe0fd9fb4de.jpg","text":"TemporaryFile(/tmp/multipartBody5938026186251184733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675132152,"filename":"image_12012025_10_43_02_907631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7b7a9321a34c3f6e522fb3a55fc3217.jpg","text":"TemporaryFile(/tmp/multipartBody3884350545604632981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675132152,"filename":"image_12012025_10_44_03_107209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38870d4bd4a29f86c068f9cea9d37ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8332843062891162653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675132152,"filename":"image_12012025_10_44_03_107209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42eefeb444cc36afb5ee1d0dcc627c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2221908119810377353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675132152,"filename":"image_12012025_10_44_03_107209_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405177","file1":"1328405176","file0":"1328405175","file3":"1328405179"},"map_files_photo_id_array":[{"photo_id":"1328405177","filename":"file2"},{"photo_id":"1328405176","filename":"file1"},{"photo_id":"1328405175","filename":"file0"},{"photo_id":"1328405179","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405175":["hashtag1","hashtag2"]},{"1328405177":["hashtag1","hashtag2"]},{"1328405179":["hashtag1","hashtag2"]},{"1328405176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405175, 1328405177, 1328405179, 1328405176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.133220195770264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:45:02.770498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:45:22.168882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0003.jpg', '/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0000.jpg', '/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0001.jpg', '/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_03_107209_0003.jpg
/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0000.jpg
/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0001.jpg
/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328405209","1328405199","1328405213","1328405216"],"photo_ids_order":["1328405199","1328405209","1328405213","1328405216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/517e4f27217254179442928857353493.jpg","text":"TemporaryFile(/tmp/multipartBody8931026724049328795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675192328,"filename":"image_12012025_10_45_02_280360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ea307aaa116c55e58244bf274cf1899.jpg","text":"TemporaryFile(/tmp/multipartBody6630676495632074845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675192328,"filename":"image_12012025_10_44_03_107209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b40f19f6ff86fca7563e7cdf2e75b4be.jpg","text":"TemporaryFile(/tmp/multipartBody3657341648630984959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675192328,"filename":"image_12012025_10_45_02_280360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63d0f8020f09a71a6548fe435ea94be0.jpg","text":"TemporaryFile(/tmp/multipartBody469644849780953154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675192328,"filename":"image_12012025_10_45_02_280360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328405213","file1":"1328405209","file0":"1328405199","file3":"1328405216"},"map_files_photo_id_array":[{"photo_id":"1328405213","filename":"file2"},{"photo_id":"1328405209","filename":"file1"},{"photo_id":"1328405199","filename":"file0"},{"photo_id":"1328405216","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328405209":["hashtag1","hashtag2"]},{"1328405199":["hashtag1","hashtag2"]},{"1328405213":["hashtag1","hashtag2"]},{"1328405216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328405209, 1328405199, 1328405213, 1328405216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.70902752876282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:46:02.777785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:46:22.321249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0003.jpg', '/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0000.jpg', '/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0001.jpg', '/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/45/image_12012025_10_45_02_280360_0003.jpg
/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0000.jpg
/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0001.jpg
/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328406075","1328406429","1328406197","1328406310"],"photo_ids_order":["1328406075","1328406197","1328406310","1328406429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/faf1e455759d52881745b485cdf5f391.jpg","text":"TemporaryFile(/tmp/multipartBody1651892397323687600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675252567,"filename":"image_12012025_10_45_02_280360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7f0de135cb0de19bf3ac026a9ebfe20.jpg","text":"TemporaryFile(/tmp/multipartBody7555951843510256721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675252567,"filename":"image_12012025_10_46_02_508187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7fde1ee6909aa7816b4448f8bc081a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1648144990139079296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675252567,"filename":"image_12012025_10_46_02_508187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b46e80a692d0ff7e2bd9346271a842d.jpg","text":"TemporaryFile(/tmp/multipartBody4604222234059056120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675252567,"filename":"image_12012025_10_46_02_508187_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328406310","file1":"1328406197","file0":"1328406075","file3":"1328406429"},"map_files_photo_id_array":[{"photo_id":"1328406310","filename":"file2"},{"photo_id":"1328406197","filename":"file1"},{"photo_id":"1328406075","filename":"file0"},{"photo_id":"1328406429","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328406075":["hashtag1","hashtag2"]},{"1328406429":["hashtag1","hashtag2"]},{"1328406197":["hashtag1","hashtag2"]},{"1328406310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328406075, 1328406429, 1328406197, 1328406310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97580695152283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:47:02.998359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:47:22.604456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0003.jpg', '/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0000.jpg', '/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0001.jpg', '/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_02_508187_0003.jpg
/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0000.jpg
/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0001.jpg
/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328406606","1328406611","1328406608","1328406613"],"photo_ids_order":["1328406606","1328406608","1328406611","1328406613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bee4d3b1e5a49ca90cf21fd00f07fd55.jpg","text":"TemporaryFile(/tmp/multipartBody1682960976668918920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675312882,"filename":"image_12012025_10_46_02_508187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41504bd5307a9cbe83c474947dafa2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6286242265972053447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675312882,"filename":"image_12012025_10_47_02_673268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f8ad2caf41e0d94b42fa137031ddd77.jpg","text":"TemporaryFile(/tmp/multipartBody1349664982253584296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675312882,"filename":"image_12012025_10_47_02_673268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05e416396cad764a6b904b0d3751c0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8318074151986267723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675312882,"filename":"image_12012025_10_47_02_673268_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328406611","file1":"1328406608","file0":"1328406606","file3":"1328406613"},"map_files_photo_id_array":[{"photo_id":"1328406611","filename":"file2"},{"photo_id":"1328406608","filename":"file1"},{"photo_id":"1328406606","filename":"file0"},{"photo_id":"1328406613","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328406606":["hashtag1","hashtag2"]},{"1328406611":["hashtag1","hashtag2"]},{"1328406608":["hashtag1","hashtag2"]},{"1328406613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328406606, 1328406611, 1328406608, 1328406613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.19624710083008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:48:03.039032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:48:22.664052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0003.jpg', '/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0000.jpg', '/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0001.jpg', '/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/47/image_12012025_10_47_02_673268_0003.jpg
/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0000.jpg
/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0001.jpg
/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328406978","1328407064","1328407001","1328406990"],"photo_ids_order":["1328406978","1328406990","1328407001","1328407064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67289ce89c43d5c1b836c8218f79259d.jpg","text":"TemporaryFile(/tmp/multipartBody8661684805050521368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675372858,"filename":"image_12012025_10_47_02_673268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e4402be2155d988d2ef155c59747b38.jpg","text":"TemporaryFile(/tmp/multipartBody8850137857568015999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675372858,"filename":"image_12012025_10_48_02_858556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c4cd89f3d804805190984053ecb607c.jpg","text":"TemporaryFile(/tmp/multipartBody445608302640666766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675372858,"filename":"image_12012025_10_48_02_858556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af98fcdcd7b7181aac3b6cf87460f218.jpg","text":"TemporaryFile(/tmp/multipartBody1343772577154758696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675372858,"filename":"image_12012025_10_48_02_858556_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328407001","file1":"1328406990","file0":"1328406978","file3":"1328407064"},"map_files_photo_id_array":[{"photo_id":"1328407001","filename":"file2"},{"photo_id":"1328406990","filename":"file1"},{"photo_id":"1328406978","filename":"file0"},{"photo_id":"1328407064","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328406978":["hashtag1","hashtag2"]},{"1328407064":["hashtag1","hashtag2"]},{"1328407001":["hashtag1","hashtag2"]},{"1328406990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328406978, 1328407064, 1328407001, 1328406990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.348366498947144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:49:21.833497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0003.jpg', '/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0000.jpg', '/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0001.jpg', '/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_02_858556_0003.jpg
/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0000.jpg
/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0001.jpg
/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328407145","1328407141","1328407144","1328407246"],"photo_ids_order":["1328407141","1328407144","1328407145","1328407246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d789a32d4d92fdece6f75cc037abb537.jpg","text":"TemporaryFile(/tmp/multipartBody8303410320478664667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675432209,"filename":"image_12012025_10_49_02_961491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8e55fa2f90cc4eb2ff5b7ecab4cd6d7.jpg","text":"TemporaryFile(/tmp/multipartBody234696979427336109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675432209,"filename":"image_12012025_10_48_02_858556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3a04969154560ea5dbe866bb64facdf.jpg","text":"TemporaryFile(/tmp/multipartBody4804795127158852483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675432209,"filename":"image_12012025_10_49_02_961491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c89cf9c26de8430beb709e22e77987b.jpg","text":"TemporaryFile(/tmp/multipartBody6862233955312111833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675432209,"filename":"image_12012025_10_49_02_961491_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328407145","file1":"1328407144","file0":"1328407141","file3":"1328407246"},"map_files_photo_id_array":[{"photo_id":"1328407145","filename":"file2"},{"photo_id":"1328407144","filename":"file1"},{"photo_id":"1328407141","filename":"file0"},{"photo_id":"1328407246","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328407145":["hashtag1","hashtag2"]},{"1328407141":["hashtag1","hashtag2"]},{"1328407144":["hashtag1","hashtag2"]},{"1328407246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328407145, 1328407141, 1328407144, 1328407246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.61526799201965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:50:22.069213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0003.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0000.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0001.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0003.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0000.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0001.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_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.024906158447266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:50:42.028239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0003.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0000.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0001.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/49/image_12012025_10_49_02_961491_0003.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0000.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0001.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_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":["1328408354","1328408348","1328408350","1328408352"],"photo_ids_order":["1328408348","1328408350","1328408352","1328408354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e65539f2e44f89349b10dff56d7e85e.jpg","text":"TemporaryFile(/tmp/multipartBody8684587611007978130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675512474,"filename":"image_12012025_10_50_02_198311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91c81aabd9ef5131555e16582f17f311.jpg","text":"TemporaryFile(/tmp/multipartBody912268962509491354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675512474,"filename":"image_12012025_10_49_02_961491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd138001a3b3d1a3f5c1c1dc9e717027.jpg","text":"TemporaryFile(/tmp/multipartBody4458907087771127078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675512474,"filename":"image_12012025_10_50_02_198311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7bb9a7d51682ace5340ab2291b0da45.jpg","text":"TemporaryFile(/tmp/multipartBody2874084310460497800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675512474,"filename":"image_12012025_10_50_02_198311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328408352","file1":"1328408350","file0":"1328408348","file3":"1328408354"},"map_files_photo_id_array":[{"photo_id":"1328408352","filename":"file2"},{"photo_id":"1328408350","filename":"file1"},{"photo_id":"1328408348","filename":"file0"},{"photo_id":"1328408354","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328408354":["hashtag1","hashtag2"]},{"1328408348":["hashtag1","hashtag2"]},{"1328408350":["hashtag1","hashtag2"]},{"1328408352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328408354, 1328408348, 1328408350, 1328408352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73407959938049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:51:22.271248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0003.jpg', '/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0000.jpg', '/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0001.jpg', '/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_02_198311_0003.jpg
/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0000.jpg
/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0001.jpg
/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328408741","1328408684","1328408903","1328408695"],"photo_ids_order":["1328408684","1328408695","1328408741","1328408903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dec89900a970e8f2b10146f8256c3d20.jpg","text":"TemporaryFile(/tmp/multipartBody7463688031751647329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675552713,"filename":"image_12012025_10_51_02_333512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3013fc8895ab5e0ff816cac9f9bac961.jpg","text":"TemporaryFile(/tmp/multipartBody1381086694733781251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675552713,"filename":"image_12012025_10_50_02_198311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f11fe36951b0e7cad7160f43f31e09f9.jpg","text":"TemporaryFile(/tmp/multipartBody7069117763378822571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675552713,"filename":"image_12012025_10_51_02_333512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/200a508bcdb80ee9fb136bfae8c834bb.jpg","text":"TemporaryFile(/tmp/multipartBody1785429930801197350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675552713,"filename":"image_12012025_10_51_02_333512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328408741","file1":"1328408695","file0":"1328408684","file3":"1328408903"},"map_files_photo_id_array":[{"photo_id":"1328408741","filename":"file2"},{"photo_id":"1328408695","filename":"file1"},{"photo_id":"1328408684","filename":"file0"},{"photo_id":"1328408903","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328408741":["hashtag1","hashtag2"]},{"1328408684":["hashtag1","hashtag2"]},{"1328408903":["hashtag1","hashtag2"]},{"1328408695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328408741, 1328408684, 1328408903, 1328408695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.86598753929138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:52:22.408789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0003.jpg', '/home/pi/Desktop/images/12012025/10/52/image_12012025_10_52_02_540060_0000.jpg', '/home/pi/Desktop/images/12012025/10/52/image_12012025_10_52_02_540060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_02_333512_0003.jpg
/home/pi/Desktop/images/12012025/10/52/image_12012025_10_52_02_540060_0000.jpg
/home/pi/Desktop/images/12012025/10/52/image_12012025_10_52_02_540060_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328410092","1328409819","1328409980"],"photo_ids_order":["1328409819","1328409980","1328410092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e659331ffe258cdf13c128c29d7480db.jpg","text":"TemporaryFile(/tmp/multipartBody4370203159374433717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675610290,"filename":"image_12012025_10_52_02_540060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a69b86f28906784a3ed96ec7121b217c.jpg","text":"TemporaryFile(/tmp/multipartBody8247552926340694813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675610290,"filename":"image_12012025_10_51_02_333512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f6e9f401911ea8814750c5cd3b39eae.jpg","text":"TemporaryFile(/tmp/multipartBody5858952752408946540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675610290,"filename":"image_12012025_10_52_02_540060_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328410092","file1":"1328409980","file0":"1328409819"},"map_files_photo_id_array":[{"photo_id":"1328410092","filename":"file2"},{"photo_id":"1328409980","filename":"file1"},{"photo_id":"1328409819","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328410092":["hashtag1","hashtag2"]},{"1328409819":["hashtag1","hashtag2"]},{"1328409980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328410092, 1328409819, 1328409980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.48796057701111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:53:03.299442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:53:22.640126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/52/image_12012025_10_52_02_540060_0003.jpg', '/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0000.jpg', '/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0001.jpg', '/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/52/image_12012025_10_52_02_540060_0003.jpg
/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0000.jpg
/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0001.jpg
/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328410496","1328410619","1328410789","1328410644"],"photo_ids_order":["1328410496","1328410619","1328410644","1328410789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea4f4748ffadd599dd7240087ae60d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2745867826280596753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675672913,"filename":"image_12012025_10_52_02_540060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b6baa493838e3c3d1f7735ceb28a450.jpg","text":"TemporaryFile(/tmp/multipartBody7573166785722225426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675672913,"filename":"image_12012025_10_53_02_840578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e4e783607910568a2a9622778dc7558.jpg","text":"TemporaryFile(/tmp/multipartBody8728936877433804964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675672913,"filename":"image_12012025_10_53_02_840578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6930486bdf24ac9f1d893a9b01ac0dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3201183862215495412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675672913,"filename":"image_12012025_10_53_02_840578_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328410644","file1":"1328410619","file0":"1328410496","file3":"1328410789"},"map_files_photo_id_array":[{"photo_id":"1328410644","filename":"file2"},{"photo_id":"1328410619","filename":"file1"},{"photo_id":"1328410496","filename":"file0"},{"photo_id":"1328410789","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328410496":["hashtag1","hashtag2"]},{"1328410619":["hashtag1","hashtag2"]},{"1328410789":["hashtag1","hashtag2"]},{"1328410644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328410496, 1328410619, 1328410789, 1328410644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03283214569092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:54:03.091920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:54:22.777967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0003.jpg', '/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0000.jpg', '/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0001.jpg', '/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_02_840578_0003.jpg
/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0000.jpg
/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0001.jpg
/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328411053","1328411064","1328411072","1328411042"],"photo_ids_order":["1328411042","1328411053","1328411064","1328411072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/617c9703577c3e2154ef1a8d635b172e.jpg","text":"TemporaryFile(/tmp/multipartBody3816584711583677741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675733033,"filename":"image_12012025_10_54_02_944099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/811ce3113503046cbb18c51976425a3d.jpg","text":"TemporaryFile(/tmp/multipartBody9016457382499041543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675733033,"filename":"image_12012025_10_54_02_944099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e62f88be39d43ffc4f7438a785047339.jpg","text":"TemporaryFile(/tmp/multipartBody5859834276739469047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675733033,"filename":"image_12012025_10_54_02_944099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2856f58ec6d04652b4e6f9ced3a169fa.jpg","text":"TemporaryFile(/tmp/multipartBody1619183871573845163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675733033,"filename":"image_12012025_10_53_02_840578_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328411064","file1":"1328411053","file0":"1328411042","file3":"1328411072"},"map_files_photo_id_array":[{"photo_id":"1328411064","filename":"file2"},{"photo_id":"1328411053","filename":"file1"},{"photo_id":"1328411042","filename":"file0"},{"photo_id":"1328411072","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328411053":["hashtag1","hashtag2"]},{"1328411064":["hashtag1","hashtag2"]},{"1328411072":["hashtag1","hashtag2"]},{"1328411042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328411053, 1328411064, 1328411072, 1328411042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.81685972213745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:55:21.956082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0003.jpg', '/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0000.jpg', '/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0001.jpg', '/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_02_944099_0003.jpg
/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0000.jpg
/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0001.jpg
/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328411083","1328411086","1328411088","1328411087"],"photo_ids_order":["1328411083","1328411086","1328411087","1328411088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce19122be577e5557ae9f6c73915037c.jpg","text":"TemporaryFile(/tmp/multipartBody7676884464367520516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675792027,"filename":"image_12012025_10_54_02_944099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02864f8d13d802dd7cc0a3ec501137bb.jpg","text":"TemporaryFile(/tmp/multipartBody1517934833067902281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675792027,"filename":"image_12012025_10_55_03_110744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4a4342c66d3e7107434ea5a282071c5.jpg","text":"TemporaryFile(/tmp/multipartBody8922866049129200121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675792027,"filename":"image_12012025_10_55_03_110744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbaa9ee0e1650e2b8fcb670f67149d23.jpg","text":"TemporaryFile(/tmp/multipartBody2249196844481943128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675792027,"filename":"image_12012025_10_55_03_110744_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328411087","file1":"1328411086","file0":"1328411083","file3":"1328411088"},"map_files_photo_id_array":[{"photo_id":"1328411087","filename":"file2"},{"photo_id":"1328411086","filename":"file1"},{"photo_id":"1328411083","filename":"file0"},{"photo_id":"1328411088","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328411083":["hashtag1","hashtag2"]},{"1328411086":["hashtag1","hashtag2"]},{"1328411088":["hashtag1","hashtag2"]},{"1328411087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328411083, 1328411086, 1328411088, 1328411087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92654275894165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:56:22.210943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0003.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0000.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0001.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0003.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0000.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0001.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_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.792945861816406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 10:56:42.179438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0003.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0000.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0001.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/55/image_12012025_10_55_03_110744_0003.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0000.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0001.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_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":["1328411105","1328411107","1328411109","1328411106"],"photo_ids_order":["1328411105","1328411106","1328411107","1328411109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1c2ee8627788cc97f80ac77999c1e58.jpg","text":"TemporaryFile(/tmp/multipartBody1964110021803179914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675872343,"filename":"image_12012025_10_55_03_110744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d3de5ef18677ffed68e245f3b7322b46.jpg","text":"TemporaryFile(/tmp/multipartBody6611589938792504318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675872343,"filename":"image_12012025_10_56_02_306925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0a453fa1c7bdc533b0ecd69e48ec9f4.jpg","text":"TemporaryFile(/tmp/multipartBody1485149994408322437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675872343,"filename":"image_12012025_10_56_02_306925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b73c300442cf2312058d62ce57ab100.jpg","text":"TemporaryFile(/tmp/multipartBody19453037959555374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675872343,"filename":"image_12012025_10_56_02_306925_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328411107","file1":"1328411106","file0":"1328411105","file3":"1328411109"},"map_files_photo_id_array":[{"photo_id":"1328411107","filename":"file2"},{"photo_id":"1328411106","filename":"file1"},{"photo_id":"1328411105","filename":"file0"},{"photo_id":"1328411109","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328411105":["hashtag1","hashtag2"]},{"1328411107":["hashtag1","hashtag2"]},{"1328411109":["hashtag1","hashtag2"]},{"1328411106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328411105, 1328411107, 1328411109, 1328411106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.76132869720459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:57:22.416331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0003.jpg', '/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0000.jpg', '/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0001.jpg', '/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_02_306925_0003.jpg
/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0000.jpg
/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0001.jpg
/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328411129","1328411120","1328411122","1328411118"],"photo_ids_order":["1328411118","1328411120","1328411122","1328411129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9800c14d5896b26750fb9a23e745cfea.jpg","text":"TemporaryFile(/tmp/multipartBody6280967529092700700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675912751,"filename":"image_12012025_10_57_02_537400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8aecf0c7d542014ab752b6c1fb700a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2741336931414994037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675912751,"filename":"image_12012025_10_57_02_537400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c41ba37fd28ad7d4b07f1038554667a5.jpg","text":"TemporaryFile(/tmp/multipartBody6744474140347362461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675912751,"filename":"image_12012025_10_57_02_537400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/400707d6fddd20c3d926f10f16007856.jpg","text":"TemporaryFile(/tmp/multipartBody7429687780663066581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736675912751,"filename":"image_12012025_10_56_02_306925_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328411122","file1":"1328411120","file0":"1328411118","file3":"1328411129"},"map_files_photo_id_array":[{"photo_id":"1328411122","filename":"file2"},{"photo_id":"1328411120","filename":"file1"},{"photo_id":"1328411118","filename":"file0"},{"photo_id":"1328411129","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328411129":["hashtag1","hashtag2"]},{"1328411120":["hashtag1","hashtag2"]},{"1328411122":["hashtag1","hashtag2"]},{"1328411118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328411129, 1328411120, 1328411122, 1328411118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.760066747665405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 10:59:03.283779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0003.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0000.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0001.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0003.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0000.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0001.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.89059567451477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 10:59:22.844654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0003.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0000.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0001.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0002.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0003.jpg', '/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/57/image_12012025_10_57_02_537400_0003.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0000.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0001.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0002.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_02_787033_0003.jpg
/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_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":["1328412754","1328412541","1328412777","1328412810","1328412494","1328412812"],"photo_ids_order":["1328412494","1328412541","1328412754","1328412777","1328412810","1328412812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ce44cdb2af98e7c9f104d0a2f1da028.jpg","text":"TemporaryFile(/tmp/multipartBody5112905301013398879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676037886,"filename":"image_12012025_10_58_02_787033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e38a8ef9520d5d618e081b771f06feaa.jpg","text":"TemporaryFile(/tmp/multipartBody4950041137203715967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676037886,"filename":"image_12012025_10_58_02_787033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17a439160aa22e66053177b79acfec8f.jpg","text":"TemporaryFile(/tmp/multipartBody6979800566733927702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676037886,"filename":"image_12012025_10_58_02_787033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f70a36453f8e1f34a0d406894a123ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4900955579121011602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676037886,"filename":"image_12012025_10_58_02_787033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab0aa55662791a7ec4f52d852f62b334.jpg","text":"TemporaryFile(/tmp/multipartBody3505514612069982958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676037886,"filename":"image_12012025_10_57_02_537400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/468f86308acb6ffe261eb8a20d292043.jpg","text":"TemporaryFile(/tmp/multipartBody3262578491527185894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676037886,"filename":"image_12012025_10_59_03_030837_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328412754","file1":"1328412541","file0":"1328412494","file4":"1328412810","file5":"1328412812","file3":"1328412777"},"map_files_photo_id_array":[{"photo_id":"1328412812","filename":"file5"},{"photo_id":"1328412754","filename":"file2"},{"photo_id":"1328412810","filename":"file4"},{"photo_id":"1328412541","filename":"file1"},{"photo_id":"1328412494","filename":"file0"},{"photo_id":"1328412777","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328412754":["hashtag1","hashtag2"]},{"1328412541":["hashtag1","hashtag2"]},{"1328412777":["hashtag1","hashtag2"]},{"1328412810":["hashtag1","hashtag2"]},{"1328412494":["hashtag1","hashtag2"]},{"1328412812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328412754, 1328412541, 1328412777, 1328412810, 1328412494, 1328412812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.8927583694458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:00:22.012208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0001.jpg', '/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0002.jpg', '/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0003.jpg', '/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0000.jpg', '/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0001.jpg', '/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0001.jpg
/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0002.jpg
/home/pi/Desktop/images/12012025/10/59/image_12012025_10_59_03_030837_0003.jpg
/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0000.jpg
/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0001.jpg
/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328412829","1328412831","1328412828","1328412833","1328412827","1328412830"],"photo_ids_order":["1328412827","1328412828","1328412829","1328412830","1328412831","1328412833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/067be2edc3a616faf3225e60c34fb485.jpg","text":"TemporaryFile(/tmp/multipartBody9066981691100048995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676096905,"filename":"image_12012025_10_59_03_030837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b05a02934dbb0eab4fc1246ba0d75ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8193537065611453691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676096905,"filename":"image_12012025_11_00_03_116264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4e1d43b0661436059a0fceeb0c1eb07.jpg","text":"TemporaryFile(/tmp/multipartBody7968796844779541162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676096905,"filename":"image_12012025_10_59_03_030837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c8b8bbeded4d7029de71a116c233835.jpg","text":"TemporaryFile(/tmp/multipartBody5336673269959023823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676096905,"filename":"image_12012025_11_00_03_116264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ffbf082c19a8ca1613c9011aeefac889.jpg","text":"TemporaryFile(/tmp/multipartBody3897143650530795688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676096905,"filename":"image_12012025_10_59_03_030837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec04cb2ff3f4d9ed8ae884d38bb0ee59.jpg","text":"TemporaryFile(/tmp/multipartBody6582836622333448730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676096905,"filename":"image_12012025_11_00_03_116264_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328412829","file1":"1328412828","file0":"1328412827","file4":"1328412831","file5":"1328412833","file3":"1328412830"},"map_files_photo_id_array":[{"photo_id":"1328412833","filename":"file5"},{"photo_id":"1328412829","filename":"file2"},{"photo_id":"1328412831","filename":"file4"},{"photo_id":"1328412828","filename":"file1"},{"photo_id":"1328412827","filename":"file0"},{"photo_id":"1328412830","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328412829":["hashtag1","hashtag2"]},{"1328412831":["hashtag1","hashtag2"]},{"1328412828":["hashtag1","hashtag2"]},{"1328412833":["hashtag1","hashtag2"]},{"1328412827":["hashtag1","hashtag2"]},{"1328412830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328412829, 1328412831, 1328412828, 1328412833, 1328412827, 1328412830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.534247636795044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:01:22.197963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0003.jpg', '/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0000.jpg', '/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0001.jpg', '/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_03_116264_0003.jpg
/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0000.jpg
/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0001.jpg
/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328413387","1328413252","1328413255","1328413249"],"photo_ids_order":["1328413249","1328413252","1328413255","1328413387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23d5b5d0f4c4a0fe5e9342d6604f0935.jpg","text":"TemporaryFile(/tmp/multipartBody5130945328566784744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676152390,"filename":"image_12012025_11_01_02_273232_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a5b819a60c7be901e3dc8d2ca808358.jpg","text":"TemporaryFile(/tmp/multipartBody9170934994726083569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676152390,"filename":"image_12012025_11_01_02_273232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/109f8eabc454604d6c0d594766bcd0ab.jpg","text":"TemporaryFile(/tmp/multipartBody8130269788487314141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676152390,"filename":"image_12012025_11_01_02_273232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d85b67b1db3f1b544dfb3158db944949.jpg","text":"TemporaryFile(/tmp/multipartBody2251036651356446523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676152390,"filename":"image_12012025_11_00_03_116264_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328413255","file1":"1328413252","file0":"1328413249","file3":"1328413387"},"map_files_photo_id_array":[{"photo_id":"1328413255","filename":"file2"},{"photo_id":"1328413252","filename":"file1"},{"photo_id":"1328413249","filename":"file0"},{"photo_id":"1328413387","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328413387":["hashtag1","hashtag2"]},{"1328413252":["hashtag1","hashtag2"]},{"1328413255":["hashtag1","hashtag2"]},{"1328413249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328413387, 1328413252, 1328413255, 1328413249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11028218269348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:02:02.688785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:02:22.291675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0003.jpg', '/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0000.jpg', '/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0001.jpg', '/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/01/image_12012025_11_01_02_273232_0003.jpg
/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0000.jpg
/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0001.jpg
/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328413430","1328413433","1328413427","1328413435"],"photo_ids_order":["1328413427","1328413430","1328413433","1328413435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6481a0902b0b691200d79f6c2276c721.jpg","text":"TemporaryFile(/tmp/multipartBody6745804065712915928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676212486,"filename":"image_12012025_11_02_02_456258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94473860a08f8b7d247b84006c5b7afa.jpg","text":"TemporaryFile(/tmp/multipartBody4210106693630770493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676212486,"filename":"image_12012025_11_02_02_456258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/479b8e1abc90635d39b6bac4fbb3ba0c.jpg","text":"TemporaryFile(/tmp/multipartBody6037636143683387342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676212486,"filename":"image_12012025_11_01_02_273232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ce8c2110bdd2c9f1602a1c3cdbc32f5.jpg","text":"TemporaryFile(/tmp/multipartBody2074419513083963253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676212486,"filename":"image_12012025_11_02_02_456258_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328413433","file1":"1328413430","file0":"1328413427","file3":"1328413435"},"map_files_photo_id_array":[{"photo_id":"1328413433","filename":"file2"},{"photo_id":"1328413430","filename":"file1"},{"photo_id":"1328413427","filename":"file0"},{"photo_id":"1328413435","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328413430":["hashtag1","hashtag2"]},{"1328413433":["hashtag1","hashtag2"]},{"1328413427":["hashtag1","hashtag2"]},{"1328413435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328413430, 1328413433, 1328413427, 1328413435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.841715574264526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:03:22.556161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0003.jpg', '/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0000.jpg', '/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0001.jpg', '/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_02_456258_0003.jpg
/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0000.jpg
/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0001.jpg
/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328414166","1328413659","1328414164","1328413933"],"photo_ids_order":["1328413659","1328413933","1328414164","1328414166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d002624c7613f54b0b1a3121679142d3.jpg","text":"TemporaryFile(/tmp/multipartBody1441783659399074344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676272812,"filename":"image_12012025_11_03_02_705365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adc06992e66705f0f56b33efb3292517.jpg","text":"TemporaryFile(/tmp/multipartBody85203525051884928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676272812,"filename":"image_12012025_11_02_02_456258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e2e591bb8a3c3345c199ec75fbf215c.jpg","text":"TemporaryFile(/tmp/multipartBody8880154372484507989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676272812,"filename":"image_12012025_11_03_02_705365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af80d747e6428fede902533172ebba3d.jpg","text":"TemporaryFile(/tmp/multipartBody7352915709311834527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676272812,"filename":"image_12012025_11_03_02_705365_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328414164","file1":"1328413933","file0":"1328413659","file3":"1328414166"},"map_files_photo_id_array":[{"photo_id":"1328414164","filename":"file2"},{"photo_id":"1328413933","filename":"file1"},{"photo_id":"1328413659","filename":"file0"},{"photo_id":"1328414166","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328414166":["hashtag1","hashtag2"]},{"1328413659":["hashtag1","hashtag2"]},{"1328414164":["hashtag1","hashtag2"]},{"1328413933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328414166, 1328413659, 1328414164, 1328413933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84721302986145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:04:22.744447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0003.jpg', '/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0000.jpg', '/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0001.jpg', '/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_02_705365_0003.jpg
/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0000.jpg
/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0001.jpg
/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328414361","1328414358","1328414331","1328414359"],"photo_ids_order":["1328414331","1328414358","1328414359","1328414361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/545061268ff7b3d0e4957434552db177.jpg","text":"TemporaryFile(/tmp/multipartBody5239722785405178468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676332979,"filename":"image_12012025_11_04_02_895832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39b880b4a7917b1920c37966a26e2759.jpg","text":"TemporaryFile(/tmp/multipartBody2593558336616962357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676332979,"filename":"image_12012025_11_04_02_895832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9c92dc27e43e184053582b80317df9c.jpg","text":"TemporaryFile(/tmp/multipartBody674041199362009784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676332979,"filename":"image_12012025_11_03_02_705365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3836fb5630bc923d2c3b0729aea4d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2361263367142532979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676332979,"filename":"image_12012025_11_04_02_895832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328414359","file1":"1328414358","file0":"1328414331","file3":"1328414361"},"map_files_photo_id_array":[{"photo_id":"1328414359","filename":"file2"},{"photo_id":"1328414358","filename":"file1"},{"photo_id":"1328414331","filename":"file0"},{"photo_id":"1328414361","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328414361":["hashtag1","hashtag2"]},{"1328414358":["hashtag1","hashtag2"]},{"1328414331":["hashtag1","hashtag2"]},{"1328414359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328414361, 1328414358, 1328414331, 1328414359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82137107849121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:05:21.908725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0003.jpg', '/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0000.jpg', '/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0001.jpg', '/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/04/image_12012025_11_04_02_895832_0003.jpg
/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0000.jpg
/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0001.jpg
/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328415194","1328415439","1328415319","1328415069"],"photo_ids_order":["1328415069","1328415194","1328415319","1328415439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ae3bd2fab2a6df5ad5889750eb45fce.jpg","text":"TemporaryFile(/tmp/multipartBody5477267895795816056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676392024,"filename":"image_12012025_11_05_03_129418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/465031105ff0a2dd1f760a430551a6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2021673566099931068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676392024,"filename":"image_12012025_11_05_03_129418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/982cbc2128e8dfa5b25318384742b882.jpg","text":"TemporaryFile(/tmp/multipartBody92505367603615954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676392024,"filename":"image_12012025_11_05_03_129418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3c90905849baa9a2fa9667a4577866a.jpg","text":"TemporaryFile(/tmp/multipartBody6741810717587917789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676392024,"filename":"image_12012025_11_04_02_895832_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328415319","file1":"1328415194","file0":"1328415069","file3":"1328415439"},"map_files_photo_id_array":[{"photo_id":"1328415319","filename":"file2"},{"photo_id":"1328415194","filename":"file1"},{"photo_id":"1328415069","filename":"file0"},{"photo_id":"1328415439","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328415194":["hashtag1","hashtag2"]},{"1328415439":["hashtag1","hashtag2"]},{"1328415319":["hashtag1","hashtag2"]},{"1328415069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328415194, 1328415439, 1328415319, 1328415069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98916506767273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:06:02.568112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:06:22.090710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0003.jpg', '/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0000.jpg', '/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0001.jpg', '/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0003.jpg
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0000.jpg
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0001.jpg
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_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.941025733947754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 11:06:42.093488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0003.jpg', '/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0000.jpg', '/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0001.jpg', '/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/05/image_12012025_11_05_03_129418_0003.jpg
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0000.jpg
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0001.jpg
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328415689","1328415701","1328415727","1328415735"],"photo_ids_order":["1328415689","1328415701","1328415727","1328415735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23b153b0208cd547b042a6ecb6f0903f.jpg","text":"TemporaryFile(/tmp/multipartBody8603974907067205323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676472450,"filename":"image_12012025_11_05_03_129418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d8f440ab6224e05d6e59b20e2e7ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody8426751467081224824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676472450,"filename":"image_12012025_11_06_02_310880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c40294b5fe5c8e409d0db38e64698477.jpg","text":"TemporaryFile(/tmp/multipartBody1267674453841612634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676472450,"filename":"image_12012025_11_06_02_310880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/316ac6022bc46feb24788fe702f8117c.jpg","text":"TemporaryFile(/tmp/multipartBody980536643551402674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676472450,"filename":"image_12012025_11_06_02_310880_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328415727","file1":"1328415701","file0":"1328415689","file3":"1328415735"},"map_files_photo_id_array":[{"photo_id":"1328415727","filename":"file2"},{"photo_id":"1328415701","filename":"file1"},{"photo_id":"1328415689","filename":"file0"},{"photo_id":"1328415735","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328415689":["hashtag1","hashtag2"]},{"1328415701":["hashtag1","hashtag2"]},{"1328415727":["hashtag1","hashtag2"]},{"1328415735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328415689, 1328415701, 1328415727, 1328415735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.749409675598145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 11:07:32.211720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0003.jpg', '/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0000.jpg', '/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0001.jpg', '/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/06/image_12012025_11_06_02_310880_0003.jpg
/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0000.jpg
/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0001.jpg
/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416121","1328415920","1328415996","1328416245"],"photo_ids_order":["1328415920","1328415996","1328416121","1328416245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62c197ee5b7786534ab8a2b7a94cc3f7.jpg","text":"TemporaryFile(/tmp/multipartBody7005904968332711277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676522470,"filename":"image_12012025_11_07_02_524485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf52344ac950b89aade582a22f84fb82.jpg","text":"TemporaryFile(/tmp/multipartBody3321730725487053954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676522470,"filename":"image_12012025_11_06_02_310880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3578822238f5f495e1e61313c318a1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6589944286785365378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676522470,"filename":"image_12012025_11_07_02_524485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42754eba9c2398457b842dccc5dd7d8e.jpg","text":"TemporaryFile(/tmp/multipartBody22603475963314528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676522470,"filename":"image_12012025_11_07_02_524485_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416121","file1":"1328415996","file0":"1328415920","file3":"1328416245"},"map_files_photo_id_array":[{"photo_id":"1328416121","filename":"file2"},{"photo_id":"1328415996","filename":"file1"},{"photo_id":"1328415920","filename":"file0"},{"photo_id":"1328416245","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416121":["hashtag1","hashtag2"]},{"1328415920":["hashtag1","hashtag2"]},{"1328415996":["hashtag1","hashtag2"]},{"1328416245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416121, 1328415920, 1328415996, 1328416245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58193278312683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:08:22.484666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0003.jpg', '/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0000.jpg', '/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0001.jpg', '/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_02_524485_0003.jpg
/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0000.jpg
/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0001.jpg
/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416277","1328416279","1328416276","1328416281"],"photo_ids_order":["1328416276","1328416277","1328416279","1328416281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b07b784d63201c1912d65d70ce84829.jpg","text":"TemporaryFile(/tmp/multipartBody1760468836184911106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676572723,"filename":"image_12012025_11_08_02_705717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70113c4a7e3143e130161417ca73a50a.jpg","text":"TemporaryFile(/tmp/multipartBody6048290428962451877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676572723,"filename":"image_12012025_11_08_02_705717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97ce4a1a548a18a782ad737ffa2b7886.jpg","text":"TemporaryFile(/tmp/multipartBody8595653511078109267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676572723,"filename":"image_12012025_11_07_02_524485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9fbc5725463a998cb12c00563302a7b8.jpg","text":"TemporaryFile(/tmp/multipartBody105823634740324734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676572723,"filename":"image_12012025_11_08_02_705717_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416279","file1":"1328416277","file0":"1328416276","file3":"1328416281"},"map_files_photo_id_array":[{"photo_id":"1328416279","filename":"file2"},{"photo_id":"1328416277","filename":"file1"},{"photo_id":"1328416276","filename":"file0"},{"photo_id":"1328416281","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416277":["hashtag1","hashtag2"]},{"1328416279":["hashtag1","hashtag2"]},{"1328416276":["hashtag1","hashtag2"]},{"1328416281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416277, 1328416279, 1328416276, 1328416281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98914837837219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:09:03.173040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:09:22.620578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0003.jpg', '/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0000.jpg', '/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0001.jpg', '/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/08/image_12012025_11_08_02_705717_0003.jpg
/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0000.jpg
/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0001.jpg
/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416588","1328416590","1328416584","1328416586"],"photo_ids_order":["1328416584","1328416586","1328416588","1328416590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a730bf8ffb22e4956d04d2330ebe0241.jpg","text":"TemporaryFile(/tmp/multipartBody7680791170931333584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676633008,"filename":"image_12012025_11_09_02_797954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8a1d371fdca6f931074d06a205b5939.jpg","text":"TemporaryFile(/tmp/multipartBody6173929303583163957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676633008,"filename":"image_12012025_11_09_02_797954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b67e4fa1e3e1f37c670e5c6f0f89f03.jpg","text":"TemporaryFile(/tmp/multipartBody6345060327063551856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676633008,"filename":"image_12012025_11_08_02_705717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9c8a156328900e953b48f97e82d44b8.jpg","text":"TemporaryFile(/tmp/multipartBody1861675359836594546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676633008,"filename":"image_12012025_11_09_02_797954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416588","file1":"1328416586","file0":"1328416584","file3":"1328416590"},"map_files_photo_id_array":[{"photo_id":"1328416588","filename":"file2"},{"photo_id":"1328416586","filename":"file1"},{"photo_id":"1328416584","filename":"file0"},{"photo_id":"1328416590","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416588":["hashtag1","hashtag2"]},{"1328416590":["hashtag1","hashtag2"]},{"1328416584":["hashtag1","hashtag2"]},{"1328416586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416588, 1328416590, 1328416584, 1328416586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.33066654205322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:10:21.909548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0003.jpg', '/home/pi/Desktop/images/12012025/11/10/image_12012025_11_10_02_924037_0001.jpg', '/home/pi/Desktop/images/12012025/11/10/image_12012025_11_10_02_924037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_02_797954_0003.jpg
/home/pi/Desktop/images/12012025/11/10/image_12012025_11_10_02_924037_0001.jpg
/home/pi/Desktop/images/12012025/11/10/image_12012025_11_10_02_924037_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416597","1328416599","1328416603"],"photo_ids_order":["1328416597","1328416599","1328416603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea12b2bf865cf3cd0008e3d76a34a7f0.jpg","text":"TemporaryFile(/tmp/multipartBody5034566945671643125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676689695,"filename":"image_12012025_11_09_02_797954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/486d683602ae4c3e269f74f3ebe4d2cd.jpg","text":"TemporaryFile(/tmp/multipartBody8092405302326918187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676689695,"filename":"image_12012025_11_10_02_924037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f769fdb9d50875721210ae61ee7d74cc.jpg","text":"TemporaryFile(/tmp/multipartBody5013985423405507154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676689695,"filename":"image_12012025_11_10_02_924037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416603","file1":"1328416599","file0":"1328416597"},"map_files_photo_id_array":[{"photo_id":"1328416603","filename":"file2"},{"photo_id":"1328416599","filename":"file1"},{"photo_id":"1328416597","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416597":["hashtag1","hashtag2"]},{"1328416599":["hashtag1","hashtag2"]},{"1328416603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416597, 1328416599, 1328416603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.88122797012329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:11:02.475035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:11:21.905638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/10/image_12012025_11_10_02_924037_0003.jpg', '/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0000.jpg', '/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0001.jpg', '/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/10/image_12012025_11_10_02_924037_0003.jpg
/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0000.jpg
/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0001.jpg
/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416618","1328416615","1328416620","1328416614"],"photo_ids_order":["1328416614","1328416615","1328416618","1328416620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/571ac532fc927f28b7b8838e595f19c7.jpg","text":"TemporaryFile(/tmp/multipartBody7241400945144888511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676752073,"filename":"image_12012025_11_11_02_131633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82ef3552740cf76399136ca969d032bb.jpg","text":"TemporaryFile(/tmp/multipartBody2459945669703298885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676752073,"filename":"image_12012025_11_11_02_131633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d133ee108bd0dbe2f878e4899bc1dd7e.jpg","text":"TemporaryFile(/tmp/multipartBody5679661853006560929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676752073,"filename":"image_12012025_11_11_02_131633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25f612c761f8306c5afc9a0ca1b5cf94.jpg","text":"TemporaryFile(/tmp/multipartBody1655967273924247143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676752073,"filename":"image_12012025_11_10_02_924037_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416618","file1":"1328416615","file0":"1328416614","file3":"1328416620"},"map_files_photo_id_array":[{"photo_id":"1328416618","filename":"file2"},{"photo_id":"1328416615","filename":"file1"},{"photo_id":"1328416614","filename":"file0"},{"photo_id":"1328416620","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416618":["hashtag1","hashtag2"]},{"1328416615":["hashtag1","hashtag2"]},{"1328416620":["hashtag1","hashtag2"]},{"1328416614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416618, 1328416615, 1328416620, 1328416614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.24547839164734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:12:22.180374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0003.jpg', '/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0000.jpg', '/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0001.jpg', '/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_02_131633_0003.jpg
/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0000.jpg
/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0001.jpg
/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416646","1328416642","1328416648","1328416644"],"photo_ids_order":["1328416642","1328416644","1328416646","1328416648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f1438132fc152421c4db176c89f27c9.jpg","text":"TemporaryFile(/tmp/multipartBody8875579040825638273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676812466,"filename":"image_12012025_11_12_02_306969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03efc8cc91692fdec10af91b719186a8.jpg","text":"TemporaryFile(/tmp/multipartBody6807825630290809395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676812466,"filename":"image_12012025_11_11_02_131633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/239599b76709cbf24b1f797a8f8cd105.jpg","text":"TemporaryFile(/tmp/multipartBody6723314043559502859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676812466,"filename":"image_12012025_11_12_02_306969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/632f99bce9863edd467914095703eee6.jpg","text":"TemporaryFile(/tmp/multipartBody2048361121400334961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676812466,"filename":"image_12012025_11_12_02_306969_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416646","file1":"1328416644","file0":"1328416642","file3":"1328416648"},"map_files_photo_id_array":[{"photo_id":"1328416646","filename":"file2"},{"photo_id":"1328416644","filename":"file1"},{"photo_id":"1328416642","filename":"file0"},{"photo_id":"1328416648","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416646":["hashtag1","hashtag2"]},{"1328416642":["hashtag1","hashtag2"]},{"1328416648":["hashtag1","hashtag2"]},{"1328416644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416646, 1328416642, 1328416648, 1328416644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48072671890259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:13:03.043486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:13:22.342114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0003.jpg', '/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0000.jpg', '/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0001.jpg', '/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_02_306969_0003.jpg
/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0000.jpg
/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0001.jpg
/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416657","1328416666","1328416662","1328416659"],"photo_ids_order":["1328416657","1328416659","1328416662","1328416666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f55f7f2d382f6539693e0a3d485e4060.jpg","text":"TemporaryFile(/tmp/multipartBody2018054261689640754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676872686,"filename":"image_12012025_11_12_02_306969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f1b4d16ecfc65febf04db6218e6b33a.jpg","text":"TemporaryFile(/tmp/multipartBody956174173506036423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676872686,"filename":"image_12012025_11_13_02_467199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b499ccb04588ddd647eac78abb0383f.jpg","text":"TemporaryFile(/tmp/multipartBody5240568946781976599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676872686,"filename":"image_12012025_11_13_02_467199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcaf11bc8a668d58ab1471191ad8efe5.jpg","text":"TemporaryFile(/tmp/multipartBody7460056359636021277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676872686,"filename":"image_12012025_11_13_02_467199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416662","file1":"1328416659","file0":"1328416657","file3":"1328416666"},"map_files_photo_id_array":[{"photo_id":"1328416662","filename":"file2"},{"photo_id":"1328416659","filename":"file1"},{"photo_id":"1328416657","filename":"file0"},{"photo_id":"1328416666","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416657":["hashtag1","hashtag2"]},{"1328416666":["hashtag1","hashtag2"]},{"1328416662":["hashtag1","hashtag2"]},{"1328416659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416657, 1328416666, 1328416662, 1328416659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.250282764434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:14:02.923449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:14:22.601541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0003.jpg', '/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0000.jpg', '/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0001.jpg', '/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/13/image_12012025_11_13_02_467199_0003.jpg
/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0000.jpg
/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0001.jpg
/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416683","1328416692","1328416686","1328416688"],"photo_ids_order":["1328416683","1328416686","1328416688","1328416692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a89ee1837d6123ef006e30495374a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4535464196583536694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676932735,"filename":"image_12012025_11_13_02_467199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a1fe0ad4032ba7a714979b719bc54b37.jpg","text":"TemporaryFile(/tmp/multipartBody421726999283622773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676932735,"filename":"image_12012025_11_14_02_716688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/893702d6727dfb666fa26bdd0ea687f2.jpg","text":"TemporaryFile(/tmp/multipartBody3479752526317895304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676932735,"filename":"image_12012025_11_14_02_716688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b07e2688aa904a0453c6e66d9f26ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8365827461594596196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676932735,"filename":"image_12012025_11_14_02_716688_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416688","file1":"1328416686","file0":"1328416683","file3":"1328416692"},"map_files_photo_id_array":[{"photo_id":"1328416688","filename":"file2"},{"photo_id":"1328416686","filename":"file1"},{"photo_id":"1328416683","filename":"file0"},{"photo_id":"1328416692","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416683":["hashtag1","hashtag2"]},{"1328416692":["hashtag1","hashtag2"]},{"1328416686":["hashtag1","hashtag2"]},{"1328416688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416683, 1328416692, 1328416686, 1328416688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.440364599227905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:15:03.422759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:15:22.616302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0003.jpg', '/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0000.jpg', '/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0001.jpg', '/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_02_716688_0003.jpg
/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0000.jpg
/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0001.jpg
/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328416721","1328416738","1328416740","1328416707"],"photo_ids_order":["1328416707","1328416721","1328416738","1328416740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cb5f8d087cd179583bedbbb3c18e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody7333407550903991834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676992734,"filename":"image_12012025_11_15_02_934958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7333b36312d05becc916ec82ba2e6a1b.jpg","text":"TemporaryFile(/tmp/multipartBody3412341859024948622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676992734,"filename":"image_12012025_11_15_02_934958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a9adce04b01b1496fba3e1c778ce70f.jpg","text":"TemporaryFile(/tmp/multipartBody5515964150533531727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676992734,"filename":"image_12012025_11_15_02_934958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0479d87cb9f5104de86225cdc73b35e4.jpg","text":"TemporaryFile(/tmp/multipartBody3226173202411979445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736676992734,"filename":"image_12012025_11_14_02_716688_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328416738","file1":"1328416721","file0":"1328416707","file3":"1328416740"},"map_files_photo_id_array":[{"photo_id":"1328416738","filename":"file2"},{"photo_id":"1328416721","filename":"file1"},{"photo_id":"1328416707","filename":"file0"},{"photo_id":"1328416740","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328416721":["hashtag1","hashtag2"]},{"1328416738":["hashtag1","hashtag2"]},{"1328416740":["hashtag1","hashtag2"]},{"1328416707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328416721, 1328416738, 1328416740, 1328416707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.039682388305664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:16:21.934673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0003.jpg', '/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0000.jpg', '/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0001.jpg', '/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/15/image_12012025_11_15_02_934958_0003.jpg
/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0000.jpg
/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0001.jpg
/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328417603","1328417727","1328417736","1328417483"],"photo_ids_order":["1328417483","1328417603","1328417727","1328417736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cfcdcd0020a96fdd98822f6a92b356a0.jpg","text":"TemporaryFile(/tmp/multipartBody1709983032016265921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677052238,"filename":"image_12012025_11_16_03_154441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d78e6e02bc54b0a2cb91c139f3ce2c0.jpg","text":"TemporaryFile(/tmp/multipartBody9128534743209774796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677052238,"filename":"image_12012025_11_16_03_154441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a483fde724f32661e39eba9864e9e4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6371443443386429373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677052238,"filename":"image_12012025_11_16_03_154441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a06dcd8985fdded0e82a29f6f32d628c.jpg","text":"TemporaryFile(/tmp/multipartBody8988714082055727178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677052238,"filename":"image_12012025_11_15_02_934958_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328417727","file1":"1328417603","file0":"1328417483","file3":"1328417736"},"map_files_photo_id_array":[{"photo_id":"1328417727","filename":"file2"},{"photo_id":"1328417603","filename":"file1"},{"photo_id":"1328417483","filename":"file0"},{"photo_id":"1328417736","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328417603":["hashtag1","hashtag2"]},{"1328417727":["hashtag1","hashtag2"]},{"1328417736":["hashtag1","hashtag2"]},{"1328417483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328417603, 1328417727, 1328417736, 1328417483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73796057701111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:17:02.762037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:17:21.983556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0003.jpg', '/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0000.jpg', '/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/16/image_12012025_11_16_03_154441_0003.jpg
/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0000.jpg
/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_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":["1328417856","1328417762","1328417750"],"photo_ids_order":["1328417750","1328417762","1328417856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8925c2bf1c9e778e7a7c559d1b311e21.jpg","text":"TemporaryFile(/tmp/multipartBody1961029348929231987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677109814,"filename":"image_12012025_11_17_02_250716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f718ef125a5bb11b6c4eb79cff7e6cba.jpg","text":"TemporaryFile(/tmp/multipartBody4000347134333414130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677109814,"filename":"image_12012025_11_17_02_250716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01d0b5b2a80bd5c3efb6e92f298c053c.jpg","text":"TemporaryFile(/tmp/multipartBody3601040711597059823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677109814,"filename":"image_12012025_11_16_03_154441_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328417856","file1":"1328417762","file0":"1328417750"},"map_files_photo_id_array":[{"photo_id":"1328417856","filename":"file2"},{"photo_id":"1328417762","filename":"file1"},{"photo_id":"1328417750","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328417856":["hashtag1","hashtag2"]},{"1328417762":["hashtag1","hashtag2"]},{"1328417750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328417856, 1328417762, 1328417750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.18687105178833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:18:02.586644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:18:22.364548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0003.jpg', '/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0001.jpg', '/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0003.jpg
/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0001.jpg
/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.385028600692749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 11:18:32.175996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0003.jpg', '/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0001.jpg', '/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/17/image_12012025_11_17_02_250716_0003.jpg
/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0001.jpg
/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328418079","1328418075","1328418077"],"photo_ids_order":["1328418075","1328418077","1328418079"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10208d67e23d6d60411b2f171e878e79.jpg","text":"TemporaryFile(/tmp/multipartBody4915439959138388404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677179964,"filename":"image_12012025_11_18_02_436513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a96b18bd4850ee6814f952b9b0259928.jpg","text":"TemporaryFile(/tmp/multipartBody4280365991977379771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677179964,"filename":"image_12012025_11_17_02_250716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3861395f29cc04bb25c3f6475c8fece5.jpg","text":"TemporaryFile(/tmp/multipartBody3212685174862491131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677179964,"filename":"image_12012025_11_18_02_436513_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328418079","file1":"1328418077","file0":"1328418075"},"map_files_photo_id_array":[{"photo_id":"1328418079","filename":"file2"},{"photo_id":"1328418077","filename":"file1"},{"photo_id":"1328418075","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328418079":["hashtag1","hashtag2"]},{"1328418075":["hashtag1","hashtag2"]},{"1328418077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328418079, 1328418075, 1328418077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.57356095314026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:19:22.380709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0003.jpg', '/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0001.jpg', '/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_02_436513_0003.jpg
/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0001.jpg
/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328418634","1328418972","1328419235"],"photo_ids_order":["1328418634","1328418972","1328419235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9dc4b9a527bee8ebcfc5328ce67e0531.jpg","text":"TemporaryFile(/tmp/multipartBody3594674526364664955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677230241,"filename":"image_12012025_11_18_02_436513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68f18bcf90ba1ee142f58ff8f3822c38.jpg","text":"TemporaryFile(/tmp/multipartBody2509416587473827556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677230241,"filename":"image_12012025_11_19_02_666334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/311e3fe5e9fbdbec68b79e67247c295e.jpg","text":"TemporaryFile(/tmp/multipartBody6841810160701436130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677230241,"filename":"image_12012025_11_19_02_666334_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328419235","file1":"1328418972","file0":"1328418634"},"map_files_photo_id_array":[{"photo_id":"1328419235","filename":"file2"},{"photo_id":"1328418972","filename":"file1"},{"photo_id":"1328418634","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328418634":["hashtag1","hashtag2"]},{"1328418972":["hashtag1","hashtag2"]},{"1328419235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328418634, 1328418972, 1328419235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.34282946586609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:20:02.892662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:20:22.559216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0003.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0000.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0001.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0003.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0000.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0001.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_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.794211626052856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 11:20:42.564713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0003.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0000.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0001.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/19/image_12012025_11_19_02_666334_0003.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0000.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0001.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_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":["1328419521","1328419602","1328419873","1328419750"],"photo_ids_order":["1328419521","1328419602","1328419750","1328419873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc4db8cc8b3e4aa8c76412de3dd31ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1876685517559030332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677312766,"filename":"image_12012025_11_19_02_666334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42154c0f758b157b86c31b1f8b100c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2693809892344311201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677312766,"filename":"image_12012025_11_20_02_789633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8bd66d2876bd3ad382d974ae7d2a9cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6842466055154509761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677312766,"filename":"image_12012025_11_20_02_789633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/810fecab89aae97f27accab5c81a20f1.jpg","text":"TemporaryFile(/tmp/multipartBody7359956465967116388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677312766,"filename":"image_12012025_11_20_02_789633_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328419750","file1":"1328419602","file0":"1328419521","file3":"1328419873"},"map_files_photo_id_array":[{"photo_id":"1328419750","filename":"file2"},{"photo_id":"1328419602","filename":"file1"},{"photo_id":"1328419521","filename":"file0"},{"photo_id":"1328419873","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328419521":["hashtag1","hashtag2"]},{"1328419602":["hashtag1","hashtag2"]},{"1328419873":["hashtag1","hashtag2"]},{"1328419750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328419521, 1328419602, 1328419873, 1328419750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.93548774719238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:21:22.704882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0003.jpg', '/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0000.jpg', '/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0001.jpg', '/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_02_789633_0003.jpg
/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0000.jpg
/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0001.jpg
/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328420496","1328420658","1328420621","1328420659"],"photo_ids_order":["1328420496","1328420621","1328420658","1328420659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35137003dd0385d27bd344ff0889d0ea.jpg","text":"TemporaryFile(/tmp/multipartBody384420206807239900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677352645,"filename":"image_12012025_11_20_02_789633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd4ec2e3f81144b658c8042b788c5247.jpg","text":"TemporaryFile(/tmp/multipartBody481767894451203800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677352645,"filename":"image_12012025_11_21_02_979535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4fccbd33c2388f951d84c5fd34401506.jpg","text":"TemporaryFile(/tmp/multipartBody4425671645941680102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677352645,"filename":"image_12012025_11_21_02_979535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85b5a2a764f3a2759ebf33a7eae5bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody4663593172949083189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677352645,"filename":"image_12012025_11_21_02_979535_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328420658","file1":"1328420621","file0":"1328420496","file3":"1328420659"},"map_files_photo_id_array":[{"photo_id":"1328420658","filename":"file2"},{"photo_id":"1328420621","filename":"file1"},{"photo_id":"1328420496","filename":"file0"},{"photo_id":"1328420659","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328420496":["hashtag1","hashtag2"]},{"1328420658":["hashtag1","hashtag2"]},{"1328420621":["hashtag1","hashtag2"]},{"1328420659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328420496, 1328420658, 1328420621, 1328420659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12806987762451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:22:02.304619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:22:21.895832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0003.jpg', '/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0000.jpg', '/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0001.jpg', '/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/21/image_12012025_11_21_02_979535_0003.jpg
/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0000.jpg
/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0001.jpg
/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328420874","1328420906","1328420758","1328420938"],"photo_ids_order":["1328420758","1328420874","1328420906","1328420938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33d1a7ccc96937638b8762c34434a22a.jpg","text":"TemporaryFile(/tmp/multipartBody425469645002252298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677411708,"filename":"image_12012025_11_22_03_147744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d2149ef59aef167baaac9562a36e728.jpg","text":"TemporaryFile(/tmp/multipartBody7741463591319037363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677411708,"filename":"image_12012025_11_22_03_147744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e046c14edeee94698bf37fefaf03f0a7.jpg","text":"TemporaryFile(/tmp/multipartBody2833951489036155494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677411708,"filename":"image_12012025_11_21_02_979535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34d4067ac6e4e4cff6148afe3bf33185.jpg","text":"TemporaryFile(/tmp/multipartBody161000317599365286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677411708,"filename":"image_12012025_11_22_03_147744_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328420906","file1":"1328420874","file0":"1328420758","file3":"1328420938"},"map_files_photo_id_array":[{"photo_id":"1328420906","filename":"file2"},{"photo_id":"1328420874","filename":"file1"},{"photo_id":"1328420758","filename":"file0"},{"photo_id":"1328420938","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328420874":["hashtag1","hashtag2"]},{"1328420906":["hashtag1","hashtag2"]},{"1328420758":["hashtag1","hashtag2"]},{"1328420938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328420874, 1328420906, 1328420758, 1328420938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.014116048812866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:23:02.673119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:23:22.084070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0003.jpg', '/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0000.jpg', '/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0001.jpg', '/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/22/image_12012025_11_22_03_147744_0003.jpg
/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0000.jpg
/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0001.jpg
/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328421047","1328421043","1328421046","1328421049"],"photo_ids_order":["1328421043","1328421046","1328421047","1328421049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d061ff6279294e3e7549b6f85fc28a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3427073705434113610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677472037,"filename":"image_12012025_11_23_02_246722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7309a4fdc5963a0536ebb52ad1aae158.jpg","text":"TemporaryFile(/tmp/multipartBody5273760674968871987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677472037,"filename":"image_12012025_11_22_03_147744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e34c447816e72bd089b4dcd8943d4ed1.jpg","text":"TemporaryFile(/tmp/multipartBody3083129379369603525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677472037,"filename":"image_12012025_11_23_02_246722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78f5a3809c244b1d9916a8ffb0ef7165.jpg","text":"TemporaryFile(/tmp/multipartBody5468055336583699732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677472037,"filename":"image_12012025_11_23_02_246722_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421047","file1":"1328421046","file0":"1328421043","file3":"1328421049"},"map_files_photo_id_array":[{"photo_id":"1328421047","filename":"file2"},{"photo_id":"1328421046","filename":"file1"},{"photo_id":"1328421043","filename":"file0"},{"photo_id":"1328421049","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421047":["hashtag1","hashtag2"]},{"1328421043":["hashtag1","hashtag2"]},{"1328421046":["hashtag1","hashtag2"]},{"1328421049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421047, 1328421043, 1328421046, 1328421049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68939757347107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:24:02.726587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:24:22.337456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0003.jpg', '/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0000.jpg', '/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0003.jpg
/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0000.jpg
/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_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.257233142852783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 11:24:32.313909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0003.jpg', '/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0000.jpg', '/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_02_246722_0003.jpg
/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0000.jpg
/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_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":["1328421081","1328421089","1328421086"],"photo_ids_order":["1328421081","1328421086","1328421089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8017679489fbb44e7a41afb6a2a380c.jpg","text":"TemporaryFile(/tmp/multipartBody3151694735007167710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677539957,"filename":"image_12012025_11_23_02_246722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db2622d4c2e5f40b56af634514cb443f.jpg","text":"TemporaryFile(/tmp/multipartBody2756465929608217293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677539957,"filename":"image_12012025_11_24_02_503787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/619c72e43ed8bd8357c04705bad14a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5138163871594731752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677539957,"filename":"image_12012025_11_24_02_503787_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421089","file1":"1328421086","file0":"1328421081"},"map_files_photo_id_array":[{"photo_id":"1328421089","filename":"file2"},{"photo_id":"1328421086","filename":"file1"},{"photo_id":"1328421081","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421081":["hashtag1","hashtag2"]},{"1328421089":["hashtag1","hashtag2"]},{"1328421086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421081, 1328421089, 1328421086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.6743266582489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:25:22.526832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0003.jpg', '/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0000.jpg', '/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0001.jpg', '/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_02_503787_0003.jpg
/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0000.jpg
/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0001.jpg
/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328421103","1328421105","1328421107","1328421101"],"photo_ids_order":["1328421101","1328421103","1328421105","1328421107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da6eeb020a94f7090c086ae3bc8b5c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3595603522141598627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677592542,"filename":"image_12012025_11_25_02_651611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7cea6e4f9011e997a6e2b7f259dc91c7.jpg","text":"TemporaryFile(/tmp/multipartBody5718624422494206426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677592542,"filename":"image_12012025_11_25_02_651611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2910f357f423699cc082767b64ba5fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7737230614440802359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677592542,"filename":"image_12012025_11_25_02_651611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/045243fd1125ad8be23c8f580a981553.jpg","text":"TemporaryFile(/tmp/multipartBody5384147314733834365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677592542,"filename":"image_12012025_11_24_02_503787_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421105","file1":"1328421103","file0":"1328421101","file3":"1328421107"},"map_files_photo_id_array":[{"photo_id":"1328421105","filename":"file2"},{"photo_id":"1328421103","filename":"file1"},{"photo_id":"1328421101","filename":"file0"},{"photo_id":"1328421107","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421103":["hashtag1","hashtag2"]},{"1328421105":["hashtag1","hashtag2"]},{"1328421107":["hashtag1","hashtag2"]},{"1328421101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421103, 1328421105, 1328421107, 1328421101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97861933708191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:26:22.722414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0003.jpg', '/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0000.jpg', '/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0001.jpg', '/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/25/image_12012025_11_25_02_651611_0003.jpg
/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0000.jpg
/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0001.jpg
/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328421123","1328421126","1328421122","1328421127"],"photo_ids_order":["1328421122","1328421123","1328421126","1328421127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0d1d1cd79096561d982bc7646502d29.jpg","text":"TemporaryFile(/tmp/multipartBody8697633936896894827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677652857,"filename":"image_12012025_11_26_02_829125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7edca9b8abbd2ac6e3c78084314edf63.jpg","text":"TemporaryFile(/tmp/multipartBody2173130567762909341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677652857,"filename":"image_12012025_11_26_02_829125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7accc70c394895f4d0e8b000f32d30d3.jpg","text":"TemporaryFile(/tmp/multipartBody2533400495718072129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677652857,"filename":"image_12012025_11_25_02_651611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f379230ecd806b62003625afa8c18705.jpg","text":"TemporaryFile(/tmp/multipartBody2139179380839060293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677652857,"filename":"image_12012025_11_26_02_829125_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421126","file1":"1328421123","file0":"1328421122","file3":"1328421127"},"map_files_photo_id_array":[{"photo_id":"1328421126","filename":"file2"},{"photo_id":"1328421123","filename":"file1"},{"photo_id":"1328421122","filename":"file0"},{"photo_id":"1328421127","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421123":["hashtag1","hashtag2"]},{"1328421126":["hashtag1","hashtag2"]},{"1328421122":["hashtag1","hashtag2"]},{"1328421127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421123, 1328421126, 1328421122, 1328421127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.752105712890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:27:21.883037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0003.jpg', '/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0000.jpg', '/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0001.jpg', '/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/26/image_12012025_11_26_02_829125_0003.jpg
/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0000.jpg
/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0001.jpg
/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328421186","1328421149","1328421190","1328421187"],"photo_ids_order":["1328421149","1328421186","1328421187","1328421190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f6a7f688def86928ecf27a4097676e1.jpg","text":"TemporaryFile(/tmp/multipartBody1939474434120683840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677711989,"filename":"image_12012025_11_27_03_113394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5fc4a59a83e421116d7ce511bfc9fc27.jpg","text":"TemporaryFile(/tmp/multipartBody8133617385331604473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677711989,"filename":"image_12012025_11_26_02_829125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43a9e6e2e616c3044d968e23727dba1b.jpg","text":"TemporaryFile(/tmp/multipartBody8550166994867417093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677711989,"filename":"image_12012025_11_27_03_113394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80f572a3a6351dbf0cc6009e60cdc94d.jpg","text":"TemporaryFile(/tmp/multipartBody260453388406972674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677711989,"filename":"image_12012025_11_27_03_113394_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421187","file1":"1328421186","file0":"1328421149","file3":"1328421190"},"map_files_photo_id_array":[{"photo_id":"1328421187","filename":"file2"},{"photo_id":"1328421186","filename":"file1"},{"photo_id":"1328421149","filename":"file0"},{"photo_id":"1328421190","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421186":["hashtag1","hashtag2"]},{"1328421149":["hashtag1","hashtag2"]},{"1328421190":["hashtag1","hashtag2"]},{"1328421187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421186, 1328421149, 1328421190, 1328421187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56785535812378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:28:02.493304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:28:22.101094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0003.jpg', '/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0000.jpg', '/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0001.jpg', '/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_03_113394_0003.jpg
/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0000.jpg
/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0001.jpg
/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328421202","1328421210","1328421207","1328421205"],"photo_ids_order":["1328421202","1328421205","1328421207","1328421210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b251f89f652a6fbaf58256b60995d26.jpg","text":"TemporaryFile(/tmp/multipartBody5423454358972034225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677772174,"filename":"image_12012025_11_27_03_113394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63d4a5e4cd3d22fdbf5ec9e6e3c3e766.jpg","text":"TemporaryFile(/tmp/multipartBody7287929839295359267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677772174,"filename":"image_12012025_11_28_02_263189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2877512661b0d28cefacb90ed41d568.jpg","text":"TemporaryFile(/tmp/multipartBody7420640405419801821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677772174,"filename":"image_12012025_11_28_02_263189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2028127a2a15c81cbf189971ca1cea88.jpg","text":"TemporaryFile(/tmp/multipartBody8643354754512415713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677772174,"filename":"image_12012025_11_28_02_263189_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421207","file1":"1328421205","file0":"1328421202","file3":"1328421210"},"map_files_photo_id_array":[{"photo_id":"1328421207","filename":"file2"},{"photo_id":"1328421205","filename":"file1"},{"photo_id":"1328421202","filename":"file0"},{"photo_id":"1328421210","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421202":["hashtag1","hashtag2"]},{"1328421210":["hashtag1","hashtag2"]},{"1328421207":["hashtag1","hashtag2"]},{"1328421205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421202, 1328421210, 1328421207, 1328421205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60943031311035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:29:02.806261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:29:22.340772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0003.jpg', '/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0000.jpg', '/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0001.jpg', '/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_02_263189_0003.jpg
/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0000.jpg
/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0001.jpg
/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328421228","1328421230","1328421232","1328421226"],"photo_ids_order":["1328421226","1328421228","1328421230","1328421232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d80e4d2935eea471acbc7017870cea9.jpg","text":"TemporaryFile(/tmp/multipartBody4782357961504400625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677832564,"filename":"image_12012025_11_29_02_525586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8bba6fee0cba672b137a4e67b86afd3d.jpg","text":"TemporaryFile(/tmp/multipartBody3889189142239946378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677832564,"filename":"image_12012025_11_29_02_525586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18507f47bb70edb5c2733485e803f552.jpg","text":"TemporaryFile(/tmp/multipartBody6390837120698640033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677832564,"filename":"image_12012025_11_29_02_525586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0bcabbd75bb573acc6bb06e3634b511c.jpg","text":"TemporaryFile(/tmp/multipartBody4459494206325920581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677832564,"filename":"image_12012025_11_28_02_263189_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421230","file1":"1328421228","file0":"1328421226","file3":"1328421232"},"map_files_photo_id_array":[{"photo_id":"1328421230","filename":"file2"},{"photo_id":"1328421228","filename":"file1"},{"photo_id":"1328421226","filename":"file0"},{"photo_id":"1328421232","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421228":["hashtag1","hashtag2"]},{"1328421230":["hashtag1","hashtag2"]},{"1328421232":["hashtag1","hashtag2"]},{"1328421226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421228, 1328421230, 1328421232, 1328421226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30926060676575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:30:02.711375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:30:22.350052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0003.jpg', '/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_02_634854_0000.jpg', '/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_02_634854_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/29/image_12012025_11_29_02_525586_0003.jpg
/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_02_634854_0000.jpg
/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_02_634854_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":["1328421735","1328421614","1328421492"],"photo_ids_order":["1328421492","1328421614","1328421735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54ec6479a81b223d92673b6b6876a3a8.jpg","text":"TemporaryFile(/tmp/multipartBody6915637042056318988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677890142,"filename":"image_12012025_11_30_02_634854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36ef698afb43f938167b8a4ec96e3e8b.jpg","text":"TemporaryFile(/tmp/multipartBody233553205747737388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677890142,"filename":"image_12012025_11_30_02_634854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5930c62b92c2556c0f572ceb8d1498d6.jpg","text":"TemporaryFile(/tmp/multipartBody4144456829722481052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677890142,"filename":"image_12012025_11_29_02_525586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328421735","file1":"1328421614","file0":"1328421492"},"map_files_photo_id_array":[{"photo_id":"1328421735","filename":"file2"},{"photo_id":"1328421614","filename":"file1"},{"photo_id":"1328421492","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328421735":["hashtag1","hashtag2"]},{"1328421614":["hashtag1","hashtag2"]},{"1328421492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328421735, 1328421614, 1328421492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.95218777656555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:31:03.207307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:31:22.556768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_02_634854_0002.jpg', '/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0000.jpg', '/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0001.jpg', '/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_02_634854_0002.jpg
/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0000.jpg
/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0001.jpg
/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328422277","1328422276","1328422279","1328422273"],"photo_ids_order":["1328422273","1328422276","1328422277","1328422279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b795487e85697299fa04398578f28c57.jpg","text":"TemporaryFile(/tmp/multipartBody1019422191840843028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677952701,"filename":"image_12012025_11_31_02_790548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12fae278c44fa38d0160e4b262909adc.jpg","text":"TemporaryFile(/tmp/multipartBody8244751027138479971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677952701,"filename":"image_12012025_11_31_02_790548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/533af0c5de54857d05f27859cfc521eb.jpg","text":"TemporaryFile(/tmp/multipartBody6244936488877026287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677952701,"filename":"image_12012025_11_31_02_790548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/365ea7cca7175156c9468582e5fb2451.jpg","text":"TemporaryFile(/tmp/multipartBody6679333081137002959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736677952701,"filename":"image_12012025_11_30_02_634854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328422277","file1":"1328422276","file0":"1328422273","file3":"1328422279"},"map_files_photo_id_array":[{"photo_id":"1328422277","filename":"file2"},{"photo_id":"1328422276","filename":"file1"},{"photo_id":"1328422273","filename":"file0"},{"photo_id":"1328422279","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328422277":["hashtag1","hashtag2"]},{"1328422276":["hashtag1","hashtag2"]},{"1328422279":["hashtag1","hashtag2"]},{"1328422273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328422277, 1328422276, 1328422279, 1328422273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32287359237671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:32:03.177437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:32:22.741046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0003.jpg', '/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0000.jpg', '/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0001.jpg', '/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_02_790548_0003.jpg
/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0000.jpg
/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0001.jpg
/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328422464","1328422327","1328422368","1328422290"],"photo_ids_order":["1328422290","1328422327","1328422368","1328422464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45e2b95d33a1459f06a033e1b9d7bd21.jpg","text":"TemporaryFile(/tmp/multipartBody6899933892470450427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678012859,"filename":"image_12012025_11_32_02_963677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/389ca5368e237d244b639379e9b400e9.jpg","text":"TemporaryFile(/tmp/multipartBody1304541778265278528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678012859,"filename":"image_12012025_11_32_02_963677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d463ab24d5de7c55aabe8189e7833350.jpg","text":"TemporaryFile(/tmp/multipartBody7826145096812230488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678012859,"filename":"image_12012025_11_32_02_963677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a36b8ab2265b439714f35cd7ff64ab5d.jpg","text":"TemporaryFile(/tmp/multipartBody1120322155889853123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678012859,"filename":"image_12012025_11_31_02_790548_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328422368","file1":"1328422327","file0":"1328422290","file3":"1328422464"},"map_files_photo_id_array":[{"photo_id":"1328422368","filename":"file2"},{"photo_id":"1328422327","filename":"file1"},{"photo_id":"1328422290","filename":"file0"},{"photo_id":"1328422464","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328422464":["hashtag1","hashtag2"]},{"1328422327":["hashtag1","hashtag2"]},{"1328422368":["hashtag1","hashtag2"]},{"1328422290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328422464, 1328422327, 1328422368, 1328422290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.19614267349243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:33:22.016781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0003.jpg', '/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0000.jpg', '/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0001.jpg', '/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_02_963677_0003.jpg
/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0000.jpg
/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0001.jpg
/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328422848","1328422850","1328422808","1328422831"],"photo_ids_order":["1328422808","1328422831","1328422848","1328422850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbfd25e28731e84d36ff6cb20600f838.jpg","text":"TemporaryFile(/tmp/multipartBody4445732400774970369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678072187,"filename":"image_12012025_11_33_03_048581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/389ce4ba3675ad4d5a79ac132fb8f6d0.jpg","text":"TemporaryFile(/tmp/multipartBody4470264495370625524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678072187,"filename":"image_12012025_11_33_03_048581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6fa4f6c2e2b548d5fe46c27ecc820a47.jpg","text":"TemporaryFile(/tmp/multipartBody8438005866631598477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678072187,"filename":"image_12012025_11_32_02_963677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/080fc601894b1c0b192c0649cd7f2327.jpg","text":"TemporaryFile(/tmp/multipartBody6364049447627836500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678072187,"filename":"image_12012025_11_33_03_048581_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328422848","file1":"1328422831","file0":"1328422808","file3":"1328422850"},"map_files_photo_id_array":[{"photo_id":"1328422848","filename":"file2"},{"photo_id":"1328422831","filename":"file1"},{"photo_id":"1328422808","filename":"file0"},{"photo_id":"1328422850","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328422848":["hashtag1","hashtag2"]},{"1328422850":["hashtag1","hashtag2"]},{"1328422808":["hashtag1","hashtag2"]},{"1328422831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328422848, 1328422850, 1328422808, 1328422831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30834078788757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:34:02.498105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:34:22.085015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0003.jpg', '/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0000.jpg', '/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0001.jpg', '/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_03_048581_0003.jpg
/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0000.jpg
/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0001.jpg
/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328422864","1328422861","1328422858","1328422863"],"photo_ids_order":["1328422858","1328422861","1328422863","1328422864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8614b7359afa487ce42e04929ce9906d.jpg","text":"TemporaryFile(/tmp/multipartBody1722835201988432141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678132285,"filename":"image_12012025_11_34_02_218430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00fa40bfce7c94ec12a03994ea5f7fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4927111212411395849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678132285,"filename":"image_12012025_11_34_02_218430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb1aec8b9ed504368b34f56645464f13.jpg","text":"TemporaryFile(/tmp/multipartBody5324045457905097791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678132285,"filename":"image_12012025_11_33_03_048581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94af0dfc434b6e3d8ccf0b6131192728.jpg","text":"TemporaryFile(/tmp/multipartBody297842362409728020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678132285,"filename":"image_12012025_11_34_02_218430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328422863","file1":"1328422861","file0":"1328422858","file3":"1328422864"},"map_files_photo_id_array":[{"photo_id":"1328422863","filename":"file2"},{"photo_id":"1328422861","filename":"file1"},{"photo_id":"1328422858","filename":"file0"},{"photo_id":"1328422864","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328422864":["hashtag1","hashtag2"]},{"1328422861":["hashtag1","hashtag2"]},{"1328422858":["hashtag1","hashtag2"]},{"1328422863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328422864, 1328422861, 1328422858, 1328422863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.19680857658386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:35:22.298580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0003.jpg', '/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_02_404940_0001.jpg', '/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_02_404940_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_02_218430_0003.jpg
/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_02_404940_0001.jpg
/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_02_404940_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328422875","1328422878","1328422872"],"photo_ids_order":["1328422872","1328422875","1328422878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9a9ad6323fd3f4188788ef955e3ba26.jpg","text":"TemporaryFile(/tmp/multipartBody7299592969611048427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678190053,"filename":"image_12012025_11_35_02_404940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cefe017f6f04240f3259b9b8645af0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3938235908136649037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678190053,"filename":"image_12012025_11_35_02_404940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f92de0db26850d3ac9085d8fea014a5.jpg","text":"TemporaryFile(/tmp/multipartBody7560060176582341757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678190053,"filename":"image_12012025_11_34_02_218430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328422878","file1":"1328422875","file0":"1328422872"},"map_files_photo_id_array":[{"photo_id":"1328422878","filename":"file2"},{"photo_id":"1328422875","filename":"file1"},{"photo_id":"1328422872","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328422875":["hashtag1","hashtag2"]},{"1328422878":["hashtag1","hashtag2"]},{"1328422872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328422875, 1328422878, 1328422872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.216655015945435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:36:02.817712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:36:22.509384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_02_404940_0003.jpg', '/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0000.jpg', '/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0001.jpg', '/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_02_404940_0003.jpg
/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0000.jpg
/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0001.jpg
/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328424370","1328424369","1328424366","1328424368"],"photo_ids_order":["1328424366","1328424368","1328424369","1328424370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/634ca6f7d1e46d4f64fa115c1f54bd7f.jpg","text":"TemporaryFile(/tmp/multipartBody1467159088671805932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678252861,"filename":"image_12012025_11_36_02_547742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29c33edb4eba20b8c8183814c0342d80.jpg","text":"TemporaryFile(/tmp/multipartBody8173003715249340271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678252861,"filename":"image_12012025_11_36_02_547742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9602490a384b67fa8c3d84a4d23a97bc.jpg","text":"TemporaryFile(/tmp/multipartBody117213914014719191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678252861,"filename":"image_12012025_11_35_02_404940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4846432903d3a44679edf16cd25bacb7.jpg","text":"TemporaryFile(/tmp/multipartBody3617324301626611325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678252861,"filename":"image_12012025_11_36_02_547742_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328424369","file1":"1328424368","file0":"1328424366","file3":"1328424370"},"map_files_photo_id_array":[{"photo_id":"1328424369","filename":"file2"},{"photo_id":"1328424368","filename":"file1"},{"photo_id":"1328424366","filename":"file0"},{"photo_id":"1328424370","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328424370":["hashtag1","hashtag2"]},{"1328424369":["hashtag1","hashtag2"]},{"1328424366":["hashtag1","hashtag2"]},{"1328424368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328424370, 1328424369, 1328424366, 1328424368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.512388467788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:37:03.381261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:37:22.646983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0003.jpg', '/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0000.jpg', '/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0001.jpg', '/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_02_547742_0003.jpg
/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0000.jpg
/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0001.jpg
/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328424381","1328424384","1328424507","1328424383"],"photo_ids_order":["1328424381","1328424383","1328424384","1328424507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a8c9c1c4b3b93365aa87adb6a5cbb0b.jpg","text":"TemporaryFile(/tmp/multipartBody8044080213216755122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678312790,"filename":"image_12012025_11_36_02_547742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c729d2eac80604bd59c4ca7b08280a08.jpg","text":"TemporaryFile(/tmp/multipartBody883544244669702216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678312790,"filename":"image_12012025_11_37_02_815323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8cdc95c6bb21df3c0f72fa6d99984caf.jpg","text":"TemporaryFile(/tmp/multipartBody5135480499338623817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678312790,"filename":"image_12012025_11_37_02_815323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d0f2a7a04f7784a369f319175907382.jpg","text":"TemporaryFile(/tmp/multipartBody4743159619951309345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678312790,"filename":"image_12012025_11_37_02_815323_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328424384","file1":"1328424383","file0":"1328424381","file3":"1328424507"},"map_files_photo_id_array":[{"photo_id":"1328424384","filename":"file2"},{"photo_id":"1328424383","filename":"file1"},{"photo_id":"1328424381","filename":"file0"},{"photo_id":"1328424507","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328424381":["hashtag1","hashtag2"]},{"1328424384":["hashtag1","hashtag2"]},{"1328424507":["hashtag1","hashtag2"]},{"1328424383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328424381, 1328424384, 1328424507, 1328424383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56379413604736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:38:21.845243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0003.jpg', '/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0000.jpg', '/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0001.jpg', '/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/37/image_12012025_11_37_02_815323_0003.jpg
/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0000.jpg
/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0001.jpg
/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328424994","1328425053","1328425047","1328424945"],"photo_ids_order":["1328424945","1328424994","1328425047","1328425053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1399ff2adf39e1df85514143cac5e31.jpg","text":"TemporaryFile(/tmp/multipartBody4631841819561620523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678371858,"filename":"image_12012025_11_38_02_971316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3a94b005830ebb14f6c19e5008ba152.jpg","text":"TemporaryFile(/tmp/multipartBody7164891698684947743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678371858,"filename":"image_12012025_11_38_02_971316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dec320991245fd0867a6f64d05ee089c.jpg","text":"TemporaryFile(/tmp/multipartBody6822767440797691501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678371858,"filename":"image_12012025_11_38_02_971316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f65419f4b3a51f189f0de5570ef38d5.jpg","text":"TemporaryFile(/tmp/multipartBody2931509311655450436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678371858,"filename":"image_12012025_11_37_02_815323_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328425047","file1":"1328424994","file0":"1328424945","file3":"1328425053"},"map_files_photo_id_array":[{"photo_id":"1328425047","filename":"file2"},{"photo_id":"1328424994","filename":"file1"},{"photo_id":"1328424945","filename":"file0"},{"photo_id":"1328425053","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328424994":["hashtag1","hashtag2"]},{"1328425053":["hashtag1","hashtag2"]},{"1328425047":["hashtag1","hashtag2"]},{"1328424945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328424994, 1328425053, 1328425047, 1328424945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.73269534111023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:39:02.654560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:39:21.907012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0003.jpg', '/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0000.jpg', '/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0001.jpg', '/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_02_971316_0003.jpg
/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0000.jpg
/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0001.jpg
/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328425644","1328425395","1328425755","1328425524"],"photo_ids_order":["1328425395","1328425524","1328425644","1328425755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c0142e49d42672333e16de4b3b0704c.jpg","text":"TemporaryFile(/tmp/multipartBody2035687957193655242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678432038,"filename":"image_12012025_11_39_02_184902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4e0c1e3b24668ef6b2f4a79e57f6d96.jpg","text":"TemporaryFile(/tmp/multipartBody814900272097303109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678432038,"filename":"image_12012025_11_38_02_971316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f493eb50d4e9c3baa67ab099f874c60e.jpg","text":"TemporaryFile(/tmp/multipartBody9110347403932732942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678432038,"filename":"image_12012025_11_39_02_184902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cbf3b0a79dbf7e9ecaf8e66a161f61d.jpg","text":"TemporaryFile(/tmp/multipartBody4546125007260253730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678432038,"filename":"image_12012025_11_39_02_184902_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328425644","file1":"1328425524","file0":"1328425395","file3":"1328425755"},"map_files_photo_id_array":[{"photo_id":"1328425644","filename":"file2"},{"photo_id":"1328425524","filename":"file1"},{"photo_id":"1328425395","filename":"file0"},{"photo_id":"1328425755","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328425644":["hashtag1","hashtag2"]},{"1328425395":["hashtag1","hashtag2"]},{"1328425755":["hashtag1","hashtag2"]},{"1328425524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328425644, 1328425395, 1328425755, 1328425524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36724877357483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:40:02.580057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:40:22.273818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0003.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0000.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0001.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0003.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0000.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0001.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_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.740135192871094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 11:40:42.187909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0003.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0000.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0001.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/39/image_12012025_11_39_02_184902_0003.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0000.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0001.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_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":["1328427074","1328427017","1328427073","1328427076"],"photo_ids_order":["1328427017","1328427073","1328427074","1328427076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6f5bce58bc5066419656cfa996911b5.jpg","text":"TemporaryFile(/tmp/multipartBody8721462123149487130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678512327,"filename":"image_12012025_11_40_02_354745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1be326eb9aabb5fd422e0357dc7cc116.jpg","text":"TemporaryFile(/tmp/multipartBody2391175332311645597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678512327,"filename":"image_12012025_11_39_02_184902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a904ec51e95a23cbf3750878293aa2cf.jpg","text":"TemporaryFile(/tmp/multipartBody5551317430972646704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678512327,"filename":"image_12012025_11_40_02_354745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75679ffaf17a229df88eb7a80e1562c5.jpg","text":"TemporaryFile(/tmp/multipartBody1607166229429478892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678512327,"filename":"image_12012025_11_40_02_354745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328427074","file1":"1328427073","file0":"1328427017","file3":"1328427076"},"map_files_photo_id_array":[{"photo_id":"1328427074","filename":"file2"},{"photo_id":"1328427073","filename":"file1"},{"photo_id":"1328427017","filename":"file0"},{"photo_id":"1328427076","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328427074":["hashtag1","hashtag2"]},{"1328427017":["hashtag1","hashtag2"]},{"1328427073":["hashtag1","hashtag2"]},{"1328427076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328427074, 1328427017, 1328427073, 1328427076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.85649228096008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:41:22.440966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0003.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0000.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0001.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0003.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0000.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0001.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_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.778440237045288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 11:41:42.346228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0003.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0000.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0001.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_02_354745_0003.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0000.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0001.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328427573","1328427456","1328427501","1328427457"],"photo_ids_order":["1328427456","1328427457","1328427501","1328427573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e91f431334c6976574e655376d409727.jpg","text":"TemporaryFile(/tmp/multipartBody6661149152153847052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678572538,"filename":"image_12012025_11_41_02_552388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9835ff777a75cce328122b59948840af.jpg","text":"TemporaryFile(/tmp/multipartBody6921935113236997596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678572538,"filename":"image_12012025_11_40_02_354745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3508bb00b8e7f400466366901c8c4ec6.jpg","text":"TemporaryFile(/tmp/multipartBody2124294077879110485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678572538,"filename":"image_12012025_11_41_02_552388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5c5c21ce95cbb540cffc6b0fd65ac7b.jpg","text":"TemporaryFile(/tmp/multipartBody2610864379092093892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678572538,"filename":"image_12012025_11_41_02_552388_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328427501","file1":"1328427457","file0":"1328427456","file3":"1328427573"},"map_files_photo_id_array":[{"photo_id":"1328427501","filename":"file2"},{"photo_id":"1328427457","filename":"file1"},{"photo_id":"1328427456","filename":"file0"},{"photo_id":"1328427573","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328427573":["hashtag1","hashtag2"]},{"1328427456":["hashtag1","hashtag2"]},{"1328427501":["hashtag1","hashtag2"]},{"1328427457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328427573, 1328427456, 1328427501, 1328427457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30917406082153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 11:42:32.546281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0003.jpg', '/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0000.jpg', '/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0001.jpg', '/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_02_552388_0003.jpg
/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0000.jpg
/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0001.jpg
/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328427948","1328427903","1328427964","1328427916"],"photo_ids_order":["1328427903","1328427916","1328427948","1328427964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea30ec61043ddb3e91e35e95b7dde343.jpg","text":"TemporaryFile(/tmp/multipartBody745641739074648350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678622726,"filename":"image_12012025_11_42_02_699163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f960a036ba4a5ef762f5420bad543abf.jpg","text":"TemporaryFile(/tmp/multipartBody4750303808488613725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678622726,"filename":"image_12012025_11_41_02_552388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16df49f2bbadf72dc742f88296df7964.jpg","text":"TemporaryFile(/tmp/multipartBody7192775651526951560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678622726,"filename":"image_12012025_11_42_02_699163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adf5881b602434ab2c31ca0f059f6eef.jpg","text":"TemporaryFile(/tmp/multipartBody2515594853493253372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678622726,"filename":"image_12012025_11_42_02_699163_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328427948","file1":"1328427916","file0":"1328427903","file3":"1328427964"},"map_files_photo_id_array":[{"photo_id":"1328427948","filename":"file2"},{"photo_id":"1328427916","filename":"file1"},{"photo_id":"1328427903","filename":"file0"},{"photo_id":"1328427964","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328427948":["hashtag1","hashtag2"]},{"1328427903":["hashtag1","hashtag2"]},{"1328427964":["hashtag1","hashtag2"]},{"1328427916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328427948, 1328427903, 1328427964, 1328427916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.26477336883545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:43:22.880842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0003.jpg', '/home/pi/Desktop/images/12012025/11/43/image_12012025_11_43_02_900223_0000.jpg', '/home/pi/Desktop/images/12012025/11/43/image_12012025_11_43_02_900223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_02_699163_0003.jpg
/home/pi/Desktop/images/12012025/11/43/image_12012025_11_43_02_900223_0000.jpg
/home/pi/Desktop/images/12012025/11/43/image_12012025_11_43_02_900223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328427972","1328427974","1328427975"],"photo_ids_order":["1328427972","1328427974","1328427975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/423a3150e2be02eb6f095eb7a3cb4818.jpg","text":"TemporaryFile(/tmp/multipartBody453004113235636154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678670660,"filename":"image_12012025_11_42_02_699163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5125a7b26684c9fb0f93da37cc8665e8.jpg","text":"TemporaryFile(/tmp/multipartBody8846257029755458097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678670660,"filename":"image_12012025_11_43_02_900223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11f8021fb92fafbaaf1e5edad193cd1b.jpg","text":"TemporaryFile(/tmp/multipartBody8590805761264344819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678670660,"filename":"image_12012025_11_43_02_900223_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328427975","file1":"1328427974","file0":"1328427972"},"map_files_photo_id_array":[{"photo_id":"1328427975","filename":"file2"},{"photo_id":"1328427974","filename":"file1"},{"photo_id":"1328427972","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328427972":["hashtag1","hashtag2"]},{"1328427974":["hashtag1","hashtag2"]},{"1328427975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328427972, 1328427974, 1328427975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.45227813720703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:44:02.451851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:44:22.064119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/43/image_12012025_11_43_02_900223_0003.jpg', '/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0000.jpg', '/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0001.jpg', '/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/43/image_12012025_11_43_02_900223_0003.jpg
/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0000.jpg
/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0001.jpg
/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328428023","1328428034","1328427997","1328428033"],"photo_ids_order":["1328427997","1328428023","1328428033","1328428034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e63a37367af0b80d57bd2fe78651bd4f.jpg","text":"TemporaryFile(/tmp/multipartBody1642187069802467291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678732204,"filename":"image_12012025_11_44_03_112187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d34bdf79b85e37f1c63f635e08067d8.jpg","text":"TemporaryFile(/tmp/multipartBody3477971141948507998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678732204,"filename":"image_12012025_11_44_03_112187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/235bbb3a4329de5c63793db9c47b3211.jpg","text":"TemporaryFile(/tmp/multipartBody7614588806795589449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678732204,"filename":"image_12012025_11_43_02_900223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04810743598cdac8f0cdbea7220f6eeb.jpg","text":"TemporaryFile(/tmp/multipartBody8484870512568603964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678732204,"filename":"image_12012025_11_44_03_112187_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328428033","file1":"1328428023","file0":"1328427997","file3":"1328428034"},"map_files_photo_id_array":[{"photo_id":"1328428033","filename":"file2"},{"photo_id":"1328428023","filename":"file1"},{"photo_id":"1328427997","filename":"file0"},{"photo_id":"1328428034","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328428023":["hashtag1","hashtag2"]},{"1328428034":["hashtag1","hashtag2"]},{"1328427997":["hashtag1","hashtag2"]},{"1328428033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328428023, 1328428034, 1328427997, 1328428033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38513398170471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:45:22.263929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0003.jpg', '/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0000.jpg', '/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0001.jpg', '/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_03_112187_0003.jpg
/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0000.jpg
/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0001.jpg
/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328428101","1328428103","1328428099","1328428102"],"photo_ids_order":["1328428099","1328428101","1328428102","1328428103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33896d6b732f34f785140d9a92125c53.jpg","text":"TemporaryFile(/tmp/multipartBody2312477077549305196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678792417,"filename":"image_12012025_11_45_02_381751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c590031896590ab8d085700d7e6e6443.jpg","text":"TemporaryFile(/tmp/multipartBody988032078086427155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678792417,"filename":"image_12012025_11_45_02_381751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a58ba9e2e969cb3d203da567175a8c6b.jpg","text":"TemporaryFile(/tmp/multipartBody5603882531504448149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678792417,"filename":"image_12012025_11_44_03_112187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f5b70f8a3bc939ea20ba47cde58aa04.jpg","text":"TemporaryFile(/tmp/multipartBody5798985652609337605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678792417,"filename":"image_12012025_11_45_02_381751_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328428102","file1":"1328428101","file0":"1328428099","file3":"1328428103"},"map_files_photo_id_array":[{"photo_id":"1328428102","filename":"file2"},{"photo_id":"1328428101","filename":"file1"},{"photo_id":"1328428099","filename":"file0"},{"photo_id":"1328428103","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328428101":["hashtag1","hashtag2"]},{"1328428103":["hashtag1","hashtag2"]},{"1328428099":["hashtag1","hashtag2"]},{"1328428102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328428101, 1328428103, 1328428099, 1328428102)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.686492919921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:46:22.466435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0003.jpg', '/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0000.jpg', '/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0001.jpg', '/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_02_381751_0003.jpg
/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0000.jpg
/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0001.jpg
/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328428113","1328428115","1328428114","1328428111"],"photo_ids_order":["1328428111","1328428113","1328428114","1328428115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b56dabd837f5e9c044efa090e565fd74.jpg","text":"TemporaryFile(/tmp/multipartBody853060152118062886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678852601,"filename":"image_12012025_11_46_02_600670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0258d3b0894a1c652ac9caf77bd28b76.jpg","text":"TemporaryFile(/tmp/multipartBody636692320777085375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678852601,"filename":"image_12012025_11_46_02_600670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea04f2b856965d4e324f40680171e051.jpg","text":"TemporaryFile(/tmp/multipartBody5606370209858652700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678852601,"filename":"image_12012025_11_46_02_600670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/385569ce61c01244eb279a165f93562c.jpg","text":"TemporaryFile(/tmp/multipartBody4553820492945798168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678852601,"filename":"image_12012025_11_45_02_381751_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328428114","file1":"1328428113","file0":"1328428111","file3":"1328428115"},"map_files_photo_id_array":[{"photo_id":"1328428114","filename":"file2"},{"photo_id":"1328428113","filename":"file1"},{"photo_id":"1328428111","filename":"file0"},{"photo_id":"1328428115","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328428113":["hashtag1","hashtag2"]},{"1328428115":["hashtag1","hashtag2"]},{"1328428114":["hashtag1","hashtag2"]},{"1328428111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328428113, 1328428115, 1328428114, 1328428111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75172662734985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:47:22.580235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0003.jpg', '/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0000.jpg', '/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0001.jpg', '/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/46/image_12012025_11_46_02_600670_0003.jpg
/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0000.jpg
/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0001.jpg
/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328428131","1328428124","1328428127","1328428129"],"photo_ids_order":["1328428124","1328428127","1328428129","1328428131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7694fb21b81c9472c65a020a2098f6a.jpg","text":"TemporaryFile(/tmp/multipartBody9185931476052982391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678912833,"filename":"image_12012025_11_47_02_715388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8bf2662f35fb9b1eb8dfd648e72792f.jpg","text":"TemporaryFile(/tmp/multipartBody6906705726609858343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678912833,"filename":"image_12012025_11_46_02_600670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff261931f60e3df3bd78c7d7f2217b67.jpg","text":"TemporaryFile(/tmp/multipartBody7165353170609717854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678912833,"filename":"image_12012025_11_47_02_715388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a6be30279b06bdedb37fcc6306cbabfe.jpg","text":"TemporaryFile(/tmp/multipartBody1765829193088446185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678912833,"filename":"image_12012025_11_47_02_715388_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328428129","file1":"1328428127","file0":"1328428124","file3":"1328428131"},"map_files_photo_id_array":[{"photo_id":"1328428129","filename":"file2"},{"photo_id":"1328428127","filename":"file1"},{"photo_id":"1328428124","filename":"file0"},{"photo_id":"1328428131","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328428131":["hashtag1","hashtag2"]},{"1328428124":["hashtag1","hashtag2"]},{"1328428127":["hashtag1","hashtag2"]},{"1328428129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328428131, 1328428124, 1328428127, 1328428129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.37268090248108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:48:22.800396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0003.jpg', '/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0000.jpg', '/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0001.jpg', '/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_02_715388_0003.jpg
/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0000.jpg
/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0001.jpg
/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328428812","1328428809","1328428811","1328428813"],"photo_ids_order":["1328428809","1328428811","1328428812","1328428813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8076cd79a7e796ef4af3c3c8302c5d8f.jpg","text":"TemporaryFile(/tmp/multipartBody9093044746082845046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678973191,"filename":"image_12012025_11_48_02_916876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20709765d5642b5109ff561f7de04578.jpg","text":"TemporaryFile(/tmp/multipartBody5205113579699676324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678973191,"filename":"image_12012025_11_47_02_715388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abe8d45108b7c48827918268b56c6551.jpg","text":"TemporaryFile(/tmp/multipartBody3523794141004982000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678973191,"filename":"image_12012025_11_48_02_916876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24e82a3839f3a53b5141ae36d88f9c78.jpg","text":"TemporaryFile(/tmp/multipartBody5442905979305163238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736678973191,"filename":"image_12012025_11_48_02_916876_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328428812","file1":"1328428811","file0":"1328428809","file3":"1328428813"},"map_files_photo_id_array":[{"photo_id":"1328428812","filename":"file2"},{"photo_id":"1328428811","filename":"file1"},{"photo_id":"1328428809","filename":"file0"},{"photo_id":"1328428813","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328428812":["hashtag1","hashtag2"]},{"1328428809":["hashtag1","hashtag2"]},{"1328428811":["hashtag1","hashtag2"]},{"1328428813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328428812, 1328428809, 1328428811, 1328428813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85880160331726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:49:21.951347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0003.jpg', '/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0000.jpg', '/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0001.jpg', '/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/48/image_12012025_11_48_02_916876_0003.jpg
/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0000.jpg
/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0001.jpg
/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328428848","1328428850","1328429251","1328429070"],"photo_ids_order":["1328428848","1328428850","1328429070","1328429251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6baa67f97fdf75c82b894938031f483b.jpg","text":"TemporaryFile(/tmp/multipartBody9036244871251742459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679032206,"filename":"image_12012025_11_48_02_916876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a1be347d1149369d32165117ff3ec83.jpg","text":"TemporaryFile(/tmp/multipartBody2660390965475155954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679032206,"filename":"image_12012025_11_49_03_142419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3e4400f3776d0fa51bd8494693546ba.jpg","text":"TemporaryFile(/tmp/multipartBody8059530901888044058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679032206,"filename":"image_12012025_11_49_03_142419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/884f0062c41595bd4f72d1499246594e.jpg","text":"TemporaryFile(/tmp/multipartBody4269622859547302573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679032206,"filename":"image_12012025_11_49_03_142419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429070","file1":"1328428850","file0":"1328428848","file3":"1328429251"},"map_files_photo_id_array":[{"photo_id":"1328429070","filename":"file2"},{"photo_id":"1328428850","filename":"file1"},{"photo_id":"1328428848","filename":"file0"},{"photo_id":"1328429251","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328428848":["hashtag1","hashtag2"]},{"1328428850":["hashtag1","hashtag2"]},{"1328429251":["hashtag1","hashtag2"]},{"1328429070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328428848, 1328428850, 1328429251, 1328429070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26000666618347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:50:02.497903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:50:22.054184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0003.jpg', '/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0000.jpg', '/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0001.jpg', '/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0003.jpg
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0000.jpg
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0001.jpg
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_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.591066598892212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 11:50:42.058593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0003.jpg', '/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0000.jpg', '/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0001.jpg', '/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_03_142419_0003.jpg
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0000.jpg
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0001.jpg
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429381","1328429384","1328429380","1328429382"],"photo_ids_order":["1328429380","1328429381","1328429382","1328429384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54a5d8bb6e19ca96b59c45279ef1f59a.jpg","text":"TemporaryFile(/tmp/multipartBody6196270809540535930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679112057,"filename":"image_12012025_11_50_02_232323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d18b02e1fe96177374452753a311dcf4.jpg","text":"TemporaryFile(/tmp/multipartBody6876240889445270138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679112057,"filename":"image_12012025_11_50_02_232323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2206c5d8a932bee52531bf825f4904c.jpg","text":"TemporaryFile(/tmp/multipartBody8030651196528626964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679112057,"filename":"image_12012025_11_49_03_142419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54bb04b90e61825ec634054cf65659f6.jpg","text":"TemporaryFile(/tmp/multipartBody4955150788022995802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679112057,"filename":"image_12012025_11_50_02_232323_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429382","file1":"1328429381","file0":"1328429380","file3":"1328429384"},"map_files_photo_id_array":[{"photo_id":"1328429382","filename":"file2"},{"photo_id":"1328429381","filename":"file1"},{"photo_id":"1328429380","filename":"file0"},{"photo_id":"1328429384","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429381":["hashtag1","hashtag2"]},{"1328429384":["hashtag1","hashtag2"]},{"1328429380":["hashtag1","hashtag2"]},{"1328429382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429381, 1328429384, 1328429380, 1328429382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02089977264404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 11:51:32.291309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0003.jpg', '/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0000.jpg', '/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0001.jpg', '/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/50/image_12012025_11_50_02_232323_0003.jpg
/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0000.jpg
/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0001.jpg
/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429396","1328429395","1328429394","1328429393"],"photo_ids_order":["1328429393","1328429394","1328429395","1328429396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7caf5d48215290ae0c8c61b2e98b71e.jpg","text":"TemporaryFile(/tmp/multipartBody9079900794798111414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679162449,"filename":"image_12012025_11_51_02_383700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/354d22e23ad0f08f9cf159b4657a2e03.jpg","text":"TemporaryFile(/tmp/multipartBody7449787154289956682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679162449,"filename":"image_12012025_11_51_02_383700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad47d4bc64b5691fbf3d1234a3638528.jpg","text":"TemporaryFile(/tmp/multipartBody8417615043717800730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679162449,"filename":"image_12012025_11_51_02_383700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cc2a5acbf16b9d01860f5cffed3901d.jpg","text":"TemporaryFile(/tmp/multipartBody1455457542657662021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679162449,"filename":"image_12012025_11_50_02_232323_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429395","file1":"1328429394","file0":"1328429393","file3":"1328429396"},"map_files_photo_id_array":[{"photo_id":"1328429395","filename":"file2"},{"photo_id":"1328429394","filename":"file1"},{"photo_id":"1328429393","filename":"file0"},{"photo_id":"1328429396","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429396":["hashtag1","hashtag2"]},{"1328429395":["hashtag1","hashtag2"]},{"1328429394":["hashtag1","hashtag2"]},{"1328429393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429396, 1328429395, 1328429394, 1328429393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13063025474548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:52:22.510488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0003.jpg', '/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0000.jpg', '/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0001.jpg', '/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/51/image_12012025_11_51_02_383700_0003.jpg
/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0000.jpg
/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0001.jpg
/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429408","1328429425","1328429410","1328429413"],"photo_ids_order":["1328429408","1328429410","1328429413","1328429425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/214b117135d07df7ddbffa210f949e54.jpg","text":"TemporaryFile(/tmp/multipartBody9045327711895447703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679212712,"filename":"image_12012025_11_51_02_383700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/935cf4bfb031339cecd287c4390c5f72.jpg","text":"TemporaryFile(/tmp/multipartBody7895950184959211300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679212712,"filename":"image_12012025_11_52_02_691448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ef8ea839e1b3ae7a55fbdc072a32cee.jpg","text":"TemporaryFile(/tmp/multipartBody6393022696989092468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679212712,"filename":"image_12012025_11_52_02_691448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43fbdbd1720f7aa4555418c8545e2c9b.jpg","text":"TemporaryFile(/tmp/multipartBody750947514052304085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679212712,"filename":"image_12012025_11_52_02_691448_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429413","file1":"1328429410","file0":"1328429408","file3":"1328429425"},"map_files_photo_id_array":[{"photo_id":"1328429413","filename":"file2"},{"photo_id":"1328429410","filename":"file1"},{"photo_id":"1328429408","filename":"file0"},{"photo_id":"1328429425","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429408":["hashtag1","hashtag2"]},{"1328429425":["hashtag1","hashtag2"]},{"1328429410":["hashtag1","hashtag2"]},{"1328429413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429408, 1328429425, 1328429410, 1328429413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.74248385429382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:53:22.656743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0003.jpg', '/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0000.jpg', '/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0001.jpg', '/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/52/image_12012025_11_52_02_691448_0003.jpg
/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0000.jpg
/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0001.jpg
/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429441","1328429435","1328429437","1328429439"],"photo_ids_order":["1328429435","1328429437","1328429439","1328429441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/985d053d528231e983086e3485779537.jpg","text":"TemporaryFile(/tmp/multipartBody2846803970762676226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679272862,"filename":"image_12012025_11_53_02_862587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/407ad21046f750bcc2ce439fa64847b7.jpg","text":"TemporaryFile(/tmp/multipartBody5552813753183352861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679272862,"filename":"image_12012025_11_52_02_691448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3371c535da15aa8f8d9a093590604dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5387146572946943417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679272862,"filename":"image_12012025_11_53_02_862587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fdd0d390586c129afdfeb5ba975823c.jpg","text":"TemporaryFile(/tmp/multipartBody663583681788065461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679272862,"filename":"image_12012025_11_53_02_862587_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429439","file1":"1328429437","file0":"1328429435","file3":"1328429441"},"map_files_photo_id_array":[{"photo_id":"1328429439","filename":"file2"},{"photo_id":"1328429437","filename":"file1"},{"photo_id":"1328429435","filename":"file0"},{"photo_id":"1328429441","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429441":["hashtag1","hashtag2"]},{"1328429435":["hashtag1","hashtag2"]},{"1328429437":["hashtag1","hashtag2"]},{"1328429439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429441, 1328429435, 1328429437, 1328429439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.633228063583374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:54:21.920341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0003.jpg', '/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0000.jpg', '/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0001.jpg', '/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/53/image_12012025_11_53_02_862587_0003.jpg
/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0000.jpg
/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0001.jpg
/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429453","1328429455","1328429449","1328429451"],"photo_ids_order":["1328429449","1328429451","1328429453","1328429455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfac4300599fa9acdedc76122ee14b23.jpg","text":"TemporaryFile(/tmp/multipartBody2603364528574684495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679332116,"filename":"image_12012025_11_54_03_094557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a0f545e56055287fa613b608c223525.jpg","text":"TemporaryFile(/tmp/multipartBody6634328933753273138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679332116,"filename":"image_12012025_11_54_03_094557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66588a5bb21f42935fe815fbafa1caea.jpg","text":"TemporaryFile(/tmp/multipartBody436134424175204968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679332116,"filename":"image_12012025_11_53_02_862587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49db5d47b3c3166bd38a87ea883eb9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5776173856730323598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679332116,"filename":"image_12012025_11_54_03_094557_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429453","file1":"1328429451","file0":"1328429449","file3":"1328429455"},"map_files_photo_id_array":[{"photo_id":"1328429453","filename":"file2"},{"photo_id":"1328429451","filename":"file1"},{"photo_id":"1328429449","filename":"file0"},{"photo_id":"1328429455","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429453":["hashtag1","hashtag2"]},{"1328429455":["hashtag1","hashtag2"]},{"1328429449":["hashtag1","hashtag2"]},{"1328429451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429453, 1328429455, 1328429449, 1328429451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.75479245185852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:55:22.021333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0003.jpg', '/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0000.jpg', '/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0001.jpg', '/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_03_094557_0003.jpg
/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0000.jpg
/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0001.jpg
/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429464","1328429467","1328429463","1328429466"],"photo_ids_order":["1328429463","1328429464","1328429466","1328429467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b584de6613a4aeba5b3b18f0b25016c6.jpg","text":"TemporaryFile(/tmp/multipartBody7407932699081575632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679392274,"filename":"image_12012025_11_55_02_213058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/306d20f3044f9670ed873dd561d3b51b.jpg","text":"TemporaryFile(/tmp/multipartBody7538468880925635366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679392274,"filename":"image_12012025_11_55_02_213058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62ccf4486d3385c512ba1cdbbcbf3cc6.jpg","text":"TemporaryFile(/tmp/multipartBody3817435118768159586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679392274,"filename":"image_12012025_11_54_03_094557_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95d2822d6c9daba970dd1ba8f411aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody1020015462203892268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679392274,"filename":"image_12012025_11_55_02_213058_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429466","file1":"1328429464","file0":"1328429463","file3":"1328429467"},"map_files_photo_id_array":[{"photo_id":"1328429466","filename":"file2"},{"photo_id":"1328429464","filename":"file1"},{"photo_id":"1328429463","filename":"file0"},{"photo_id":"1328429467","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429464":["hashtag1","hashtag2"]},{"1328429467":["hashtag1","hashtag2"]},{"1328429463":["hashtag1","hashtag2"]},{"1328429466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429464, 1328429467, 1328429463, 1328429466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81367230415344 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-12 11:56:22.251407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0003.jpg', '/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0000.jpg', '/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0001.jpg', '/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/55/image_12012025_11_55_02_213058_0003.jpg
/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0000.jpg
/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0001.jpg
/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328429480","1328429482","1328429476","1328429478"],"photo_ids_order":["1328429476","1328429478","1328429480","1328429482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7312d376f0aabc010cc788bcd566f29d.jpg","text":"TemporaryFile(/tmp/multipartBody2792947392881854763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679452428,"filename":"image_12012025_11_56_02_451203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58d044802f9975abb6d66d11ea7177ff.jpg","text":"TemporaryFile(/tmp/multipartBody6372259357246232461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679452428,"filename":"image_12012025_11_56_02_451203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c06b6fcb357f4774f158a94a1fafd100.jpg","text":"TemporaryFile(/tmp/multipartBody7771194203754924376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679452428,"filename":"image_12012025_11_55_02_213058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bdf9c898a1d21bf1bae2c3cc776f5a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3104452568397140120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679452428,"filename":"image_12012025_11_56_02_451203_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429480","file1":"1328429478","file0":"1328429476","file3":"1328429482"},"map_files_photo_id_array":[{"photo_id":"1328429480","filename":"file2"},{"photo_id":"1328429478","filename":"file1"},{"photo_id":"1328429476","filename":"file0"},{"photo_id":"1328429482","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429480":["hashtag1","hashtag2"]},{"1328429482":["hashtag1","hashtag2"]},{"1328429476":["hashtag1","hashtag2"]},{"1328429478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429480, 1328429482, 1328429476, 1328429478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1197669506073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 11:57:02.951351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 11:57:22.388984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0003.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0000.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0001.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0003.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0000.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0001.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_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-12 11:59:03.073862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0003.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0000.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0001.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0002.jpg', '/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0003.jpg', '/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_02_451203_0003.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0000.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0001.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0002.jpg
/home/pi/Desktop/images/12012025/11/57/image_12012025_11_57_02_536488_0003.jpg
/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_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":["1328429873","1328429561","1328429557","1328429545","1328430270","1328429535"],"photo_ids_order":["1328429535","1328429545","1328429557","1328429561","1328429873","1328430270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8c08ea3955427580e6fbac481aa7f45.jpg","text":"TemporaryFile(/tmp/multipartBody9036743318298336235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679618070,"filename":"image_12012025_11_57_02_536488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0a67bb6561d350cf0fc3d413cc51f20.jpg","text":"TemporaryFile(/tmp/multipartBody7395087986600644250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679618070,"filename":"image_12012025_11_57_02_536488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b4a4427349c30f0fc67bb662172edc7.jpg","text":"TemporaryFile(/tmp/multipartBody4192520630634418917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679618070,"filename":"image_12012025_11_57_02_536488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b7369216cb6c1044f6834f706cec900.jpg","text":"TemporaryFile(/tmp/multipartBody8886709371599153532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679618070,"filename":"image_12012025_11_57_02_536488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b36a22a5a0971785c2be064b6a2bf3e0.jpg","text":"TemporaryFile(/tmp/multipartBody6407113636854341194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679618070,"filename":"image_12012025_11_58_02_676884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98951343b8d2d967d3128a35ae054d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2379943819990265236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679618070,"filename":"image_12012025_11_56_02_451203_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328429557","file1":"1328429545","file0":"1328429535","file4":"1328429873","file5":"1328430270","file3":"1328429561"},"map_files_photo_id_array":[{"photo_id":"1328430270","filename":"file5"},{"photo_id":"1328429557","filename":"file2"},{"photo_id":"1328429873","filename":"file4"},{"photo_id":"1328429545","filename":"file1"},{"photo_id":"1328429535","filename":"file0"},{"photo_id":"1328429561","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328429873":["hashtag1","hashtag2"]},{"1328429561":["hashtag1","hashtag2"]},{"1328429557":["hashtag1","hashtag2"]},{"1328429545":["hashtag1","hashtag2"]},{"1328430270":["hashtag1","hashtag2"]},{"1328429535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328429873, 1328429561, 1328429557, 1328429545, 1328430270, 1328429535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.557867765426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:01:20.595290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0001.jpg', '/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0002.jpg', '/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0003.jpg', '/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0000.jpg', '/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0001.jpg
/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0002.jpg
/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_02_676884_0003.jpg
/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0000.jpg
/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_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":["1328430546","1328430545","1328430548","1328430547","1328430543"],"photo_ids_order":["1328430543","1328430545","1328430546","1328430547","1328430548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c77e3ecfa6356f75b9b82c3b392e41c7.jpg","text":"TemporaryFile(/tmp/multipartBody3132904691222486354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679754444,"filename":"image_12012025_11_58_02_676884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1db4bca342fc681284212fb366a9185.jpg","text":"TemporaryFile(/tmp/multipartBody5076517864240343098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679754444,"filename":"image_12012025_11_58_02_676884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81c7196f22730482cd29be7370cd5707.jpg","text":"TemporaryFile(/tmp/multipartBody5782755693834391797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679754444,"filename":"image_12012025_11_59_02_888026_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b35a0d8a676ee240d2a87de9f8aa8859.jpg","text":"TemporaryFile(/tmp/multipartBody7171749695925308167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679754444,"filename":"image_12012025_11_59_02_888026_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47ad71ae1c50891cc656ea0c1fae6f62.jpg","text":"TemporaryFile(/tmp/multipartBody7686728690007823428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679754444,"filename":"image_12012025_11_58_02_676884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328430546","file1":"1328430545","file0":"1328430543","file4":"1328430548","file3":"1328430547"},"map_files_photo_id_array":[{"photo_id":"1328430546","filename":"file2"},{"photo_id":"1328430548","filename":"file4"},{"photo_id":"1328430545","filename":"file1"},{"photo_id":"1328430543","filename":"file0"},{"photo_id":"1328430547","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328430546":["hashtag1","hashtag2"]},{"1328430545":["hashtag1","hashtag2"]},{"1328430548":["hashtag1","hashtag2"]},{"1328430547":["hashtag1","hashtag2"]},{"1328430543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328430546, 1328430545, 1328430548, 1328430547, 1328430543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 54.57943773269653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:02:22.895864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0002.jpg', '/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0001.jpg', '/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0002.jpg', '/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0002.jpg
/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0001.jpg
/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0002.jpg
/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_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: 9.581595420837402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:02:42.724391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0002.jpg', '/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0001.jpg', '/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0002.jpg', '/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_02_888026_0002.jpg
/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0001.jpg
/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_03_117561_0002.jpg
/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_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":["1328431072","1328431141","1328431074","1328431071"],"photo_ids_order":["1328431071","1328431072","1328431074","1328431141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe917c90381115a70430d44464a85367.jpg","text":"TemporaryFile(/tmp/multipartBody5620042394432922111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679832619,"filename":"image_12012025_12_00_03_117561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29421692f874dcc035059e9d45abe31d.jpg","text":"TemporaryFile(/tmp/multipartBody2433985165872153437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679832619,"filename":"image_12012025_12_02_18_952942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49e471f6cb0624151ae27aa808cd3ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7171371406005460172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679832619,"filename":"image_12012025_12_00_03_117561_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f0759add5d20b8521d04ce21cd4520a.jpg","text":"TemporaryFile(/tmp/multipartBody406143907689029977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679832619,"filename":"image_12012025_11_59_02_888026_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328431074","file1":"1328431072","file0":"1328431071","file3":"1328431141"},"map_files_photo_id_array":[{"photo_id":"1328431074","filename":"file2"},{"photo_id":"1328431072","filename":"file1"},{"photo_id":"1328431071","filename":"file0"},{"photo_id":"1328431141","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328431072":["hashtag1","hashtag2"]},{"1328431141":["hashtag1","hashtag2"]},{"1328431074":["hashtag1","hashtag2"]},{"1328431071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328431072, 1328431141, 1328431074, 1328431071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.45906734466553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:03:31.901462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5983619689941406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:03:41.908343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328431373"],"photo_id":"1328431373","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49ff4fb35b6ca992e246f2fb2e13612f.jpg","text":"TemporaryFile(/tmp/multipartBody8528292510880977355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679884877,"filename":"image_12012025_12_02_18_952942_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328431373"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328431373"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.22258710861206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:04:02.528670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:04:22.100158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0003.jpg', '/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0000.jpg', '/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0001.jpg', '/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_18_952942_0003.jpg
/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0000.jpg
/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0001.jpg
/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432303","1328432272","1328432250","1328432304"],"photo_ids_order":["1328432250","1328432272","1328432303","1328432304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4998bb647396b3e0ab9e5e564e7eb263.jpg","text":"TemporaryFile(/tmp/multipartBody8537697974232136708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679932330,"filename":"image_12012025_12_04_02_284259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f590af960679ab4d614d7697fdcab6d.jpg","text":"TemporaryFile(/tmp/multipartBody1099242632307372173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679932330,"filename":"image_12012025_12_04_02_284259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e580524c97999b843d76192c377c47a.jpg","text":"TemporaryFile(/tmp/multipartBody1359426926036098516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679932330,"filename":"image_12012025_12_02_18_952942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2923fcab35a62d78e8077614d47ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody806519173750089322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679932330,"filename":"image_12012025_12_04_02_284259_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432303","file1":"1328432272","file0":"1328432250","file3":"1328432304"},"map_files_photo_id_array":[{"photo_id":"1328432303","filename":"file2"},{"photo_id":"1328432272","filename":"file1"},{"photo_id":"1328432250","filename":"file0"},{"photo_id":"1328432304","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432303":["hashtag1","hashtag2"]},{"1328432272":["hashtag1","hashtag2"]},{"1328432250":["hashtag1","hashtag2"]},{"1328432304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432303, 1328432272, 1328432250, 1328432304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.597708225250244 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-12 12:05:22.295816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0003.jpg', '/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0000.jpg', '/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0001.jpg', '/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_02_284259_0003.jpg
/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0000.jpg
/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0001.jpg
/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432313","1328432316","1328432319","1328432318"],"photo_ids_order":["1328432313","1328432316","1328432318","1328432319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72b9291e4dfc71de0b27bb5671083638.jpg","text":"TemporaryFile(/tmp/multipartBody2999645324086883162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679992508,"filename":"image_12012025_12_04_02_284259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e3ccbd1450fb43e96583b24c96dbb9b.jpg","text":"TemporaryFile(/tmp/multipartBody2889623985479339302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679992508,"filename":"image_12012025_12_05_02_425085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75ba8c84305b4868e968f2bb8208ce12.jpg","text":"TemporaryFile(/tmp/multipartBody1883355339616246515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679992508,"filename":"image_12012025_12_05_02_425085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9ab268d282e47df3478a4db63145803.jpg","text":"TemporaryFile(/tmp/multipartBody5004034251201757695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736679992508,"filename":"image_12012025_12_05_02_425085_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432318","file1":"1328432316","file0":"1328432313","file3":"1328432319"},"map_files_photo_id_array":[{"photo_id":"1328432318","filename":"file2"},{"photo_id":"1328432316","filename":"file1"},{"photo_id":"1328432313","filename":"file0"},{"photo_id":"1328432319","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432313":["hashtag1","hashtag2"]},{"1328432316":["hashtag1","hashtag2"]},{"1328432319":["hashtag1","hashtag2"]},{"1328432318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432313, 1328432316, 1328432319, 1328432318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.73796510696411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:06:03.003237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:06:22.637696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0003.jpg', '/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0000.jpg', '/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0001.jpg', '/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_02_425085_0003.jpg
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0000.jpg
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0001.jpg
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432332","1328432331","1328432328","1328432330"],"photo_ids_order":["1328432328","1328432330","1328432331","1328432332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a09ce2f1beeb414aec00f1774cf48304.jpg","text":"TemporaryFile(/tmp/multipartBody7487204302556400849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680052983,"filename":"image_12012025_12_06_02_632683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/726886565b88d6d484a86cbfc2652579.jpg","text":"TemporaryFile(/tmp/multipartBody3390108575736497887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680052983,"filename":"image_12012025_12_06_02_632683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f16940d393c1d2184fb205136a3da9ab.jpg","text":"TemporaryFile(/tmp/multipartBody6499595782024442030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680052983,"filename":"image_12012025_12_05_02_425085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a586a41c8b5b2a0243fecee5051cdb9e.jpg","text":"TemporaryFile(/tmp/multipartBody1540920065100106813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680052983,"filename":"image_12012025_12_06_02_632683_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432331","file1":"1328432330","file0":"1328432328","file3":"1328432332"},"map_files_photo_id_array":[{"photo_id":"1328432331","filename":"file2"},{"photo_id":"1328432330","filename":"file1"},{"photo_id":"1328432328","filename":"file0"},{"photo_id":"1328432332","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432332":["hashtag1","hashtag2"]},{"1328432331":["hashtag1","hashtag2"]},{"1328432328":["hashtag1","hashtag2"]},{"1328432330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432332, 1328432331, 1328432328, 1328432330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.84944128990173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:07:22.784458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0003.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0000.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0001.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0003.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0000.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0001.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_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.909214496612549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:07:42.728695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0003.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0000.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0001.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_02_632683_0003.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0000.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0001.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432382","1328432385","1328432381","1328432384"],"photo_ids_order":["1328432381","1328432382","1328432384","1328432385"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/457c0b284d467842d1469e6be8c33715.jpg","text":"TemporaryFile(/tmp/multipartBody6043441394834014744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680133125,"filename":"image_12012025_12_07_02_959441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c60e62ad99bfbe037120cd551507789c.jpg","text":"TemporaryFile(/tmp/multipartBody1853820257656466241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680133125,"filename":"image_12012025_12_07_02_959441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1aa6744ff0f225299400d06182c5f86d.jpg","text":"TemporaryFile(/tmp/multipartBody1066661842877816903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680133125,"filename":"image_12012025_12_06_02_632683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21f2d1931c00e1558166899be1fd4a12.jpg","text":"TemporaryFile(/tmp/multipartBody2770619816551768004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680133125,"filename":"image_12012025_12_07_02_959441_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432384","file1":"1328432382","file0":"1328432381","file3":"1328432385"},"map_files_photo_id_array":[{"photo_id":"1328432384","filename":"file2"},{"photo_id":"1328432382","filename":"file1"},{"photo_id":"1328432381","filename":"file0"},{"photo_id":"1328432385","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432382":["hashtag1","hashtag2"]},{"1328432385":["hashtag1","hashtag2"]},{"1328432381":["hashtag1","hashtag2"]},{"1328432384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432382, 1328432385, 1328432381, 1328432384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37451672554016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:08:31.985823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0003.jpg', '/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0000.jpg', '/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0001.jpg', '/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_02_959441_0003.jpg
/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0000.jpg
/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0001.jpg
/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432408","1328432410","1328432407","1328432409"],"photo_ids_order":["1328432407","1328432408","1328432409","1328432410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d35c8e1b5e28e33d4302deebd97cfa6d.jpg","text":"TemporaryFile(/tmp/multipartBody3416746716135933033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680182283,"filename":"image_12012025_12_08_03_080465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85d16945631803acc41283b3e1c2f70c.jpg","text":"TemporaryFile(/tmp/multipartBody1451305742263118004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680182283,"filename":"image_12012025_12_08_03_080465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2196e142020254193e3724093f3efc9.jpg","text":"TemporaryFile(/tmp/multipartBody3834493089987197393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680182283,"filename":"image_12012025_12_07_02_959441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a0d5a6d424d767b72ceca6fdb691ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3112311099317155498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680182283,"filename":"image_12012025_12_08_03_080465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432409","file1":"1328432408","file0":"1328432407","file3":"1328432410"},"map_files_photo_id_array":[{"photo_id":"1328432409","filename":"file2"},{"photo_id":"1328432408","filename":"file1"},{"photo_id":"1328432407","filename":"file0"},{"photo_id":"1328432410","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432408":["hashtag1","hashtag2"]},{"1328432410":["hashtag1","hashtag2"]},{"1328432407":["hashtag1","hashtag2"]},{"1328432409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432408, 1328432410, 1328432407, 1328432409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.51689076423645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:09:22.116658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0003.jpg', '/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0000.jpg', '/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0001.jpg', '/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_03_080465_0003.jpg
/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0000.jpg
/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0001.jpg
/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432422","1328432419","1328432430","1328432441"],"photo_ids_order":["1328432419","1328432422","1328432430","1328432441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57c3c97e34855960e84fcb3876ec66e8.jpg","text":"TemporaryFile(/tmp/multipartBody8532027724453695082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680232425,"filename":"image_12012025_12_09_02_293925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/daa2ce449dd241fde48d3d43fe6f14b1.jpg","text":"TemporaryFile(/tmp/multipartBody6925911823059162945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680232425,"filename":"image_12012025_12_08_03_080465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ac0371b0f6f665971755d402fde3a74.jpg","text":"TemporaryFile(/tmp/multipartBody2979511308904947405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680232425,"filename":"image_12012025_12_09_02_293925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e60d93c691e55546177387eacc512aed.jpg","text":"TemporaryFile(/tmp/multipartBody1324160813919468215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680232425,"filename":"image_12012025_12_09_02_293925_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432430","file1":"1328432422","file0":"1328432419","file3":"1328432441"},"map_files_photo_id_array":[{"photo_id":"1328432430","filename":"file2"},{"photo_id":"1328432422","filename":"file1"},{"photo_id":"1328432419","filename":"file0"},{"photo_id":"1328432441","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432422":["hashtag1","hashtag2"]},{"1328432419":["hashtag1","hashtag2"]},{"1328432430":["hashtag1","hashtag2"]},{"1328432441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432422, 1328432419, 1328432430, 1328432441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 53.04160833358765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:10:22.414147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0003.jpg', '/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0000.jpg', '/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0001.jpg', '/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_02_293925_0003.jpg
/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0000.jpg
/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0001.jpg
/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432470","1328432472","1328432471","1328432468"],"photo_ids_order":["1328432468","1328432470","1328432471","1328432472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d6b66c1c3819f4c021a70e5164163fe.jpg","text":"TemporaryFile(/tmp/multipartBody646426968665352001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680292770,"filename":"image_12012025_12_10_02_511197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d262a464e1a8a96e04206f3a066f2637.jpg","text":"TemporaryFile(/tmp/multipartBody985941465043747184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680292770,"filename":"image_12012025_12_10_02_511197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f462abfab39da1eafe17fcae6a46c10.jpg","text":"TemporaryFile(/tmp/multipartBody1376836286297086791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680292770,"filename":"image_12012025_12_10_02_511197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a0b1c7fb9507d8e887bac2dc408569a.jpg","text":"TemporaryFile(/tmp/multipartBody7345532416431289497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680292770,"filename":"image_12012025_12_09_02_293925_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432471","file1":"1328432470","file0":"1328432468","file3":"1328432472"},"map_files_photo_id_array":[{"photo_id":"1328432471","filename":"file2"},{"photo_id":"1328432470","filename":"file1"},{"photo_id":"1328432468","filename":"file0"},{"photo_id":"1328432472","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432470":["hashtag1","hashtag2"]},{"1328432472":["hashtag1","hashtag2"]},{"1328432471":["hashtag1","hashtag2"]},{"1328432468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432470, 1328432472, 1328432471, 1328432468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88382697105408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:11:22.503127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0003.jpg', '/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0000.jpg', '/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0001.jpg', '/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_02_511197_0003.jpg
/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0000.jpg
/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0001.jpg
/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432482","1328432485","1328432484","1328432486"],"photo_ids_order":["1328432482","1328432484","1328432485","1328432486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b32fb68edfaf29dc3bb78a94ecf55c8.jpg","text":"TemporaryFile(/tmp/multipartBody8260579947031493119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680352798,"filename":"image_12012025_12_10_02_511197_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05ee8ebb266a1bb0c3a67642617666e3.jpg","text":"TemporaryFile(/tmp/multipartBody7797935680798023511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680352798,"filename":"image_12012025_12_11_02_704618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/61cf6f79acc58b122df9ecadc6349773.jpg","text":"TemporaryFile(/tmp/multipartBody5766069126903440026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680352798,"filename":"image_12012025_12_11_02_704618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d3c49943c6a2d1f740c98232d9a8302.jpg","text":"TemporaryFile(/tmp/multipartBody1673030241131707860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680352798,"filename":"image_12012025_12_11_02_704618_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432485","file1":"1328432484","file0":"1328432482","file3":"1328432486"},"map_files_photo_id_array":[{"photo_id":"1328432485","filename":"file2"},{"photo_id":"1328432484","filename":"file1"},{"photo_id":"1328432482","filename":"file0"},{"photo_id":"1328432486","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432482":["hashtag1","hashtag2"]},{"1328432485":["hashtag1","hashtag2"]},{"1328432484":["hashtag1","hashtag2"]},{"1328432486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432482, 1328432485, 1328432484, 1328432486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.31223917007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:12:22.605426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0003.jpg', '/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0000.jpg', '/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0001.jpg', '/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/11/image_12012025_12_11_02_704618_0003.jpg
/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0000.jpg
/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0001.jpg
/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432501","1328432509","1328432498","1328432495"],"photo_ids_order":["1328432495","1328432498","1328432501","1328432509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c5889360dd0af6cf61639d3ac3e14e5.jpg","text":"TemporaryFile(/tmp/multipartBody804470238072740250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680412868,"filename":"image_12012025_12_12_02_786384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56bdf31b044c14f280d0a897e5a4e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6188354498588431540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680412868,"filename":"image_12012025_12_12_02_786384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5fc12f2da6a8f4c2032bee981bf48f13.jpg","text":"TemporaryFile(/tmp/multipartBody2898840575525596754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680412868,"filename":"image_12012025_12_12_02_786384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cde55eda01562324dfe34d3467bb42c.jpg","text":"TemporaryFile(/tmp/multipartBody5099992186368928245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680412868,"filename":"image_12012025_12_11_02_704618_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432501","file1":"1328432498","file0":"1328432495","file3":"1328432509"},"map_files_photo_id_array":[{"photo_id":"1328432501","filename":"file2"},{"photo_id":"1328432498","filename":"file1"},{"photo_id":"1328432495","filename":"file0"},{"photo_id":"1328432509","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432501":["hashtag1","hashtag2"]},{"1328432509":["hashtag1","hashtag2"]},{"1328432498":["hashtag1","hashtag2"]},{"1328432495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432501, 1328432509, 1328432498, 1328432495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.583476305007935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:13:21.787329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0003.jpg', '/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0000.jpg', '/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0001.jpg', '/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_02_786384_0003.jpg
/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0000.jpg
/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0001.jpg
/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432546","1328432551","1328432552","1328432549"],"photo_ids_order":["1328432546","1328432549","1328432551","1328432552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b07136b4977c09265f4d57d88b20846a.jpg","text":"TemporaryFile(/tmp/multipartBody1304946789761755860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680471998,"filename":"image_12012025_12_12_02_786384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2118e9c76526ab4ebdff864a4685006.jpg","text":"TemporaryFile(/tmp/multipartBody3074187100161464441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680471998,"filename":"image_12012025_12_13_02_976345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b734fae4df96501021ad4d4dd16f765f.jpg","text":"TemporaryFile(/tmp/multipartBody5491431064693821637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680471998,"filename":"image_12012025_12_13_02_976345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d409a3a7252b9f8414f42a6661e96a69.jpg","text":"TemporaryFile(/tmp/multipartBody319328568507230563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680471998,"filename":"image_12012025_12_13_02_976345_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432551","file1":"1328432549","file0":"1328432546","file3":"1328432552"},"map_files_photo_id_array":[{"photo_id":"1328432551","filename":"file2"},{"photo_id":"1328432549","filename":"file1"},{"photo_id":"1328432546","filename":"file0"},{"photo_id":"1328432552","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432546":["hashtag1","hashtag2"]},{"1328432551":["hashtag1","hashtag2"]},{"1328432552":["hashtag1","hashtag2"]},{"1328432549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432546, 1328432551, 1328432552, 1328432549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39671301841736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:14:02.462722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:14:22.026885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0003.jpg', '/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0000.jpg', '/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0001.jpg', '/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_02_976345_0003.jpg
/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0000.jpg
/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0001.jpg
/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432572","1328432568","1328432571","1328432573"],"photo_ids_order":["1328432568","1328432571","1328432572","1328432573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b989f3d65afc6bb669e16f8e0302cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5036815540384622982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680532218,"filename":"image_12012025_12_14_02_147113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eadd8071c49645a9b266b3ee00ba443f.jpg","text":"TemporaryFile(/tmp/multipartBody1642331016912703245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680532218,"filename":"image_12012025_12_13_02_976345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adb7d2205be45b559ef838d82e4f535c.jpg","text":"TemporaryFile(/tmp/multipartBody4773381119080493982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680532218,"filename":"image_12012025_12_14_02_147113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39a466c9ba50a21a9c59b4bebe0b69dd.jpg","text":"TemporaryFile(/tmp/multipartBody954620069524502561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680532218,"filename":"image_12012025_12_14_02_147113_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432572","file1":"1328432571","file0":"1328432568","file3":"1328432573"},"map_files_photo_id_array":[{"photo_id":"1328432572","filename":"file2"},{"photo_id":"1328432571","filename":"file1"},{"photo_id":"1328432568","filename":"file0"},{"photo_id":"1328432573","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432572":["hashtag1","hashtag2"]},{"1328432568":["hashtag1","hashtag2"]},{"1328432571":["hashtag1","hashtag2"]},{"1328432573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432572, 1328432568, 1328432571, 1328432573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58142948150635 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-12 12:15:22.167070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0003.jpg', '/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0000.jpg', '/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0001.jpg', '/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_02_147113_0003.jpg
/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0000.jpg
/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0001.jpg
/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432605","1328432597","1328432594","1328432588"],"photo_ids_order":["1328432588","1328432594","1328432597","1328432605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10997bfd4d0a03b1bed1eb140cb2d596.jpg","text":"TemporaryFile(/tmp/multipartBody5835391745373574131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680592435,"filename":"image_12012025_12_15_02_345196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e21d9ff983578c6acbccb1d0a7e35d38.jpg","text":"TemporaryFile(/tmp/multipartBody7954080509122994119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680592435,"filename":"image_12012025_12_15_02_345196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fc652a1364caa00d665f15e16d5253b.jpg","text":"TemporaryFile(/tmp/multipartBody6062444823543902190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680592435,"filename":"image_12012025_12_15_02_345196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37c4fd62179d90050ec28a9e39156c09.jpg","text":"TemporaryFile(/tmp/multipartBody8624848889178364367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680592435,"filename":"image_12012025_12_14_02_147113_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432597","file1":"1328432594","file0":"1328432588","file3":"1328432605"},"map_files_photo_id_array":[{"photo_id":"1328432597","filename":"file2"},{"photo_id":"1328432594","filename":"file1"},{"photo_id":"1328432588","filename":"file0"},{"photo_id":"1328432605","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432605":["hashtag1","hashtag2"]},{"1328432597":["hashtag1","hashtag2"]},{"1328432594":["hashtag1","hashtag2"]},{"1328432588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432605, 1328432597, 1328432594, 1328432588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.45347809791565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:16:22.333747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0003.jpg', '/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0000.jpg', '/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0001.jpg', '/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0003.jpg
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0000.jpg
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0001.jpg
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_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.817130327224731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:16:42.315959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0003.jpg', '/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0000.jpg', '/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0001.jpg', '/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_02_345196_0003.jpg
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0000.jpg
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0001.jpg
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328432650","1328432647","1328432652","1328432648"],"photo_ids_order":["1328432647","1328432648","1328432650","1328432652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/160688217392ba895da4698ae56b8441.jpg","text":"TemporaryFile(/tmp/multipartBody8191534103969749547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680672564,"filename":"image_12012025_12_16_02_522394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ffcd9251d5ad98c556b6f2f5fd60d81c.jpg","text":"TemporaryFile(/tmp/multipartBody6931391130870790177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680672564,"filename":"image_12012025_12_15_02_345196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f48b5c2e4db8b38c43380a077974147.jpg","text":"TemporaryFile(/tmp/multipartBody2640316965174615111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680672564,"filename":"image_12012025_12_16_02_522394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2c5deb97d03054e6fba82f8169a15ae.jpg","text":"TemporaryFile(/tmp/multipartBody2414649910655660068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680672564,"filename":"image_12012025_12_16_02_522394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328432650","file1":"1328432648","file0":"1328432647","file3":"1328432652"},"map_files_photo_id_array":[{"photo_id":"1328432650","filename":"file2"},{"photo_id":"1328432648","filename":"file1"},{"photo_id":"1328432647","filename":"file0"},{"photo_id":"1328432652","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328432650":["hashtag1","hashtag2"]},{"1328432647":["hashtag1","hashtag2"]},{"1328432652":["hashtag1","hashtag2"]},{"1328432648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328432650, 1328432647, 1328432652, 1328432648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61492705345154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:17:32.490491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0003.jpg', '/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0000.jpg', '/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0001.jpg', '/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_02_522394_0003.jpg
/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0000.jpg
/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0001.jpg
/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433387","1328433381","1328433386","1328433388"],"photo_ids_order":["1328433381","1328433386","1328433387","1328433388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb7cb8473b72141782bd892136d6c2b9.jpg","text":"TemporaryFile(/tmp/multipartBody7234246412220021325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680722764,"filename":"image_12012025_12_17_02_736825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac72fc352ee07c545cafec53c1bf4aed.jpg","text":"TemporaryFile(/tmp/multipartBody1139315144851023180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680722764,"filename":"image_12012025_12_16_02_522394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ffb9fc5c8b6c8cf68c33490bb2fd887.jpg","text":"TemporaryFile(/tmp/multipartBody7336891292848419867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680722764,"filename":"image_12012025_12_17_02_736825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f893c805267366b42508bfb1356a3b73.jpg","text":"TemporaryFile(/tmp/multipartBody750174749401277511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680722764,"filename":"image_12012025_12_17_02_736825_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433387","file1":"1328433386","file0":"1328433381","file3":"1328433388"},"map_files_photo_id_array":[{"photo_id":"1328433387","filename":"file2"},{"photo_id":"1328433386","filename":"file1"},{"photo_id":"1328433381","filename":"file0"},{"photo_id":"1328433388","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433387":["hashtag1","hashtag2"]},{"1328433381":["hashtag1","hashtag2"]},{"1328433386":["hashtag1","hashtag2"]},{"1328433388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433387, 1328433381, 1328433386, 1328433388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.23360776901245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:18:22.718307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0003.jpg', '/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0000.jpg', '/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0001.jpg', '/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_02_736825_0003.jpg
/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0000.jpg
/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0001.jpg
/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433599","1328433563","1328433602","1328433592"],"photo_ids_order":["1328433563","1328433592","1328433599","1328433602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4882053fed3c84a53dfcaac970c86329.jpg","text":"TemporaryFile(/tmp/multipartBody5777668450663385764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680772965,"filename":"image_12012025_12_18_02_917039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ca2a0ae12e853963994362593f1dbb2.jpg","text":"TemporaryFile(/tmp/multipartBody775399801635842907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680772965,"filename":"image_12012025_12_17_02_736825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12e19b132d6986e34f06464ba9eed085.jpg","text":"TemporaryFile(/tmp/multipartBody8043468880030189965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680772965,"filename":"image_12012025_12_18_02_917039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11314228ee175c17989b272a54251cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2047491981902330395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680772965,"filename":"image_12012025_12_18_02_917039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433599","file1":"1328433592","file0":"1328433563","file3":"1328433602"},"map_files_photo_id_array":[{"photo_id":"1328433599","filename":"file2"},{"photo_id":"1328433592","filename":"file1"},{"photo_id":"1328433563","filename":"file0"},{"photo_id":"1328433602","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433599":["hashtag1","hashtag2"]},{"1328433563":["hashtag1","hashtag2"]},{"1328433602":["hashtag1","hashtag2"]},{"1328433592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433599, 1328433563, 1328433602, 1328433592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08608293533325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:19:02.412173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:19:21.796351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0003.jpg', '/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0000.jpg', '/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0001.jpg', '/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_02_917039_0003.jpg
/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0000.jpg
/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0001.jpg
/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433646","1328433654","1328433657","1328433680"],"photo_ids_order":["1328433646","1328433654","1328433657","1328433680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f70fcee3890de987fa4082bfb4259cc0.jpg","text":"TemporaryFile(/tmp/multipartBody177871397325113940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680832039,"filename":"image_12012025_12_18_02_917039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1d53da78938c0845f5600ab5e9e8f24.jpg","text":"TemporaryFile(/tmp/multipartBody6818922307548150932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680832039,"filename":"image_12012025_12_19_03_053529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82e71c6080c69a61ab68f7e029590f43.jpg","text":"TemporaryFile(/tmp/multipartBody1592961060244161995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680832039,"filename":"image_12012025_12_19_03_053529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/daa9528849afd7dbddb447c7a543f377.jpg","text":"TemporaryFile(/tmp/multipartBody2428730047459028974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680832039,"filename":"image_12012025_12_19_03_053529_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433657","file1":"1328433654","file0":"1328433646","file3":"1328433680"},"map_files_photo_id_array":[{"photo_id":"1328433657","filename":"file2"},{"photo_id":"1328433654","filename":"file1"},{"photo_id":"1328433646","filename":"file0"},{"photo_id":"1328433680","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433646":["hashtag1","hashtag2"]},{"1328433654":["hashtag1","hashtag2"]},{"1328433657":["hashtag1","hashtag2"]},{"1328433680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433646, 1328433654, 1328433657, 1328433680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.76121497154236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:20:02.410330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:20:21.966079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0003.jpg', '/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0000.jpg', '/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0001.jpg', '/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0003.jpg
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0000.jpg
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0001.jpg
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_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.834812879562378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:20:41.938406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0003.jpg', '/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0000.jpg', '/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0001.jpg', '/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/19/image_12012025_12_19_03_053529_0003.jpg
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0000.jpg
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0001.jpg
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_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":["1328433789","1328433786","1328433785","1328433787"],"photo_ids_order":["1328433785","1328433786","1328433787","1328433789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/325ca92a60abaafbb757ea68aadde89b.jpg","text":"TemporaryFile(/tmp/multipartBody589645669635831709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680912227,"filename":"image_12012025_12_20_02_147369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1494916d1eb57f7be4e19542f2755a8e.jpg","text":"TemporaryFile(/tmp/multipartBody2841147197209981725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680912227,"filename":"image_12012025_12_20_02_147369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e35f25c24caf191111b0b66eda076438.jpg","text":"TemporaryFile(/tmp/multipartBody2792722972068553297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680912227,"filename":"image_12012025_12_19_03_053529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50e7020eb84294681f83119755ad49c6.jpg","text":"TemporaryFile(/tmp/multipartBody9116481567407228819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680912227,"filename":"image_12012025_12_20_02_147369_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433787","file1":"1328433786","file0":"1328433785","file3":"1328433789"},"map_files_photo_id_array":[{"photo_id":"1328433787","filename":"file2"},{"photo_id":"1328433786","filename":"file1"},{"photo_id":"1328433785","filename":"file0"},{"photo_id":"1328433789","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433789":["hashtag1","hashtag2"]},{"1328433786":["hashtag1","hashtag2"]},{"1328433785":["hashtag1","hashtag2"]},{"1328433787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433789, 1328433786, 1328433785, 1328433787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37181067466736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:21:22.143657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0003.jpg', '/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0000.jpg', '/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0001.jpg', '/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/20/image_12012025_12_20_02_147369_0003.jpg
/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0000.jpg
/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0001.jpg
/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433802","1328433801","1328433797","1328433800"],"photo_ids_order":["1328433797","1328433800","1328433801","1328433802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f46af3ebd2f62e8b6de97bee1554159.jpg","text":"TemporaryFile(/tmp/multipartBody4189606714093151080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680952421,"filename":"image_12012025_12_21_02_312752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2c283a5be425d275dd70e24f2e15539.jpg","text":"TemporaryFile(/tmp/multipartBody4700621035004243574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680952421,"filename":"image_12012025_12_21_02_312752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3937b136050c2836741adf679fa5d890.jpg","text":"TemporaryFile(/tmp/multipartBody7007218619819427176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680952421,"filename":"image_12012025_12_20_02_147369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07aacfc43088a64cd97d49c4255a67dd.jpg","text":"TemporaryFile(/tmp/multipartBody6445296513137759576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736680952421,"filename":"image_12012025_12_21_02_312752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433801","file1":"1328433800","file0":"1328433797","file3":"1328433802"},"map_files_photo_id_array":[{"photo_id":"1328433801","filename":"file2"},{"photo_id":"1328433800","filename":"file1"},{"photo_id":"1328433797","filename":"file0"},{"photo_id":"1328433802","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433802":["hashtag1","hashtag2"]},{"1328433801":["hashtag1","hashtag2"]},{"1328433797":["hashtag1","hashtag2"]},{"1328433800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433802, 1328433801, 1328433797, 1328433800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.38997435569763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:22:22.338216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0003.jpg', '/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0000.jpg', '/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0001.jpg', '/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/21/image_12012025_12_21_02_312752_0003.jpg
/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0000.jpg
/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0001.jpg
/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433853","1328433849","1328433851","1328433845"],"photo_ids_order":["1328433845","1328433849","1328433851","1328433853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a27b8af20d9e31fa91a5d269648f97f6.jpg","text":"TemporaryFile(/tmp/multipartBody2314033107497052846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681012498,"filename":"image_12012025_12_22_02_589340_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8ac17448ebacb564f53befce8930e1e.jpg","text":"TemporaryFile(/tmp/multipartBody9149109197216472272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681012498,"filename":"image_12012025_12_22_02_589340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4eb122218f90c44ee00381975eacc4e.jpg","text":"TemporaryFile(/tmp/multipartBody3738412090076014139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681012498,"filename":"image_12012025_12_22_02_589340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/551b198cf6a4f57d7a715207052c8f99.jpg","text":"TemporaryFile(/tmp/multipartBody754418411320523411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681012498,"filename":"image_12012025_12_21_02_312752_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433851","file1":"1328433849","file0":"1328433845","file3":"1328433853"},"map_files_photo_id_array":[{"photo_id":"1328433851","filename":"file2"},{"photo_id":"1328433849","filename":"file1"},{"photo_id":"1328433845","filename":"file0"},{"photo_id":"1328433853","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433853":["hashtag1","hashtag2"]},{"1328433849":["hashtag1","hashtag2"]},{"1328433851":["hashtag1","hashtag2"]},{"1328433845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433853, 1328433849, 1328433851, 1328433845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 52.76137924194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:23:22.611063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0003.jpg', '/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0000.jpg', '/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0001.jpg', '/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0003.jpg
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0000.jpg
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0001.jpg
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_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.81174349784851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:23:42.562294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0003.jpg', '/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0000.jpg', '/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0001.jpg', '/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_02_589340_0003.jpg
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0000.jpg
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0001.jpg
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433873","1328433867","1328433869","1328433871"],"photo_ids_order":["1328433867","1328433869","1328433871","1328433873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/784de885d2ff1b8de88e39dfe2232256.jpg","text":"TemporaryFile(/tmp/multipartBody1546898768724497865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681092823,"filename":"image_12012025_12_23_02_674724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd014d93c10899789fd62125eb6c04a7.jpg","text":"TemporaryFile(/tmp/multipartBody2819779005370093135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681092823,"filename":"image_12012025_12_22_02_589340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c17d5f85de08bc05db40b98a54455d3.jpg","text":"TemporaryFile(/tmp/multipartBody406746529750297136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681092823,"filename":"image_12012025_12_23_02_674724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/354896f914ba44d6e65d4a1e41cc5e19.jpg","text":"TemporaryFile(/tmp/multipartBody7078206893744564418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681092823,"filename":"image_12012025_12_23_02_674724_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433871","file1":"1328433869","file0":"1328433867","file3":"1328433873"},"map_files_photo_id_array":[{"photo_id":"1328433871","filename":"file2"},{"photo_id":"1328433869","filename":"file1"},{"photo_id":"1328433867","filename":"file0"},{"photo_id":"1328433873","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433873":["hashtag1","hashtag2"]},{"1328433867":["hashtag1","hashtag2"]},{"1328433869":["hashtag1","hashtag2"]},{"1328433871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433873, 1328433867, 1328433869, 1328433871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.47791028022766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:24:32.683250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0003.jpg', '/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0000.jpg', '/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0001.jpg', '/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/23/image_12012025_12_23_02_674724_0003.jpg
/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0000.jpg
/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0001.jpg
/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328433910","1328433882","1328433885","1328433912"],"photo_ids_order":["1328433882","1328433885","1328433910","1328433912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41aff389b4c8e0b82f4918a10ba41109.jpg","text":"TemporaryFile(/tmp/multipartBody5785607276765349050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681142996,"filename":"image_12012025_12_24_02_889768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43f0bf94fa60f7027c30afd638832505.jpg","text":"TemporaryFile(/tmp/multipartBody7545768598602094362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681142996,"filename":"image_12012025_12_23_02_674724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92e1735fdb6cbf2d12b538b966051d71.jpg","text":"TemporaryFile(/tmp/multipartBody1481873503115520419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681142996,"filename":"image_12012025_12_24_02_889768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80e012e585581010e0fb003547a16506.jpg","text":"TemporaryFile(/tmp/multipartBody2528874780869289005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681142996,"filename":"image_12012025_12_24_02_889768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433910","file1":"1328433885","file0":"1328433882","file3":"1328433912"},"map_files_photo_id_array":[{"photo_id":"1328433910","filename":"file2"},{"photo_id":"1328433885","filename":"file1"},{"photo_id":"1328433882","filename":"file0"},{"photo_id":"1328433912","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433910":["hashtag1","hashtag2"]},{"1328433882":["hashtag1","hashtag2"]},{"1328433885":["hashtag1","hashtag2"]},{"1328433912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433910, 1328433882, 1328433885, 1328433912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.896159172058105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:25:21.972549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0003.jpg', '/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0000.jpg', '/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/24/image_12012025_12_24_02_889768_0003.jpg
/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0000.jpg
/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_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":["1328433922","1328433925","1328433927"],"photo_ids_order":["1328433922","1328433925","1328433927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ac8f345b5e6b2210c98f75663a69b94.jpg","text":"TemporaryFile(/tmp/multipartBody2799856508731754703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681189904,"filename":"image_12012025_12_24_02_889768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f072a8a2427ec0ddb0fd48d9f3747475.jpg","text":"TemporaryFile(/tmp/multipartBody549959446437536164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681189904,"filename":"image_12012025_12_25_03_031713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1c65e722269ef173660fae02df2bd92.jpg","text":"TemporaryFile(/tmp/multipartBody3272581404282966728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681189904,"filename":"image_12012025_12_25_03_031713_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433927","file1":"1328433925","file0":"1328433922"},"map_files_photo_id_array":[{"photo_id":"1328433927","filename":"file2"},{"photo_id":"1328433925","filename":"file1"},{"photo_id":"1328433922","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433922":["hashtag1","hashtag2"]},{"1328433925":["hashtag1","hashtag2"]},{"1328433927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433922, 1328433925, 1328433927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.066219806671143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:26:02.324715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:26:22.056331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0002.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0000.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0001.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0002.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0000.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0001.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_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.798502683639526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:26:42.034693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0002.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0000.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0001.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_03_031713_0002.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0000.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0001.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_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":["1328433987","1328433945","1328433941","1328433944"],"photo_ids_order":["1328433941","1328433944","1328433945","1328433987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b14bff7373be7ccb2772a0386e2aff75.jpg","text":"TemporaryFile(/tmp/multipartBody4016416424764984276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681272298,"filename":"image_12012025_12_26_02_218567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c9aeb0ecd8352bd8569dc1539a2b910.jpg","text":"TemporaryFile(/tmp/multipartBody3155905358401800219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681272298,"filename":"image_12012025_12_26_02_218567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b15030bfba11b8d67204415a0568d90.jpg","text":"TemporaryFile(/tmp/multipartBody7184173767148222042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681272298,"filename":"image_12012025_12_25_03_031713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ff367f2c4a2cc7ba5b33665cd020b84.jpg","text":"TemporaryFile(/tmp/multipartBody3577702930336836106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681272298,"filename":"image_12012025_12_26_02_218567_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328433945","file1":"1328433944","file0":"1328433941","file3":"1328433987"},"map_files_photo_id_array":[{"photo_id":"1328433945","filename":"file2"},{"photo_id":"1328433944","filename":"file1"},{"photo_id":"1328433941","filename":"file0"},{"photo_id":"1328433987","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328433987":["hashtag1","hashtag2"]},{"1328433945":["hashtag1","hashtag2"]},{"1328433941":["hashtag1","hashtag2"]},{"1328433944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328433987, 1328433945, 1328433941, 1328433944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72190451622009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:27:22.241593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0003.jpg', '/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0000.jpg', '/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0001.jpg', '/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_02_218567_0003.jpg
/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0000.jpg
/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0001.jpg
/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434044","1328434034","1328434043","1328434031"],"photo_ids_order":["1328434031","1328434034","1328434043","1328434044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a0aaae2c8f24f04e724d22579306cc5.jpg","text":"TemporaryFile(/tmp/multipartBody5693470124601723329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681312531,"filename":"image_12012025_12_27_02_379925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9426f253fd4020d674aa8d7e6927e3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2270119483060730459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681312531,"filename":"image_12012025_12_27_02_379925_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c99c40bc0dc42f378bf7a4f8c9155282.jpg","text":"TemporaryFile(/tmp/multipartBody8013450140317590734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681312531,"filename":"image_12012025_12_27_02_379925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60f56ed3271073f83f95645cd704ecb4.jpg","text":"TemporaryFile(/tmp/multipartBody5427052493367489162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681312531,"filename":"image_12012025_12_26_02_218567_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434043","file1":"1328434034","file0":"1328434031","file3":"1328434044"},"map_files_photo_id_array":[{"photo_id":"1328434043","filename":"file2"},{"photo_id":"1328434034","filename":"file1"},{"photo_id":"1328434031","filename":"file0"},{"photo_id":"1328434044","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434044":["hashtag1","hashtag2"]},{"1328434034":["hashtag1","hashtag2"]},{"1328434043":["hashtag1","hashtag2"]},{"1328434031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434044, 1328434034, 1328434043, 1328434031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.80450677871704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:28:02.698593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:28:22.405966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0003.jpg', '/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0000.jpg', '/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0001.jpg', '/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/27/image_12012025_12_27_02_379925_0003.jpg
/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0000.jpg
/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0001.jpg
/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434080","1328434083","1328434077","1328434085"],"photo_ids_order":["1328434077","1328434080","1328434083","1328434085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/012cffffc0e93ae6328d8af75bd454cc.jpg","text":"TemporaryFile(/tmp/multipartBody5700670378862853802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681372583,"filename":"image_12012025_12_28_02_590183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d06af067e9dbfb3b46a819e3e1bbb07c.jpg","text":"TemporaryFile(/tmp/multipartBody1636903412594441116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681372583,"filename":"image_12012025_12_28_02_590183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d04945ee9aa37a621808df53f6619096.jpg","text":"TemporaryFile(/tmp/multipartBody832001166942849438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681372583,"filename":"image_12012025_12_27_02_379925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b5ef85e11faac745e6d9b4add9de0f9.jpg","text":"TemporaryFile(/tmp/multipartBody3216606700227985556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681372583,"filename":"image_12012025_12_28_02_590183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434083","file1":"1328434080","file0":"1328434077","file3":"1328434085"},"map_files_photo_id_array":[{"photo_id":"1328434083","filename":"file2"},{"photo_id":"1328434080","filename":"file1"},{"photo_id":"1328434077","filename":"file0"},{"photo_id":"1328434085","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434080":["hashtag1","hashtag2"]},{"1328434083":["hashtag1","hashtag2"]},{"1328434077":["hashtag1","hashtag2"]},{"1328434085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434080, 1328434083, 1328434077, 1328434085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.157257318496704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:29:22.553248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0003.jpg', '/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0000.jpg', '/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0001.jpg', '/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/28/image_12012025_12_28_02_590183_0003.jpg
/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0000.jpg
/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0001.jpg
/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434108","1328434199","1328434103","1328434106"],"photo_ids_order":["1328434103","1328434106","1328434108","1328434199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/587a4e7d99e9d2369df60be800632896.jpg","text":"TemporaryFile(/tmp/multipartBody1978448447839855359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681432651,"filename":"image_12012025_12_29_02_718966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce1f42d43802923fa5176995b97a76d5.jpg","text":"TemporaryFile(/tmp/multipartBody1798649557865489084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681432651,"filename":"image_12012025_12_29_02_718966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6505bc9d0a90ae37fa45b4c0f9c7b9ce.jpg","text":"TemporaryFile(/tmp/multipartBody5068677629868070159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681432651,"filename":"image_12012025_12_28_02_590183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52aa190918b619c52192208eed2104ff.jpg","text":"TemporaryFile(/tmp/multipartBody4365881347387481754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681432651,"filename":"image_12012025_12_29_02_718966_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434108","file1":"1328434106","file0":"1328434103","file3":"1328434199"},"map_files_photo_id_array":[{"photo_id":"1328434108","filename":"file2"},{"photo_id":"1328434106","filename":"file1"},{"photo_id":"1328434103","filename":"file0"},{"photo_id":"1328434199","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434108":["hashtag1","hashtag2"]},{"1328434199":["hashtag1","hashtag2"]},{"1328434103":["hashtag1","hashtag2"]},{"1328434106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434108, 1328434199, 1328434103, 1328434106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09159588813782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:30:22.667785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0003.jpg', '/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0000.jpg', '/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0001.jpg', '/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/29/image_12012025_12_29_02_718966_0003.jpg
/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0000.jpg
/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0001.jpg
/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434321","1328434300","1328434294","1328434336"],"photo_ids_order":["1328434294","1328434300","1328434321","1328434336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42da4416c3b20a5042b8d8ef950ff62d.jpg","text":"TemporaryFile(/tmp/multipartBody60455780210785841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681493000,"filename":"image_12012025_12_30_02_861848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5fcce54307225a3d5223295e109bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody4853978961664186949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681493000,"filename":"image_12012025_12_30_02_861848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecfebd6761d56f720af4af5ccd7b641b.jpg","text":"TemporaryFile(/tmp/multipartBody8453148693578261111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681493000,"filename":"image_12012025_12_29_02_718966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/642353306645a5a71736f1b6aad70ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3088386203588766806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681493000,"filename":"image_12012025_12_30_02_861848_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434321","file1":"1328434300","file0":"1328434294","file3":"1328434336"},"map_files_photo_id_array":[{"photo_id":"1328434321","filename":"file2"},{"photo_id":"1328434300","filename":"file1"},{"photo_id":"1328434294","filename":"file0"},{"photo_id":"1328434336","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434321":["hashtag1","hashtag2"]},{"1328434300":["hashtag1","hashtag2"]},{"1328434294":["hashtag1","hashtag2"]},{"1328434336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434321, 1328434300, 1328434294, 1328434336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.190537452697754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:31:21.881514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0003.jpg', '/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0000.jpg', '/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0001.jpg', '/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/30/image_12012025_12_30_02_861848_0003.jpg
/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0000.jpg
/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0001.jpg
/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434494","1328434498","1328434492","1328434489"],"photo_ids_order":["1328434489","1328434492","1328434494","1328434498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/061d4251b708c743c72e25fa0fec3ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7006127033552571704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681552265,"filename":"image_12012025_12_31_03_073706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58d389183ec35be32a0db8b500cb7ae2.jpg","text":"TemporaryFile(/tmp/multipartBody5974975160921605018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681552265,"filename":"image_12012025_12_31_03_073706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f896540b4c30294a11f27014dca0b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1765442322191598889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681552265,"filename":"image_12012025_12_31_03_073706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10385bdb9f1bc1a4aae73dbc3440b94d.jpg","text":"TemporaryFile(/tmp/multipartBody5356403393301363365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681552265,"filename":"image_12012025_12_30_02_861848_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434494","file1":"1328434492","file0":"1328434489","file3":"1328434498"},"map_files_photo_id_array":[{"photo_id":"1328434494","filename":"file2"},{"photo_id":"1328434492","filename":"file1"},{"photo_id":"1328434489","filename":"file0"},{"photo_id":"1328434498","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434494":["hashtag1","hashtag2"]},{"1328434498":["hashtag1","hashtag2"]},{"1328434492":["hashtag1","hashtag2"]},{"1328434489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434494, 1328434498, 1328434492, 1328434489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.370014905929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:32:22.132093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0003.jpg', '/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0000.jpg', '/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0001.jpg', '/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0003.jpg
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0000.jpg
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0001.jpg
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_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.91957974433899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:32:42.077743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0003.jpg', '/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0000.jpg', '/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0001.jpg', '/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/31/image_12012025_12_31_03_073706_0003.jpg
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0000.jpg
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0001.jpg
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434531","1328434525","1328434527","1328434534"],"photo_ids_order":["1328434525","1328434527","1328434531","1328434534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06cdd68910d9cfa4a019d41f54f0d9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4764326433614402648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681632384,"filename":"image_12012025_12_32_02_247086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca93f487cdaecf1c4d3a8167666894c4.jpg","text":"TemporaryFile(/tmp/multipartBody6694033182417640318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681632384,"filename":"image_12012025_12_31_03_073706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cf0111ca54064765860d95c29109fed.jpg","text":"TemporaryFile(/tmp/multipartBody8278620106506232156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681632384,"filename":"image_12012025_12_32_02_247086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ade031a127db81453e4574673e7d2814.jpg","text":"TemporaryFile(/tmp/multipartBody7017543948783941630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681632384,"filename":"image_12012025_12_32_02_247086_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434531","file1":"1328434527","file0":"1328434525","file3":"1328434534"},"map_files_photo_id_array":[{"photo_id":"1328434531","filename":"file2"},{"photo_id":"1328434527","filename":"file1"},{"photo_id":"1328434525","filename":"file0"},{"photo_id":"1328434534","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434531":["hashtag1","hashtag2"]},{"1328434525":["hashtag1","hashtag2"]},{"1328434527":["hashtag1","hashtag2"]},{"1328434534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434531, 1328434525, 1328434527, 1328434534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.297311544418335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:33:32.253450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0003.jpg', '/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0000.jpg', '/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0001.jpg', '/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/32/image_12012025_12_32_02_247086_0003.jpg
/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0000.jpg
/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0001.jpg
/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328434563","1328434589","1328434559","1328434550"],"photo_ids_order":["1328434550","1328434559","1328434563","1328434589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8af9536c27ac437e430d9959a9054dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5016080002402932579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681682596,"filename":"image_12012025_12_33_02_427977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d23b4879b1ab01fe6375dd7d534b15cc.jpg","text":"TemporaryFile(/tmp/multipartBody6196622838175518735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681682596,"filename":"image_12012025_12_33_02_427977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e28ee66dcab65c5b2f2f427c14821f4.jpg","text":"TemporaryFile(/tmp/multipartBody5147704828005752747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681682596,"filename":"image_12012025_12_33_02_427977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6396d7b2647b027746dafc327135cbb9.jpg","text":"TemporaryFile(/tmp/multipartBody8261205918231509440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681682596,"filename":"image_12012025_12_32_02_247086_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328434563","file1":"1328434559","file0":"1328434550","file3":"1328434589"},"map_files_photo_id_array":[{"photo_id":"1328434563","filename":"file2"},{"photo_id":"1328434559","filename":"file1"},{"photo_id":"1328434550","filename":"file0"},{"photo_id":"1328434589","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328434563":["hashtag1","hashtag2"]},{"1328434589":["hashtag1","hashtag2"]},{"1328434559":["hashtag1","hashtag2"]},{"1328434550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328434563, 1328434589, 1328434559, 1328434550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69598174095154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:34:22.385401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0003.jpg', '/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0000.jpg', '/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0001.jpg', '/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/33/image_12012025_12_33_02_427977_0003.jpg
/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0000.jpg
/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0001.jpg
/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328435451","1328435134","1328434906","1328434756"],"photo_ids_order":["1328434756","1328434906","1328435134","1328435451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/300eb6fddd07a72c0ea58c99608f2ab6.jpg","text":"TemporaryFile(/tmp/multipartBody9157654948513839461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681732593,"filename":"image_12012025_12_34_02_580056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/970ac66ffbc2c676ae8dc89dc0f5cb90.jpg","text":"TemporaryFile(/tmp/multipartBody2676953881278937045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681732593,"filename":"image_12012025_12_34_02_580056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27d7f2446ba49c76f528368483f6b90c.jpg","text":"TemporaryFile(/tmp/multipartBody8092417542634427941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681732593,"filename":"image_12012025_12_34_02_580056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d41642fe3358348e2c2d1634fb887f2.jpg","text":"TemporaryFile(/tmp/multipartBody9109889662006775644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681732593,"filename":"image_12012025_12_33_02_427977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328435134","file1":"1328434906","file0":"1328434756","file3":"1328435451"},"map_files_photo_id_array":[{"photo_id":"1328435134","filename":"file2"},{"photo_id":"1328434906","filename":"file1"},{"photo_id":"1328434756","filename":"file0"},{"photo_id":"1328435451","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328435451":["hashtag1","hashtag2"]},{"1328435134":["hashtag1","hashtag2"]},{"1328434906":["hashtag1","hashtag2"]},{"1328434756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328435451, 1328435134, 1328434906, 1328434756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19889998435974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:35:22.584249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0003.jpg', '/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0000.jpg', '/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0001.jpg', '/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_02_580056_0003.jpg
/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0000.jpg
/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0001.jpg
/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328435999","1328435983","1328435779","1328435985"],"photo_ids_order":["1328435779","1328435983","1328435985","1328435999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12bc8c395babf52cd85a7b4acefd09bf.jpg","text":"TemporaryFile(/tmp/multipartBody496950706792176795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681792728,"filename":"image_12012025_12_35_02_749829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e88c02773835c24ba81785f4fd811671.jpg","text":"TemporaryFile(/tmp/multipartBody2779885742975200883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681792728,"filename":"image_12012025_12_35_02_749829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7faa390d3b1517964f267ecbb9f16e98.jpg","text":"TemporaryFile(/tmp/multipartBody1509747706179624185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681792728,"filename":"image_12012025_12_34_02_580056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cd1745ba991096ed59dc6c2e75dfc1a.jpg","text":"TemporaryFile(/tmp/multipartBody4329937909385206558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681792728,"filename":"image_12012025_12_35_02_749829_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328435985","file1":"1328435983","file0":"1328435779","file3":"1328435999"},"map_files_photo_id_array":[{"photo_id":"1328435985","filename":"file2"},{"photo_id":"1328435983","filename":"file1"},{"photo_id":"1328435779","filename":"file0"},{"photo_id":"1328435999","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328435999":["hashtag1","hashtag2"]},{"1328435983":["hashtag1","hashtag2"]},{"1328435779":["hashtag1","hashtag2"]},{"1328435985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328435999, 1328435983, 1328435779, 1328435985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92821669578552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:36:21.950444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0003.jpg', '/home/pi/Desktop/images/12012025/12/36/image_12012025_12_36_02_986511_0000.jpg', '/home/pi/Desktop/images/12012025/12/36/image_12012025_12_36_02_986511_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/35/image_12012025_12_35_02_749829_0003.jpg
/home/pi/Desktop/images/12012025/12/36/image_12012025_12_36_02_986511_0000.jpg
/home/pi/Desktop/images/12012025/12/36/image_12012025_12_36_02_986511_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":["1328436077","1328436073","1328436075"],"photo_ids_order":["1328436073","1328436075","1328436077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20e4faf832ed65a4cf25c8e3e659916c.jpg","text":"TemporaryFile(/tmp/multipartBody4615321477347471244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681849631,"filename":"image_12012025_12_36_02_986511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e5ab035a93bf6994bec1215aeb6a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7382837036456886824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681849631,"filename":"image_12012025_12_35_02_749829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b5a51d3e3bd74f8a22442b61f9122fa.jpg","text":"TemporaryFile(/tmp/multipartBody4032718271575823500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681849631,"filename":"image_12012025_12_36_02_986511_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436077","file1":"1328436075","file0":"1328436073"},"map_files_photo_id_array":[{"photo_id":"1328436077","filename":"file2"},{"photo_id":"1328436075","filename":"file1"},{"photo_id":"1328436073","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436077":["hashtag1","hashtag2"]},{"1328436073":["hashtag1","hashtag2"]},{"1328436075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436077, 1328436073, 1328436075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.608718395233154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:37:02.659274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:37:22.058190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/36/image_12012025_12_36_02_986511_0002.jpg', '/home/pi/Desktop/images/12012025/12/37/image_12012025_12_37_02_229900_0000.jpg', '/home/pi/Desktop/images/12012025/12/37/image_12012025_12_37_02_229900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/36/image_12012025_12_36_02_986511_0002.jpg
/home/pi/Desktop/images/12012025/12/37/image_12012025_12_37_02_229900_0000.jpg
/home/pi/Desktop/images/12012025/12/37/image_12012025_12_37_02_229900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436123","1328436125","1328436127"],"photo_ids_order":["1328436123","1328436125","1328436127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d96fb834f6f9201ffea68ff71196d4fa.jpg","text":"TemporaryFile(/tmp/multipartBody6201772014845779717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681909878,"filename":"image_12012025_12_36_02_986511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b13d9244e64645e4ea82dd962a3ac64.jpg","text":"TemporaryFile(/tmp/multipartBody3940186061241954752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681909878,"filename":"image_12012025_12_37_02_229900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8cb6d5b87f982880331b071c9509b983.jpg","text":"TemporaryFile(/tmp/multipartBody6652240381802271860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681909878,"filename":"image_12012025_12_37_02_229900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436127","file1":"1328436125","file0":"1328436123"},"map_files_photo_id_array":[{"photo_id":"1328436127","filename":"file2"},{"photo_id":"1328436125","filename":"file1"},{"photo_id":"1328436123","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436123":["hashtag1","hashtag2"]},{"1328436125":["hashtag1","hashtag2"]},{"1328436127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436123, 1328436125, 1328436127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.24204134941101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:38:02.691389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:38:22.181887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/37/image_12012025_12_37_02_229900_0003.jpg', '/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0000.jpg', '/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0001.jpg', '/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/37/image_12012025_12_37_02_229900_0003.jpg
/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0000.jpg
/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0001.jpg
/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436141","1328436140","1328436143","1328436138"],"photo_ids_order":["1328436138","1328436140","1328436141","1328436143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1d6aa899a14c3b0689adc97522b1e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2201806389188548098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681972340,"filename":"image_12012025_12_38_02_339061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1a3f8cc72fefaa14cec939abf6738c5.jpg","text":"TemporaryFile(/tmp/multipartBody5210009542213582390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681972340,"filename":"image_12012025_12_38_02_339061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7fbfbc6049b1bac92c3e1871f92e669.jpg","text":"TemporaryFile(/tmp/multipartBody2950646350020646779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681972340,"filename":"image_12012025_12_38_02_339061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4e615762fb4ff8caeed1651a0ec1773.jpg","text":"TemporaryFile(/tmp/multipartBody1084893345128132908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736681972340,"filename":"image_12012025_12_37_02_229900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436141","file1":"1328436140","file0":"1328436138","file3":"1328436143"},"map_files_photo_id_array":[{"photo_id":"1328436141","filename":"file2"},{"photo_id":"1328436140","filename":"file1"},{"photo_id":"1328436138","filename":"file0"},{"photo_id":"1328436143","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436141":["hashtag1","hashtag2"]},{"1328436140":["hashtag1","hashtag2"]},{"1328436143":["hashtag1","hashtag2"]},{"1328436138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436141, 1328436140, 1328436143, 1328436138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61307239532471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:39:22.393763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0003.jpg', '/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0000.jpg', '/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0001.jpg', '/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/38/image_12012025_12_38_02_339061_0003.jpg
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0000.jpg
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0001.jpg
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436234","1328436213","1328436201","1328436176"],"photo_ids_order":["1328436176","1328436201","1328436213","1328436234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56538ab292367621a9738e027cbbe712.jpg","text":"TemporaryFile(/tmp/multipartBody7582648883243013128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682032602,"filename":"image_12012025_12_39_02_609900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96bf57df0aeddad872cd0d5e3525024c.jpg","text":"TemporaryFile(/tmp/multipartBody5837005487505277122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682032602,"filename":"image_12012025_12_39_02_609900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29b6799b3acfacb47d8156f16c11ba68.jpg","text":"TemporaryFile(/tmp/multipartBody7145970013765735006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682032602,"filename":"image_12012025_12_39_02_609900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c37fca1351c0c4dad79b17082e189223.jpg","text":"TemporaryFile(/tmp/multipartBody6401536283333581281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682032602,"filename":"image_12012025_12_38_02_339061_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436213","file1":"1328436201","file0":"1328436176","file3":"1328436234"},"map_files_photo_id_array":[{"photo_id":"1328436213","filename":"file2"},{"photo_id":"1328436201","filename":"file1"},{"photo_id":"1328436176","filename":"file0"},{"photo_id":"1328436234","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436234":["hashtag1","hashtag2"]},{"1328436213":["hashtag1","hashtag2"]},{"1328436201":["hashtag1","hashtag2"]},{"1328436176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436234, 1328436213, 1328436201, 1328436176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9402494430542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:40:22.566152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0003.jpg', '/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0000.jpg', '/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0001.jpg', '/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0003.jpg
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0000.jpg
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0001.jpg
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_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.840528726577759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:40:42.498495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0003.jpg', '/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0000.jpg', '/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0001.jpg', '/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_02_609900_0003.jpg
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0000.jpg
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0001.jpg
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_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":["1328436306","1328436302","1328436301","1328436304"],"photo_ids_order":["1328436301","1328436302","1328436304","1328436306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7616f1b3eca823e11fdfb23c67826639.jpg","text":"TemporaryFile(/tmp/multipartBody5829885700440099921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682112744,"filename":"image_12012025_12_40_02_740740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee47507180c2202121f353f341f681da.jpg","text":"TemporaryFile(/tmp/multipartBody4751016439863178724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682112744,"filename":"image_12012025_12_40_02_740740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6804f25e97301d1a461bd5c15a5c5b74.jpg","text":"TemporaryFile(/tmp/multipartBody5956078262297482078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682112744,"filename":"image_12012025_12_39_02_609900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/deecd332e29492bc579fde7b32001cda.jpg","text":"TemporaryFile(/tmp/multipartBody2339476926409085404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682112744,"filename":"image_12012025_12_40_02_740740_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436304","file1":"1328436302","file0":"1328436301","file3":"1328436306"},"map_files_photo_id_array":[{"photo_id":"1328436304","filename":"file2"},{"photo_id":"1328436302","filename":"file1"},{"photo_id":"1328436301","filename":"file0"},{"photo_id":"1328436306","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436306":["hashtag1","hashtag2"]},{"1328436302":["hashtag1","hashtag2"]},{"1328436301":["hashtag1","hashtag2"]},{"1328436304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436306, 1328436302, 1328436301, 1328436304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.525710344314575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:41:22.698587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0003.jpg', '/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0000.jpg', '/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0001.jpg', '/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/40/image_12012025_12_40_02_740740_0003.jpg
/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0000.jpg
/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0001.jpg
/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436315","1328436317","1328436313","1328436316"],"photo_ids_order":["1328436313","1328436315","1328436316","1328436317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4d87ed9b4817b53e8c4484d8895f4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6085916454226795633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682152970,"filename":"image_12012025_12_41_02_874486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9d1ff904638c286a5bbc4df08d969e9.jpg","text":"TemporaryFile(/tmp/multipartBody3574534687379433348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682152970,"filename":"image_12012025_12_41_02_874486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7d58d54bd09228c80a5e96c77549f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3928583853569429153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682152970,"filename":"image_12012025_12_40_02_740740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/124457849f6b5d035bf0c0adf5ef3491.jpg","text":"TemporaryFile(/tmp/multipartBody4219517883975903261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682152970,"filename":"image_12012025_12_41_02_874486_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436316","file1":"1328436315","file0":"1328436313","file3":"1328436317"},"map_files_photo_id_array":[{"photo_id":"1328436316","filename":"file2"},{"photo_id":"1328436315","filename":"file1"},{"photo_id":"1328436313","filename":"file0"},{"photo_id":"1328436317","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436315":["hashtag1","hashtag2"]},{"1328436317":["hashtag1","hashtag2"]},{"1328436313":["hashtag1","hashtag2"]},{"1328436316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436315, 1328436317, 1328436313, 1328436316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77092671394348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:42:21.879452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0003.jpg', '/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0000.jpg', '/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0001.jpg', '/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/41/image_12012025_12_41_02_874486_0003.jpg
/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0000.jpg
/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0001.jpg
/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436333","1328436327","1328436358","1328436324"],"photo_ids_order":["1328436324","1328436327","1328436333","1328436358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22d36b06c2268084aa9ad938d5284b1c.jpg","text":"TemporaryFile(/tmp/multipartBody775692779662191717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682212160,"filename":"image_12012025_12_42_03_042847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02e68f8bbcb6c164743b89eb7fcd6e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2762840072424511692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682212160,"filename":"image_12012025_12_42_03_042847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2feeab51b7a138d8599947bb86cddf70.jpg","text":"TemporaryFile(/tmp/multipartBody3313450178927682489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682212160,"filename":"image_12012025_12_42_03_042847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17013883a2b759fe974b0908d24ff56f.jpg","text":"TemporaryFile(/tmp/multipartBody8581508295350708477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682212160,"filename":"image_12012025_12_41_02_874486_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436333","file1":"1328436327","file0":"1328436324","file3":"1328436358"},"map_files_photo_id_array":[{"photo_id":"1328436333","filename":"file2"},{"photo_id":"1328436327","filename":"file1"},{"photo_id":"1328436324","filename":"file0"},{"photo_id":"1328436358","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436333":["hashtag1","hashtag2"]},{"1328436327":["hashtag1","hashtag2"]},{"1328436358":["hashtag1","hashtag2"]},{"1328436324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436333, 1328436327, 1328436358, 1328436324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.898234367370605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:43:22.039101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0003.jpg', '/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0001.jpg', '/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/42/image_12012025_12_42_03_042847_0003.jpg
/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0001.jpg
/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436371","1328436368","1328436366"],"photo_ids_order":["1328436366","1328436368","1328436371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78150b6bc1c12c7e90986333b3617ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7856300122057535088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682269832,"filename":"image_12012025_12_43_02_173484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5ce74adeb61234ff8f33688ef0a0284.jpg","text":"TemporaryFile(/tmp/multipartBody2762376186096975351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682269832,"filename":"image_12012025_12_43_02_173484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0af94cce82b3d5f5b9a81f30ba7fc84d.jpg","text":"TemporaryFile(/tmp/multipartBody6692448729285836398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682269832,"filename":"image_12012025_12_42_03_042847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436371","file1":"1328436368","file0":"1328436366"},"map_files_photo_id_array":[{"photo_id":"1328436371","filename":"file2"},{"photo_id":"1328436368","filename":"file1"},{"photo_id":"1328436366","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436371":["hashtag1","hashtag2"]},{"1328436368":["hashtag1","hashtag2"]},{"1328436366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436371, 1328436368, 1328436366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.52108120918274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:44:02.659325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:44:22.268583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0003.jpg', '/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0000.jpg', '/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0001.jpg', '/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0003.jpg
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0000.jpg
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0001.jpg
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_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.851331233978271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 12:44:42.243042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0003.jpg', '/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0000.jpg', '/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0001.jpg', '/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/43/image_12012025_12_43_02_173484_0003.jpg
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0000.jpg
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0001.jpg
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_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":["1328436405","1328436401","1328436407","1328436403"],"photo_ids_order":["1328436401","1328436403","1328436405","1328436407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91638e893d707c525537f40dc8007c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6771737516500140279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682352469,"filename":"image_12012025_12_44_02_410157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07b285432a7cb15dc87fa99d514d340c.jpg","text":"TemporaryFile(/tmp/multipartBody8902676578767997322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682352469,"filename":"image_12012025_12_43_02_173484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3403be233bb89c7b4e2e28dd384e1ea3.jpg","text":"TemporaryFile(/tmp/multipartBody949379203022009166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682352469,"filename":"image_12012025_12_44_02_410157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bd4bf008f25e9da0be7d5eb78675130.jpg","text":"TemporaryFile(/tmp/multipartBody3650166500232708460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682352469,"filename":"image_12012025_12_44_02_410157_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436405","file1":"1328436403","file0":"1328436401","file3":"1328436407"},"map_files_photo_id_array":[{"photo_id":"1328436405","filename":"file2"},{"photo_id":"1328436403","filename":"file1"},{"photo_id":"1328436401","filename":"file0"},{"photo_id":"1328436407","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436405":["hashtag1","hashtag2"]},{"1328436401":["hashtag1","hashtag2"]},{"1328436407":["hashtag1","hashtag2"]},{"1328436403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436405, 1328436401, 1328436407, 1328436403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59497117996216 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-12 12:45:32.376771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0003.jpg', '/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0000.jpg', '/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0001.jpg', '/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/44/image_12012025_12_44_02_410157_0003.jpg
/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0000.jpg
/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0001.jpg
/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436420","1328436446","1328436434","1328436448"],"photo_ids_order":["1328436420","1328436434","1328436446","1328436448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e29f05b78163d331511854dc2b45799.jpg","text":"TemporaryFile(/tmp/multipartBody2849015514690018705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682402504,"filename":"image_12012025_12_44_02_410157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10788449579d09f74a7dc9bced9ee885.jpg","text":"TemporaryFile(/tmp/multipartBody6769852173833754852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682402504,"filename":"image_12012025_12_45_02_639920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f36810ba2fcaf107453f6969c89d0bb.jpg","text":"TemporaryFile(/tmp/multipartBody2157822987312698669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682402504,"filename":"image_12012025_12_45_02_639920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/805dfa09065c221b2e9f238fbfdf4037.jpg","text":"TemporaryFile(/tmp/multipartBody6104730350624506398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682402504,"filename":"image_12012025_12_45_02_639920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436446","file1":"1328436434","file0":"1328436420","file3":"1328436448"},"map_files_photo_id_array":[{"photo_id":"1328436446","filename":"file2"},{"photo_id":"1328436434","filename":"file1"},{"photo_id":"1328436420","filename":"file0"},{"photo_id":"1328436448","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436420":["hashtag1","hashtag2"]},{"1328436446":["hashtag1","hashtag2"]},{"1328436434":["hashtag1","hashtag2"]},{"1328436448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436420, 1328436446, 1328436434, 1328436448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.30304265022278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:46:22.572680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0003.jpg', '/home/pi/Desktop/images/12012025/12/46/image_12012025_12_46_02_857825_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_02_639920_0003.jpg
/home/pi/Desktop/images/12012025/12/46/image_12012025_12_46_02_857825_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":["1328436458","1328436460"],"photo_ids_order":["1328436458","1328436460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e3c01d13674a76954ff99fe759a23ba.jpg","text":"TemporaryFile(/tmp/multipartBody7794454960738488169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682448029,"filename":"image_12012025_12_45_02_639920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4ae9d01b8da049bbd650dc232df98eb.jpg","text":"TemporaryFile(/tmp/multipartBody2123582553503461059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682448029,"filename":"image_12012025_12_46_02_857825_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328436460","file0":"1328436458"},"map_files_photo_id_array":[{"photo_id":"1328436460","filename":"file1"},{"photo_id":"1328436458","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436458":["hashtag1","hashtag2"]},{"1328436460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436458, 1328436460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.96231174468994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:46:52.586108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:47:02.282313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:47:21.941237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/46/image_12012025_12_46_02_857825_0002.jpg', '/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0000.jpg', '/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0001.jpg', '/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/46/image_12012025_12_46_02_857825_0002.jpg
/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0000.jpg
/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0001.jpg
/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436479","1328436481","1328436475","1328436477"],"photo_ids_order":["1328436475","1328436477","1328436479","1328436481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a5edcf1bf2b0726d42aac449b9ac9e40.jpg","text":"TemporaryFile(/tmp/multipartBody4523870472891397142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682512167,"filename":"image_12012025_12_47_03_027127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b00f2989ad03a207e17085bbb840f88.jpg","text":"TemporaryFile(/tmp/multipartBody2480006508438452394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682512167,"filename":"image_12012025_12_47_03_027127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9400f18e8f6fe00ffe632ff224120c3.jpg","text":"TemporaryFile(/tmp/multipartBody6541955635732112300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682512167,"filename":"image_12012025_12_46_02_857825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2cb2319875259fca43da109561117134.jpg","text":"TemporaryFile(/tmp/multipartBody1935462906645638564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682512167,"filename":"image_12012025_12_47_03_027127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436479","file1":"1328436477","file0":"1328436475","file3":"1328436481"},"map_files_photo_id_array":[{"photo_id":"1328436479","filename":"file2"},{"photo_id":"1328436477","filename":"file1"},{"photo_id":"1328436475","filename":"file0"},{"photo_id":"1328436481","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436479":["hashtag1","hashtag2"]},{"1328436481":["hashtag1","hashtag2"]},{"1328436475":["hashtag1","hashtag2"]},{"1328436477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436479, 1328436481, 1328436475, 1328436477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.020761489868164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:48:02.440312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:48:22.076095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0003.jpg', '/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0000.jpg', '/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0001.jpg', '/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/47/image_12012025_12_47_03_027127_0003.jpg
/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0000.jpg
/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0001.jpg
/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436504","1328436503","1328436535","1328436495"],"photo_ids_order":["1328436495","1328436503","1328436504","1328436535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c0fe0ecd588a33c304b07f10b9043a5.jpg","text":"TemporaryFile(/tmp/multipartBody4098452070893049930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682572313,"filename":"image_12012025_12_48_02_196644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/721bb0664b8bbe7ae0dba4cabff32288.jpg","text":"TemporaryFile(/tmp/multipartBody4693160262351088172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682572313,"filename":"image_12012025_12_48_02_196644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7adf7bba03c2b956364675f9ba8a314.jpg","text":"TemporaryFile(/tmp/multipartBody6184315649859750963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682572313,"filename":"image_12012025_12_48_02_196644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5250a314d8abd5adeddae1a6eba245db.jpg","text":"TemporaryFile(/tmp/multipartBody8253987319574166601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682572313,"filename":"image_12012025_12_47_03_027127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436504","file1":"1328436503","file0":"1328436495","file3":"1328436535"},"map_files_photo_id_array":[{"photo_id":"1328436504","filename":"file2"},{"photo_id":"1328436503","filename":"file1"},{"photo_id":"1328436495","filename":"file0"},{"photo_id":"1328436535","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436504":["hashtag1","hashtag2"]},{"1328436503":["hashtag1","hashtag2"]},{"1328436535":["hashtag1","hashtag2"]},{"1328436495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436504, 1328436503, 1328436535, 1328436495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.204383850097656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:49:02.756537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:49:22.263133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0003.jpg', '/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0000.jpg', '/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0001.jpg', '/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/48/image_12012025_12_48_02_196644_0003.jpg
/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0000.jpg
/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0001.jpg
/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436608","1328436604","1328436607","1328436609"],"photo_ids_order":["1328436604","1328436607","1328436608","1328436609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2bc5fe0e3e5afda7b81120246b7dffa9.jpg","text":"TemporaryFile(/tmp/multipartBody1656855245535516609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682632500,"filename":"image_12012025_12_49_02_409730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c44217fd77666be2e033c36f8be9e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2337112717752220913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682632500,"filename":"image_12012025_12_48_02_196644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4e7f3f875f564abb941ae959d6e4a69.jpg","text":"TemporaryFile(/tmp/multipartBody3855409290589539913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682632500,"filename":"image_12012025_12_49_02_409730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/428211f6c5e8698b161293179c76687a.jpg","text":"TemporaryFile(/tmp/multipartBody2463158382992661463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682632500,"filename":"image_12012025_12_49_02_409730_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436608","file1":"1328436607","file0":"1328436604","file3":"1328436609"},"map_files_photo_id_array":[{"photo_id":"1328436608","filename":"file2"},{"photo_id":"1328436607","filename":"file1"},{"photo_id":"1328436604","filename":"file0"},{"photo_id":"1328436609","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436608":["hashtag1","hashtag2"]},{"1328436604":["hashtag1","hashtag2"]},{"1328436607":["hashtag1","hashtag2"]},{"1328436609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436608, 1328436604, 1328436607, 1328436609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.90857124328613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:50:02.820141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:50:22.315919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0003.jpg', '/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0000.jpg', '/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0003.jpg
/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0000.jpg
/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_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.448258876800537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:50:32.353465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0003.jpg', '/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0000.jpg', '/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/49/image_12012025_12_49_02_409730_0003.jpg
/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0000.jpg
/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_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":["1328436623","1328436622","1328436621"],"photo_ids_order":["1328436621","1328436622","1328436623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23ea5bf22fb2c78a7a597d03707f8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3499644822380639848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682700177,"filename":"image_12012025_12_50_02_544941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7fd8c4a3c356669633e4460f561c206.jpg","text":"TemporaryFile(/tmp/multipartBody4333682915216210787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682700177,"filename":"image_12012025_12_50_02_544941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1dc551294a774167cd1a2a7d1ea0e97d.jpg","text":"TemporaryFile(/tmp/multipartBody8036751968235144151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682700177,"filename":"image_12012025_12_49_02_409730_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436623","file1":"1328436622","file0":"1328436621"},"map_files_photo_id_array":[{"photo_id":"1328436623","filename":"file2"},{"photo_id":"1328436622","filename":"file1"},{"photo_id":"1328436621","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436623":["hashtag1","hashtag2"]},{"1328436622":["hashtag1","hashtag2"]},{"1328436621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436623, 1328436622, 1328436621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.697784423828125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:51:22.656228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0003.jpg', '/home/pi/Desktop/images/12012025/12/51/image_12012025_12_51_02_636012_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_02_544941_0003.jpg
/home/pi/Desktop/images/12012025/12/51/image_12012025_12_51_02_636012_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":["1328436630","1328436633"],"photo_ids_order":["1328436630","1328436633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af2f73abb06759d292a9f277ea306893.jpg","text":"TemporaryFile(/tmp/multipartBody6446670023374125363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682748106,"filename":"image_12012025_12_50_02_544941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f6defa8ee611eb7bd2e56151e07f866.jpg","text":"TemporaryFile(/tmp/multipartBody1786360961654831178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682748106,"filename":"image_12012025_12_51_02_636012_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328436633","file0":"1328436630"},"map_files_photo_id_array":[{"photo_id":"1328436633","filename":"file1"},{"photo_id":"1328436630","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436630":["hashtag1","hashtag2"]},{"1328436633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436630, 1328436633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.958120822906494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:51:52.581033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:52:02.246224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:52:21.810811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/51/image_12012025_12_51_02_636012_0002.jpg', '/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0000.jpg', '/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0001.jpg', '/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/51/image_12012025_12_51_02_636012_0002.jpg
/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0000.jpg
/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0001.jpg
/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436686","1328436689","1328436691","1328436693"],"photo_ids_order":["1328436686","1328436689","1328436691","1328436693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57436b898dbc3240ab34ddb6471ee54b.jpg","text":"TemporaryFile(/tmp/multipartBody626600637435915495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682812034,"filename":"image_12012025_12_51_02_636012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0403fcbf6ee54909a83601fba6b8e9f6.jpg","text":"TemporaryFile(/tmp/multipartBody8312489633768013817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682812034,"filename":"image_12012025_12_52_02_982711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/daf969b5f0bbca65174ef85bb40a8e95.jpg","text":"TemporaryFile(/tmp/multipartBody8270536054203299455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682812034,"filename":"image_12012025_12_52_02_982711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb4f861c5604eeccb3d0dd3713bb0d50.jpg","text":"TemporaryFile(/tmp/multipartBody7773018992877971261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682812034,"filename":"image_12012025_12_52_02_982711_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436691","file1":"1328436689","file0":"1328436686","file3":"1328436693"},"map_files_photo_id_array":[{"photo_id":"1328436691","filename":"file2"},{"photo_id":"1328436689","filename":"file1"},{"photo_id":"1328436686","filename":"file0"},{"photo_id":"1328436693","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436686":["hashtag1","hashtag2"]},{"1328436689":["hashtag1","hashtag2"]},{"1328436691":["hashtag1","hashtag2"]},{"1328436693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436686, 1328436689, 1328436691, 1328436693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90811514854431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:53:22.074916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0003.jpg', '/home/pi/Desktop/images/12012025/12/53/image_12012025_12_53_02_148040_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/52/image_12012025_12_52_02_982711_0003.jpg
/home/pi/Desktop/images/12012025/12/53/image_12012025_12_53_02_148040_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":["1328436719","1328436721"],"photo_ids_order":["1328436719","1328436721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d48f9826f025dad51aa760e44a5023d5.jpg","text":"TemporaryFile(/tmp/multipartBody7978925221006430263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682867505,"filename":"image_12012025_12_52_02_982711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e478c8a6149f5fd5c3339a426cdac22.jpg","text":"TemporaryFile(/tmp/multipartBody3514103541901451573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682867505,"filename":"image_12012025_12_53_02_148040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328436721","file0":"1328436719"},"map_files_photo_id_array":[{"photo_id":"1328436721","filename":"file1"},{"photo_id":"1328436719","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436719":["hashtag1","hashtag2"]},{"1328436721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436719, 1328436721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.538238286972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:53:51.986296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:54:02.597978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:54:22.194413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/53/image_12012025_12_53_02_148040_0002.jpg', '/home/pi/Desktop/images/12012025/12/54/image_12012025_12_54_02_394219_0000.jpg', '/home/pi/Desktop/images/12012025/12/54/image_12012025_12_54_02_394219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/53/image_12012025_12_53_02_148040_0002.jpg
/home/pi/Desktop/images/12012025/12/54/image_12012025_12_54_02_394219_0000.jpg
/home/pi/Desktop/images/12012025/12/54/image_12012025_12_54_02_394219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436745","1328436730","1328436732"],"photo_ids_order":["1328436730","1328436732","1328436745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32d23d20ac394b13af2432925f40f075.jpg","text":"TemporaryFile(/tmp/multipartBody2115055422816252883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682930044,"filename":"image_12012025_12_54_02_394219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c1b59f3f9957bf9f03f5072a99f0722.jpg","text":"TemporaryFile(/tmp/multipartBody5689252687682293081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682930044,"filename":"image_12012025_12_53_02_148040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e81133873f670e0bccc157bcd81a68ed.jpg","text":"TemporaryFile(/tmp/multipartBody6348819206078725040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682930044,"filename":"image_12012025_12_54_02_394219_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436745","file1":"1328436732","file0":"1328436730"},"map_files_photo_id_array":[{"photo_id":"1328436745","filename":"file2"},{"photo_id":"1328436732","filename":"file1"},{"photo_id":"1328436730","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436745":["hashtag1","hashtag2"]},{"1328436730":["hashtag1","hashtag2"]},{"1328436732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436745, 1328436730, 1328436732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.861502170562744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:55:03.000562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:55:22.303213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/54/image_12012025_12_54_02_394219_0003.jpg', '/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0000.jpg', '/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/54/image_12012025_12_54_02_394219_0003.jpg
/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0000.jpg
/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328436884","1328436897","1328436828"],"photo_ids_order":["1328436828","1328436884","1328436897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eae68446b6bfa35b4182f63c871e773d.jpg","text":"TemporaryFile(/tmp/multipartBody8802723409325934265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682990135,"filename":"image_12012025_12_55_02_543189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06e5949f423f0b1604e176f48a52cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody6720135533258328116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682990135,"filename":"image_12012025_12_55_02_543189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6530ddf744425ac6b1b9e364b801e503.jpg","text":"TemporaryFile(/tmp/multipartBody4388256148450478717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736682990135,"filename":"image_12012025_12_54_02_394219_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328436897","file1":"1328436884","file0":"1328436828"},"map_files_photo_id_array":[{"photo_id":"1328436897","filename":"file2"},{"photo_id":"1328436884","filename":"file1"},{"photo_id":"1328436828","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436884":["hashtag1","hashtag2"]},{"1328436897":["hashtag1","hashtag2"]},{"1328436828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436884, 1328436897, 1328436828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.14336943626404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:56:02.906227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:56:22.492788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0003.jpg', '/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0003.jpg
/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.068996906280518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 12:56:32.499140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0003.jpg', '/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/55/image_12012025_12_55_02_543189_0003.jpg
/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_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":["1328436909","1328436910"],"photo_ids_order":["1328436909","1328436910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6efa2c113a4f70ac15659bc5ff6070ba.jpg","text":"TemporaryFile(/tmp/multipartBody9147413541801661505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683057933,"filename":"image_12012025_12_55_02_543189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2ddce6c544ea14119e606b42ffd75e0.jpg","text":"TemporaryFile(/tmp/multipartBody991460273873597221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683057933,"filename":"image_12012025_12_56_02_676918_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328436910","file0":"1328436909"},"map_files_photo_id_array":[{"photo_id":"1328436910","filename":"file1"},{"photo_id":"1328436909","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328436909":["hashtag1","hashtag2"]},{"1328436910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328436909, 1328436910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.04483652114868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 12:57:03.320214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:57:22.805372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0003.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0000.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0001.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0003.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0000.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0001.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_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-12 12:59:02.640128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0003.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0000.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0001.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0003.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0000.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0001.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.904247999191284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 12:59:22.059630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0003.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0000.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0001.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0002.jpg', '/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0003.jpg', '/home/pi/Desktop/images/12012025/12/58/image_12012025_12_58_03_144681_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_02_676918_0003.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0000.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0001.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0002.jpg
/home/pi/Desktop/images/12012025/12/57/image_12012025_12_57_02_831953_0003.jpg
/home/pi/Desktop/images/12012025/12/58/image_12012025_12_58_03_144681_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":["1328437832","1328437631","1328437805","1328437755","1328437836","1328437839"],"photo_ids_order":["1328437631","1328437755","1328437805","1328437832","1328437836","1328437839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5718f2bfbc22dcffb71131e56a20509f.jpg","text":"TemporaryFile(/tmp/multipartBody792201174032432695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683237086,"filename":"image_12012025_12_57_02_831953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b071ff5962319d15daec76e1c1f4651b.jpg","text":"TemporaryFile(/tmp/multipartBody5448496200620312008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683237086,"filename":"image_12012025_12_56_02_676918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d80b8ad229ae764565289b820fe9ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2552583360361388213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683237086,"filename":"image_12012025_12_57_02_831953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8ff4a2793f9b6e67afd1cbf7e1ead2c.jpg","text":"TemporaryFile(/tmp/multipartBody6924694426852158002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683237086,"filename":"image_12012025_12_57_02_831953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5c917a89c827cdc3d77f2b606678aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5499305156648603251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683237086,"filename":"image_12012025_12_57_02_831953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc9b7b60e1073c2975cbd1098eaddaf3.jpg","text":"TemporaryFile(/tmp/multipartBody7174747063792849284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683237086,"filename":"image_12012025_12_58_03_144681_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328437805","file1":"1328437755","file0":"1328437631","file4":"1328437836","file5":"1328437839","file3":"1328437832"},"map_files_photo_id_array":[{"photo_id":"1328437839","filename":"file5"},{"photo_id":"1328437805","filename":"file2"},{"photo_id":"1328437836","filename":"file4"},{"photo_id":"1328437755","filename":"file1"},{"photo_id":"1328437631","filename":"file0"},{"photo_id":"1328437832","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328437832":["hashtag1","hashtag2"]},{"1328437631":["hashtag1","hashtag2"]},{"1328437805":["hashtag1","hashtag2"]},{"1328437755":["hashtag1","hashtag2"]},{"1328437836":["hashtag1","hashtag2"]},{"1328437839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328437832, 1328437631, 1328437805, 1328437755, 1328437836, 1328437839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.51434898376465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:00:22.281985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/58/image_12012025_12_58_03_144681_0001.jpg', '/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0000.jpg', '/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0001.jpg', '/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0002.jpg', '/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0003.jpg', '/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/12/58/image_12012025_12_58_03_144681_0001.jpg
/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0000.jpg
/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0001.jpg
/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0002.jpg
/home/pi/Desktop/images/12012025/12/59/image_12012025_12_59_02_196086_0003.jpg
/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_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":["1328437952","1328437954","1328437965","1328437968","1328437962","1328437958"],"photo_ids_order":["1328437952","1328437954","1328437958","1328437962","1328437965","1328437968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3684ca2c426d50d3267875d065f71fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1525077239542017317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683297298,"filename":"image_12012025_12_58_03_144681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/931d7f01a618df211ef7e7f52d442216.jpg","text":"TemporaryFile(/tmp/multipartBody3563659370950871634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683297298,"filename":"image_12012025_12_59_02_196086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ac2c03755288e07f6c132b5ba29590b.jpg","text":"TemporaryFile(/tmp/multipartBody7936056602728665246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683297298,"filename":"image_12012025_12_59_02_196086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb41b129b695e1bca9f9048d57172c81.jpg","text":"TemporaryFile(/tmp/multipartBody1399988556103053368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683297298,"filename":"image_12012025_13_00_02_447957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af1496368caddde9c34a9c7b797bb8d4.jpg","text":"TemporaryFile(/tmp/multipartBody5051825010411552734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683297298,"filename":"image_12012025_12_59_02_196086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a7e22353117a3f4a5361b9a1ac6555e.jpg","text":"TemporaryFile(/tmp/multipartBody5779980195487263728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683297298,"filename":"image_12012025_12_59_02_196086_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328437958","file1":"1328437954","file0":"1328437952","file4":"1328437965","file5":"1328437968","file3":"1328437962"},"map_files_photo_id_array":[{"photo_id":"1328437968","filename":"file5"},{"photo_id":"1328437958","filename":"file2"},{"photo_id":"1328437965","filename":"file4"},{"photo_id":"1328437954","filename":"file1"},{"photo_id":"1328437952","filename":"file0"},{"photo_id":"1328437962","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328437952":["hashtag1","hashtag2"]},{"1328437954":["hashtag1","hashtag2"]},{"1328437965":["hashtag1","hashtag2"]},{"1328437968":["hashtag1","hashtag2"]},{"1328437962":["hashtag1","hashtag2"]},{"1328437958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328437952, 1328437954, 1328437965, 1328437968, 1328437962, 1328437958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.53940939903259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:01:22.389133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0001.jpg', '/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0002.jpg', '/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0003.jpg', '/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0000.jpg', '/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0001.jpg', '/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0001.jpg
/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0002.jpg
/home/pi/Desktop/images/12012025/13/00/image_12012025_13_00_02_447957_0003.jpg
/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0000.jpg
/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0001.jpg
/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328437983","1328437986","1328437989","1328437994","1328437991","1328437985"],"photo_ids_order":["1328437983","1328437985","1328437986","1328437989","1328437991","1328437994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d22a5955cebac66a072949c0dc8b1f67.jpg","text":"TemporaryFile(/tmp/multipartBody5222131309531416453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683357376,"filename":"image_12012025_13_00_02_447957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64c22452650b545897fb2e57b1e9a405.jpg","text":"TemporaryFile(/tmp/multipartBody5419597924593606039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683357376,"filename":"image_12012025_13_00_02_447957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4419eae7498ad315d36d977ba8a087a7.jpg","text":"TemporaryFile(/tmp/multipartBody3261522966721465733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683357376,"filename":"image_12012025_13_01_02_598299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c41dddc822cbce7d939c94c841b922b9.jpg","text":"TemporaryFile(/tmp/multipartBody4061216831882766426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683357376,"filename":"image_12012025_13_01_02_598299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/376b00ba5db7deec8953a124fb4d3c69.jpg","text":"TemporaryFile(/tmp/multipartBody5862172495051539655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683357376,"filename":"image_12012025_13_01_02_598299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26d156e8a306006005876a3db5148b27.jpg","text":"TemporaryFile(/tmp/multipartBody3653236772738486757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683357376,"filename":"image_12012025_13_00_02_447957_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328437986","file1":"1328437985","file0":"1328437983","file4":"1328437991","file5":"1328437994","file3":"1328437989"},"map_files_photo_id_array":[{"photo_id":"1328437994","filename":"file5"},{"photo_id":"1328437986","filename":"file2"},{"photo_id":"1328437991","filename":"file4"},{"photo_id":"1328437985","filename":"file1"},{"photo_id":"1328437983","filename":"file0"},{"photo_id":"1328437989","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328437983":["hashtag1","hashtag2"]},{"1328437986":["hashtag1","hashtag2"]},{"1328437989":["hashtag1","hashtag2"]},{"1328437994":["hashtag1","hashtag2"]},{"1328437991":["hashtag1","hashtag2"]},{"1328437985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328437983, 1328437986, 1328437989, 1328437994, 1328437991, 1328437985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.60063886642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:02:22.607289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0003.jpg', '/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0000.jpg', '/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0001.jpg', '/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/01/image_12012025_13_01_02_598299_0003.jpg
/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0000.jpg
/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0001.jpg
/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328438009","1328438410","1328438148","1328438075"],"photo_ids_order":["1328438009","1328438075","1328438148","1328438410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39c06272352cfea3e0df7b1130dec06f.jpg","text":"TemporaryFile(/tmp/multipartBody1453259812343337169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683413015,"filename":"image_12012025_13_01_02_598299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20eace8d674a7ee8da1ec96b2ba58ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8099217433984974623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683413015,"filename":"image_12012025_13_02_02_758087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6b7c58709d2e46c872764ca2b7ca102.jpg","text":"TemporaryFile(/tmp/multipartBody551248102451369480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683413015,"filename":"image_12012025_13_02_02_758087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd63ced0d4262060eba36d19b8345101.jpg","text":"TemporaryFile(/tmp/multipartBody6633614161661673796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683413015,"filename":"image_12012025_13_02_02_758087_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328438148","file1":"1328438075","file0":"1328438009","file3":"1328438410"},"map_files_photo_id_array":[{"photo_id":"1328438148","filename":"file2"},{"photo_id":"1328438075","filename":"file1"},{"photo_id":"1328438009","filename":"file0"},{"photo_id":"1328438410","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328438009":["hashtag1","hashtag2"]},{"1328438410":["hashtag1","hashtag2"]},{"1328438148":["hashtag1","hashtag2"]},{"1328438075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328438009, 1328438410, 1328438148, 1328438075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.74568223953247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:03:22.761492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0003.jpg', '/home/pi/Desktop/images/12012025/13/03/image_12012025_13_03_02_950143_0000.jpg', '/home/pi/Desktop/images/12012025/13/03/image_12012025_13_03_02_950143_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/02/image_12012025_13_02_02_758087_0003.jpg
/home/pi/Desktop/images/12012025/13/03/image_12012025_13_03_02_950143_0000.jpg
/home/pi/Desktop/images/12012025/13/03/image_12012025_13_03_02_950143_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":["1328438698","1328438716","1328438718"],"photo_ids_order":["1328438698","1328438716","1328438718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12a91cd6cf6100b2d2b94ba165def4a2.jpg","text":"TemporaryFile(/tmp/multipartBody3757301383455258674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683470818,"filename":"image_12012025_13_02_02_758087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/120b73eb1fcfac3b67e2d977f512a84b.jpg","text":"TemporaryFile(/tmp/multipartBody6338338380561867625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683470818,"filename":"image_12012025_13_03_02_950143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e67019c56526e4cb064e702b83319c6.jpg","text":"TemporaryFile(/tmp/multipartBody4738066385006291802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683470818,"filename":"image_12012025_13_03_02_950143_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328438718","file1":"1328438716","file0":"1328438698"},"map_files_photo_id_array":[{"photo_id":"1328438718","filename":"file2"},{"photo_id":"1328438716","filename":"file1"},{"photo_id":"1328438698","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328438698":["hashtag1","hashtag2"]},{"1328438716":["hashtag1","hashtag2"]},{"1328438718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328438698, 1328438716, 1328438718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.502310276031494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:04:02.367284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:04:22.020741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/03/image_12012025_13_03_02_950143_0002.jpg', '/home/pi/Desktop/images/12012025/13/04/image_12012025_13_04_03_145991_0000.jpg', '/home/pi/Desktop/images/12012025/13/04/image_12012025_13_04_03_145991_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/03/image_12012025_13_03_02_950143_0002.jpg
/home/pi/Desktop/images/12012025/13/04/image_12012025_13_04_03_145991_0000.jpg
/home/pi/Desktop/images/12012025/13/04/image_12012025_13_04_03_145991_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":["1328438749","1328438746","1328438748"],"photo_ids_order":["1328438746","1328438748","1328438749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c5e145a738f5db13a643f0c991ea3e5.jpg","text":"TemporaryFile(/tmp/multipartBody2085055389304351550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683529997,"filename":"image_12012025_13_04_03_145991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4528208dac072e8394455a7307b73815.jpg","text":"TemporaryFile(/tmp/multipartBody9213399541819654982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683529997,"filename":"image_12012025_13_03_02_950143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bdc12f16f5b280bd3e551ee4d933c7da.jpg","text":"TemporaryFile(/tmp/multipartBody3128511516315541523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683529997,"filename":"image_12012025_13_04_03_145991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328438749","file1":"1328438748","file0":"1328438746"},"map_files_photo_id_array":[{"photo_id":"1328438749","filename":"file2"},{"photo_id":"1328438748","filename":"file1"},{"photo_id":"1328438746","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328438749":["hashtag1","hashtag2"]},{"1328438746":["hashtag1","hashtag2"]},{"1328438748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328438749, 1328438746, 1328438748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.704863786697388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:05:02.772351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:05:22.237203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/04/image_12012025_13_04_03_145991_0002.jpg', '/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0000.jpg', '/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0001.jpg', '/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/04/image_12012025_13_04_03_145991_0002.jpg
/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0000.jpg
/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0001.jpg
/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328439749","1328439743","1328439752","1328439746"],"photo_ids_order":["1328439743","1328439746","1328439749","1328439752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/520adde183f623f7964bfe8272969dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2245853623648224118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683592675,"filename":"image_12012025_13_05_02_349893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a7d27011e729e3a71ca522a9543fcf5.jpg","text":"TemporaryFile(/tmp/multipartBody4882568633832149216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683592675,"filename":"image_12012025_13_04_03_145991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e4c46763815dedd6aa725756e25fc63.jpg","text":"TemporaryFile(/tmp/multipartBody6023910180490116099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683592675,"filename":"image_12012025_13_05_02_349893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ee59362fa9ae3b71cb869927c152cb9.jpg","text":"TemporaryFile(/tmp/multipartBody948600818679540651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683592675,"filename":"image_12012025_13_05_02_349893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328439749","file1":"1328439746","file0":"1328439743","file3":"1328439752"},"map_files_photo_id_array":[{"photo_id":"1328439749","filename":"file2"},{"photo_id":"1328439746","filename":"file1"},{"photo_id":"1328439743","filename":"file0"},{"photo_id":"1328439752","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328439749":["hashtag1","hashtag2"]},{"1328439743":["hashtag1","hashtag2"]},{"1328439752":["hashtag1","hashtag2"]},{"1328439746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328439749, 1328439743, 1328439752, 1328439746)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.73611545562744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:06:22.405909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0003.jpg', '/home/pi/Desktop/images/12012025/13/06/image_12012025_13_06_02_588013_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0003.jpg
/home/pi/Desktop/images/12012025/13/06/image_12012025_13_06_02_588013_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.147029876708984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:06:32.384249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0003.jpg', '/home/pi/Desktop/images/12012025/13/06/image_12012025_13_06_02_588013_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_02_349893_0003.jpg
/home/pi/Desktop/images/12012025/13/06/image_12012025_13_06_02_588013_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":["1328439960","1328439959"],"photo_ids_order":["1328439959","1328439960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/15224eb2e1a8debbd1fa24740a09485e.jpg","text":"TemporaryFile(/tmp/multipartBody8069360606410801979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683657937,"filename":"image_12012025_13_06_02_588013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b634ce3a52144760e76f2100f5cec497.jpg","text":"TemporaryFile(/tmp/multipartBody4539882234281895430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683657937,"filename":"image_12012025_13_05_02_349893_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328439960","file0":"1328439959"},"map_files_photo_id_array":[{"photo_id":"1328439960","filename":"file1"},{"photo_id":"1328439959","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328439960":["hashtag1","hashtag2"]},{"1328439959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328439960, 1328439959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.261582374572754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:07:03.225166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:07:22.628929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/06/image_12012025_13_06_02_588013_0003.jpg', '/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0000.jpg', '/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0001.jpg', '/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/06/image_12012025_13_06_02_588013_0003.jpg
/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0000.jpg
/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0001.jpg
/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328440693","1328440708","1328440657","1328440629"],"photo_ids_order":["1328440629","1328440657","1328440693","1328440708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2582de83a9ddd2a38d2c92f35b5c4f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8848394459219846000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683713095,"filename":"image_12012025_13_07_02_712284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91f4053470ab76b8c1d26060202d987c.jpg","text":"TemporaryFile(/tmp/multipartBody7260088722687571367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683713095,"filename":"image_12012025_13_07_02_712284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf7a5c5c2a8e2d44277c22aa0d8becae.jpg","text":"TemporaryFile(/tmp/multipartBody3354931631810878374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683713095,"filename":"image_12012025_13_07_02_712284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bdb227757b90305990ed73c87793d59.jpg","text":"TemporaryFile(/tmp/multipartBody6048396941537283587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683713095,"filename":"image_12012025_13_06_02_588013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440693","file1":"1328440657","file0":"1328440629","file3":"1328440708"},"map_files_photo_id_array":[{"photo_id":"1328440693","filename":"file2"},{"photo_id":"1328440657","filename":"file1"},{"photo_id":"1328440629","filename":"file0"},{"photo_id":"1328440708","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440693":["hashtag1","hashtag2"]},{"1328440708":["hashtag1","hashtag2"]},{"1328440657":["hashtag1","hashtag2"]},{"1328440629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440693, 1328440708, 1328440657, 1328440629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61227869987488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:08:21.825660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0003.jpg', '/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_03_023452_0001.jpg', '/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_03_023452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/07/image_12012025_13_07_02_712284_0003.jpg
/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_03_023452_0001.jpg
/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_03_023452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328440719","1328440716","1328440718"],"photo_ids_order":["1328440716","1328440718","1328440719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7dd6f92bcdc91561ac78d6730fd54f23.jpg","text":"TemporaryFile(/tmp/multipartBody5499510896696255213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683769801,"filename":"image_12012025_13_08_03_023452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d844e64494babaa4f0c5b984a77656c1.jpg","text":"TemporaryFile(/tmp/multipartBody6210929908696500275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683769801,"filename":"image_12012025_13_07_02_712284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/669620079627ba76b32535964939e3df.jpg","text":"TemporaryFile(/tmp/multipartBody6485001929725367738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683769801,"filename":"image_12012025_13_08_03_023452_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440719","file1":"1328440718","file0":"1328440716"},"map_files_photo_id_array":[{"photo_id":"1328440719","filename":"file2"},{"photo_id":"1328440718","filename":"file1"},{"photo_id":"1328440716","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440719":["hashtag1","hashtag2"]},{"1328440716":["hashtag1","hashtag2"]},{"1328440718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440719, 1328440716, 1328440718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.564302444458008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:09:02.553050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:09:22.032833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_03_023452_0003.jpg', '/home/pi/Desktop/images/12012025/13/09/image_12012025_13_09_02_217180_0000.jpg', '/home/pi/Desktop/images/12012025/13/09/image_12012025_13_09_02_217180_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_03_023452_0003.jpg
/home/pi/Desktop/images/12012025/13/09/image_12012025_13_09_02_217180_0000.jpg
/home/pi/Desktop/images/12012025/13/09/image_12012025_13_09_02_217180_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":["1328440750","1328440737","1328440748"],"photo_ids_order":["1328440737","1328440748","1328440750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ac7031ab3cffcf0285b846de05c99c1.jpg","text":"TemporaryFile(/tmp/multipartBody7248631119547439425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683829995,"filename":"image_12012025_13_09_02_217180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ac78fef4e854258cc9b900d1015ccb88.jpg","text":"TemporaryFile(/tmp/multipartBody4685615294680015240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683829995,"filename":"image_12012025_13_08_03_023452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e722459a90049f48da672f6f6447f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6022809470644001050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683829995,"filename":"image_12012025_13_09_02_217180_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440750","file1":"1328440748","file0":"1328440737"},"map_files_photo_id_array":[{"photo_id":"1328440750","filename":"file2"},{"photo_id":"1328440748","filename":"file1"},{"photo_id":"1328440737","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440750":["hashtag1","hashtag2"]},{"1328440737":["hashtag1","hashtag2"]},{"1328440748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440750, 1328440737, 1328440748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.0679886341095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:10:02.584394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:10:22.151961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/09/image_12012025_13_09_02_217180_0003.jpg', '/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0000.jpg', '/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0001.jpg', '/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/09/image_12012025_13_09_02_217180_0003.jpg
/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0000.jpg
/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0001.jpg
/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328440805","1328440801","1328440800","1328440802"],"photo_ids_order":["1328440800","1328440801","1328440802","1328440805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e8e0c1fa9ef239c7a11550a07f50558.jpg","text":"TemporaryFile(/tmp/multipartBody8581311247973443166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683892580,"filename":"image_12012025_13_10_02_383952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/187405b2e248b481e93f55d0994689d9.jpg","text":"TemporaryFile(/tmp/multipartBody7082819491455383785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683892580,"filename":"image_12012025_13_10_02_383952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2247b6f0943a3e9eab516abe0dafaa82.jpg","text":"TemporaryFile(/tmp/multipartBody4577010326343799517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683892580,"filename":"image_12012025_13_09_02_217180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d9ebf956cc8d2e45c451f4a466c29bd.jpg","text":"TemporaryFile(/tmp/multipartBody7360591524477003921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683892580,"filename":"image_12012025_13_10_02_383952_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440802","file1":"1328440801","file0":"1328440800","file3":"1328440805"},"map_files_photo_id_array":[{"photo_id":"1328440802","filename":"file2"},{"photo_id":"1328440801","filename":"file1"},{"photo_id":"1328440800","filename":"file0"},{"photo_id":"1328440805","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440805":["hashtag1","hashtag2"]},{"1328440801":["hashtag1","hashtag2"]},{"1328440800":["hashtag1","hashtag2"]},{"1328440802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440805, 1328440801, 1328440800, 1328440802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.414560079574585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:11:22.447457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0003.jpg', '/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0000.jpg', '/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0001.jpg', '/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/10/image_12012025_13_10_02_383952_0003.jpg
/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0000.jpg
/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0001.jpg
/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328440900","1328440899","1328440896","1328440901"],"photo_ids_order":["1328440896","1328440899","1328440900","1328440901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2faedb4d0c55f4e316a9e64143c5df07.jpg","text":"TemporaryFile(/tmp/multipartBody5459332260614915048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683952872,"filename":"image_12012025_13_11_02_494560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b27e31c70418d9b12285fc5ae686389.jpg","text":"TemporaryFile(/tmp/multipartBody3021786874587179851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683952872,"filename":"image_12012025_13_11_02_494560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbbb6bc11abd5fb760893eac82017072.jpg","text":"TemporaryFile(/tmp/multipartBody3461295677695367814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683952872,"filename":"image_12012025_13_10_02_383952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da1cf0c9a22c1ec7c897a430337ec2cb.jpg","text":"TemporaryFile(/tmp/multipartBody4163293188359952753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736683952872,"filename":"image_12012025_13_11_02_494560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440900","file1":"1328440899","file0":"1328440896","file3":"1328440901"},"map_files_photo_id_array":[{"photo_id":"1328440900","filename":"file2"},{"photo_id":"1328440899","filename":"file1"},{"photo_id":"1328440896","filename":"file0"},{"photo_id":"1328440901","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440900":["hashtag1","hashtag2"]},{"1328440899":["hashtag1","hashtag2"]},{"1328440896":["hashtag1","hashtag2"]},{"1328440901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440900, 1328440899, 1328440896, 1328440901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.52876400947571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:12:22.577448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0003.jpg', '/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0000.jpg', '/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0003.jpg
/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0000.jpg
/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_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.609761476516724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:12:32.456224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0003.jpg', '/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0000.jpg', '/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/11/image_12012025_13_11_02_494560_0003.jpg
/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0000.jpg
/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_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":["1328440942","1328440941","1328440940"],"photo_ids_order":["1328440940","1328440941","1328440942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7f2a83415d33020823e2443e31be53e.jpg","text":"TemporaryFile(/tmp/multipartBody8405514264955663983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684020456,"filename":"image_12012025_13_12_02_631819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae61217b492c1e5324e66f4ab864552b.jpg","text":"TemporaryFile(/tmp/multipartBody2282933761364016607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684020456,"filename":"image_12012025_13_12_02_631819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25f60a3db9c30ffb4ae2ccb6d555af72.jpg","text":"TemporaryFile(/tmp/multipartBody8813714885709101381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684020456,"filename":"image_12012025_13_11_02_494560_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440942","file1":"1328440941","file0":"1328440940"},"map_files_photo_id_array":[{"photo_id":"1328440942","filename":"file2"},{"photo_id":"1328440941","filename":"file1"},{"photo_id":"1328440940","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440942":["hashtag1","hashtag2"]},{"1328440941":["hashtag1","hashtag2"]},{"1328440940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440942, 1328440941, 1328440940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.38790559768677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:13:22.691364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0002.jpg', '/home/pi/Desktop/images/12012025/13/13/image_12012025_13_13_02_876436_0001.jpg', '/home/pi/Desktop/images/12012025/13/13/image_12012025_13_13_02_876436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/12/image_12012025_13_12_02_631819_0002.jpg
/home/pi/Desktop/images/12012025/13/13/image_12012025_13_13_02_876436_0001.jpg
/home/pi/Desktop/images/12012025/13/13/image_12012025_13_13_02_876436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328440953","1328440950","1328440952"],"photo_ids_order":["1328440950","1328440952","1328440953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e487283c3cec2d06f4a4326efafa536.jpg","text":"TemporaryFile(/tmp/multipartBody6561078722140471548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684070698,"filename":"image_12012025_13_13_02_876436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3de68e4ea0ddaea0b4914dced21ab40f.jpg","text":"TemporaryFile(/tmp/multipartBody2563773654893494604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684070698,"filename":"image_12012025_13_12_02_631819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0280dbc8c70ff15d49c9c235203156a.jpg","text":"TemporaryFile(/tmp/multipartBody4240525732690151462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684070698,"filename":"image_12012025_13_13_02_876436_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440953","file1":"1328440952","file0":"1328440950"},"map_files_photo_id_array":[{"photo_id":"1328440953","filename":"file2"},{"photo_id":"1328440952","filename":"file1"},{"photo_id":"1328440950","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440953":["hashtag1","hashtag2"]},{"1328440950":["hashtag1","hashtag2"]},{"1328440952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440953, 1328440950, 1328440952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.297988653182983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:14:02.341693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:14:21.826941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/13/image_12012025_13_13_02_876436_0003.jpg', '/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_003277_0000.jpg', '/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_003277_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/13/image_12012025_13_13_02_876436_0003.jpg
/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_003277_0000.jpg
/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_003277_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":["1328440992","1328440988","1328440990"],"photo_ids_order":["1328440988","1328440990","1328440992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b22ffd1e6e612c0d9e763f6316e056b.jpg","text":"TemporaryFile(/tmp/multipartBody8265290871958504752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684129379,"filename":"image_12012025_13_14_03_003277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bccc28a47b504c803fc11fb189aa96f4.jpg","text":"TemporaryFile(/tmp/multipartBody5672949506020920334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684129379,"filename":"image_12012025_13_13_02_876436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a5eea4b8606f0f179729bc587ad7b01.jpg","text":"TemporaryFile(/tmp/multipartBody5912911082333420312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684129379,"filename":"image_12012025_13_14_03_003277_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328440992","file1":"1328440990","file0":"1328440988"},"map_files_photo_id_array":[{"photo_id":"1328440992","filename":"file2"},{"photo_id":"1328440990","filename":"file1"},{"photo_id":"1328440988","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328440992":["hashtag1","hashtag2"]},{"1328440988":["hashtag1","hashtag2"]},{"1328440990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328440992, 1328440988, 1328440990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.83275008201599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:15:02.520603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:15:22.104497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_003277_0003.jpg', '/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0000.jpg', '/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0001.jpg', '/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_003277_0003.jpg
/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0000.jpg
/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0001.jpg
/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328441113","1328441096","1328441092","1328441086"],"photo_ids_order":["1328441086","1328441092","1328441096","1328441113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f0908fb13b49a35279bd6a4fb1dfdd5.jpg","text":"TemporaryFile(/tmp/multipartBody584406301697307759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684192273,"filename":"image_12012025_13_15_02_226900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63e189a7923fc475eea531b64630b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody6067474982563753739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684192273,"filename":"image_12012025_13_15_02_226900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc902d47c12b04e726ecf4bcfd84e8dc.jpg","text":"TemporaryFile(/tmp/multipartBody3988091026051771010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684192273,"filename":"image_12012025_13_15_02_226900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4ccd0548f6f8669a5af387a28b1d359.jpg","text":"TemporaryFile(/tmp/multipartBody6204844631023625551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684192273,"filename":"image_12012025_13_14_03_003277_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328441096","file1":"1328441092","file0":"1328441086","file3":"1328441113"},"map_files_photo_id_array":[{"photo_id":"1328441096","filename":"file2"},{"photo_id":"1328441092","filename":"file1"},{"photo_id":"1328441086","filename":"file0"},{"photo_id":"1328441113","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328441113":["hashtag1","hashtag2"]},{"1328441096":["hashtag1","hashtag2"]},{"1328441092":["hashtag1","hashtag2"]},{"1328441086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328441113, 1328441096, 1328441092, 1328441086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54668426513672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:16:22.185717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0003.jpg', '/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0000.jpg', '/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0001.jpg', '/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/15/image_12012025_13_15_02_226900_0003.jpg
/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0000.jpg
/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0001.jpg
/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328441512","1328441130","1328441585","1328441129"],"photo_ids_order":["1328441129","1328441130","1328441512","1328441585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/817e6fbbc4a9073768ff54ff0e8b3f26.jpg","text":"TemporaryFile(/tmp/multipartBody8160354335387608398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684252478,"filename":"image_12012025_13_16_02_375226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d8d3537ed73bcfa8d21a453196c39e8.jpg","text":"TemporaryFile(/tmp/multipartBody6711265528744806162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684252478,"filename":"image_12012025_13_16_02_375226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f0f0e58313b85e44d75ec1845dca661.jpg","text":"TemporaryFile(/tmp/multipartBody1581081097283952249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684252478,"filename":"image_12012025_13_16_02_375226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57826b985486a0eded069b24be84df61.jpg","text":"TemporaryFile(/tmp/multipartBody1308322718746831101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684252478,"filename":"image_12012025_13_15_02_226900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328441512","file1":"1328441130","file0":"1328441129","file3":"1328441585"},"map_files_photo_id_array":[{"photo_id":"1328441512","filename":"file2"},{"photo_id":"1328441130","filename":"file1"},{"photo_id":"1328441129","filename":"file0"},{"photo_id":"1328441585","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328441512":["hashtag1","hashtag2"]},{"1328441130":["hashtag1","hashtag2"]},{"1328441585":["hashtag1","hashtag2"]},{"1328441129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328441512, 1328441130, 1328441585, 1328441129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.80606126785278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:17:22.291092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0003.jpg', '/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0000.jpg', '/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0001.jpg', '/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/16/image_12012025_13_16_02_375226_0003.jpg
/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0000.jpg
/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0001.jpg
/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328441614","1328441754","1328441855","1328441609"],"photo_ids_order":["1328441609","1328441614","1328441754","1328441855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f226e37063bb6d93702fccd3e241171.jpg","text":"TemporaryFile(/tmp/multipartBody3821014614321169323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684312396,"filename":"image_12012025_13_17_02_560432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2d20e504c620c4c7bc4e9811de97a77.jpg","text":"TemporaryFile(/tmp/multipartBody3189223282345940065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684312396,"filename":"image_12012025_13_17_02_560432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/461aff234476eb6b4e08c67e3cbe1be3.jpg","text":"TemporaryFile(/tmp/multipartBody2032433760372525726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684312396,"filename":"image_12012025_13_17_02_560432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c4b97f8715ecb9132e24803c22e2fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3524565847166683306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684312396,"filename":"image_12012025_13_16_02_375226_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328441754","file1":"1328441614","file0":"1328441609","file3":"1328441855"},"map_files_photo_id_array":[{"photo_id":"1328441754","filename":"file2"},{"photo_id":"1328441614","filename":"file1"},{"photo_id":"1328441609","filename":"file0"},{"photo_id":"1328441855","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328441614":["hashtag1","hashtag2"]},{"1328441754":["hashtag1","hashtag2"]},{"1328441855":["hashtag1","hashtag2"]},{"1328441609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328441614, 1328441754, 1328441855, 1328441609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.107608795166016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:18:22.673162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0003.jpg', '/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0000.jpg', '/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0001.jpg', '/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0003.jpg
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0000.jpg
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0001.jpg
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_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.699005126953125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:18:42.561565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0003.jpg', '/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0000.jpg', '/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0001.jpg', '/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/17/image_12012025_13_17_02_560432_0003.jpg
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0000.jpg
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0001.jpg
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328441956","1328441959","1328441961","1328441957"],"photo_ids_order":["1328441956","1328441957","1328441959","1328441961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/714cee9bd9d52755bc8ee251b6c11cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7373391999787899076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684392650,"filename":"image_12012025_13_17_02_560432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e7d8dcc5ab63dd8463dd13f4736bb6a.jpg","text":"TemporaryFile(/tmp/multipartBody893331180739684383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684392650,"filename":"image_12012025_13_18_02_733640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5be57c82e9221a7a5c52e1c73eea773.jpg","text":"TemporaryFile(/tmp/multipartBody6304347831619628450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684392650,"filename":"image_12012025_13_18_02_733640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4a1f53bdd8bcbf8894669e5afbec234.jpg","text":"TemporaryFile(/tmp/multipartBody1541020826737996600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684392650,"filename":"image_12012025_13_18_02_733640_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328441959","file1":"1328441957","file0":"1328441956","file3":"1328441961"},"map_files_photo_id_array":[{"photo_id":"1328441959","filename":"file2"},{"photo_id":"1328441957","filename":"file1"},{"photo_id":"1328441956","filename":"file0"},{"photo_id":"1328441961","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328441956":["hashtag1","hashtag2"]},{"1328441959":["hashtag1","hashtag2"]},{"1328441961":["hashtag1","hashtag2"]},{"1328441957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328441956, 1328441959, 1328441961, 1328441957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.27028775215149 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:19:32.732000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0003.jpg', '/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0000.jpg', '/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0001.jpg', '/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/18/image_12012025_13_18_02_733640_0003.jpg
/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0000.jpg
/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0001.jpg
/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328441970","1328441969","1328441971","1328441968"],"photo_ids_order":["1328441968","1328441969","1328441970","1328441971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f01577606d95a8e9091ce782ea26dee9.jpg","text":"TemporaryFile(/tmp/multipartBody3965801857314951276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684442995,"filename":"image_12012025_13_19_02_951014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70e0ba9ba01133594643b0746a72072e.jpg","text":"TemporaryFile(/tmp/multipartBody5226769715165634004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684442995,"filename":"image_12012025_13_19_02_951014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba1428d53e9de0fe401eca913a76b574.jpg","text":"TemporaryFile(/tmp/multipartBody9134086638992931762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684442995,"filename":"image_12012025_13_19_02_951014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56b0206e707bfd9f8e8689e121d9a042.jpg","text":"TemporaryFile(/tmp/multipartBody2662652364390022739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684442995,"filename":"image_12012025_13_18_02_733640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328441970","file1":"1328441969","file0":"1328441968","file3":"1328441971"},"map_files_photo_id_array":[{"photo_id":"1328441970","filename":"file2"},{"photo_id":"1328441969","filename":"file1"},{"photo_id":"1328441968","filename":"file0"},{"photo_id":"1328441971","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328441970":["hashtag1","hashtag2"]},{"1328441969":["hashtag1","hashtag2"]},{"1328441971":["hashtag1","hashtag2"]},{"1328441968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328441970, 1328441969, 1328441971, 1328441968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.15573835372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:20:21.875026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0003.jpg', '/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0000.jpg', '/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0001.jpg', '/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_02_951014_0003.jpg
/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0000.jpg
/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0001.jpg
/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328441985","1328441981","1328441983","1328441980"],"photo_ids_order":["1328441980","1328441981","1328441983","1328441985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37dc3ddbfe2defc083e8fcc8d9bb4205.jpg","text":"TemporaryFile(/tmp/multipartBody231212895155207738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684492218,"filename":"image_12012025_13_20_03_126928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af1d5ead069369975bd9625a8eb3a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody7634232992951253768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684492218,"filename":"image_12012025_13_20_03_126928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ec1057c1999df2b6d3c8256feb008a9.jpg","text":"TemporaryFile(/tmp/multipartBody6623354987311902938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684492218,"filename":"image_12012025_13_20_03_126928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4ccf40f79d48f4e501d92f4619284aa.jpg","text":"TemporaryFile(/tmp/multipartBody2018266503538043511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684492218,"filename":"image_12012025_13_19_02_951014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328441983","file1":"1328441981","file0":"1328441980","file3":"1328441985"},"map_files_photo_id_array":[{"photo_id":"1328441983","filename":"file2"},{"photo_id":"1328441981","filename":"file1"},{"photo_id":"1328441980","filename":"file0"},{"photo_id":"1328441985","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328441985":["hashtag1","hashtag2"]},{"1328441981":["hashtag1","hashtag2"]},{"1328441983":["hashtag1","hashtag2"]},{"1328441980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328441985, 1328441981, 1328441983, 1328441980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22248196601868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:21:22.063063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0003.jpg', '/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0000.jpg', '/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0001.jpg', '/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/20/image_12012025_13_20_03_126928_0003.jpg
/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0000.jpg
/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0001.jpg
/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442010","1328442012","1328442009","1328442000"],"photo_ids_order":["1328442000","1328442009","1328442010","1328442012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6372e5c304c507f6a95196b9a4df154.jpg","text":"TemporaryFile(/tmp/multipartBody8718158350414486216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684552306,"filename":"image_12012025_13_21_02_237970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4cf7b46aa6abe1006013119545214fe.jpg","text":"TemporaryFile(/tmp/multipartBody7062510421339962755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684552306,"filename":"image_12012025_13_21_02_237970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a4ae803951bfc1f543781b251120ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7951500659691770133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684552306,"filename":"image_12012025_13_21_02_237970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd9e02c03923a072da1536d3b681f01b.jpg","text":"TemporaryFile(/tmp/multipartBody6513180061713474815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684552306,"filename":"image_12012025_13_20_03_126928_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442010","file1":"1328442009","file0":"1328442000","file3":"1328442012"},"map_files_photo_id_array":[{"photo_id":"1328442010","filename":"file2"},{"photo_id":"1328442009","filename":"file1"},{"photo_id":"1328442000","filename":"file0"},{"photo_id":"1328442012","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442010":["hashtag1","hashtag2"]},{"1328442012":["hashtag1","hashtag2"]},{"1328442009":["hashtag1","hashtag2"]},{"1328442000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442010, 1328442012, 1328442009, 1328442000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36948323249817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:22:02.601143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:22:22.222411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0003.jpg', '/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0000.jpg', '/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0001.jpg', '/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/21/image_12012025_13_21_02_237970_0003.jpg
/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0000.jpg
/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0001.jpg
/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442027","1328442021","1328442024","1328442029"],"photo_ids_order":["1328442021","1328442024","1328442027","1328442029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a18c83ae57e0e894caee379677ff34f2.jpg","text":"TemporaryFile(/tmp/multipartBody6338296505171423088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684612575,"filename":"image_12012025_13_22_02_422499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7397de20647407e1b5aeaf857005969.jpg","text":"TemporaryFile(/tmp/multipartBody4361449525835057110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684612575,"filename":"image_12012025_13_21_02_237970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32e13ef18ec181fd1a86ce7db41796d2.jpg","text":"TemporaryFile(/tmp/multipartBody7832836855488621840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684612575,"filename":"image_12012025_13_22_02_422499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72924bbda2993179bf3f58d97958f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody3421503113532120786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684612575,"filename":"image_12012025_13_22_02_422499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442027","file1":"1328442024","file0":"1328442021","file3":"1328442029"},"map_files_photo_id_array":[{"photo_id":"1328442027","filename":"file2"},{"photo_id":"1328442024","filename":"file1"},{"photo_id":"1328442021","filename":"file0"},{"photo_id":"1328442029","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442027":["hashtag1","hashtag2"]},{"1328442021":["hashtag1","hashtag2"]},{"1328442024":["hashtag1","hashtag2"]},{"1328442029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442027, 1328442021, 1328442024, 1328442029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19455051422119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:23:22.453469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0003.jpg', '/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0000.jpg', '/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0001.jpg', '/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/22/image_12012025_13_22_02_422499_0003.jpg
/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0000.jpg
/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0001.jpg
/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442045","1328442048","1328442041","1328442047"],"photo_ids_order":["1328442041","1328442045","1328442047","1328442048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/019f90dac4f6349429305c0683993db0.jpg","text":"TemporaryFile(/tmp/multipartBody6226157713390392642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684672668,"filename":"image_12012025_13_23_02_659409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23c610a3ebbcab19b44b4709ec59232f.jpg","text":"TemporaryFile(/tmp/multipartBody2440182415118001673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684672668,"filename":"image_12012025_13_23_02_659409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18e540d1e1bcf80765d465df98143ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1614010404202974604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684672668,"filename":"image_12012025_13_22_02_422499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6df5c202107992821ab91553b4bd822.jpg","text":"TemporaryFile(/tmp/multipartBody3885716554357993925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684672668,"filename":"image_12012025_13_23_02_659409_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442047","file1":"1328442045","file0":"1328442041","file3":"1328442048"},"map_files_photo_id_array":[{"photo_id":"1328442047","filename":"file2"},{"photo_id":"1328442045","filename":"file1"},{"photo_id":"1328442041","filename":"file0"},{"photo_id":"1328442048","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442045":["hashtag1","hashtag2"]},{"1328442048":["hashtag1","hashtag2"]},{"1328442041":["hashtag1","hashtag2"]},{"1328442047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442045, 1328442048, 1328442041, 1328442047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.33018231391907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:24:22.586509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0003.jpg', '/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0000.jpg', '/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0001.jpg', '/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0003.jpg
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0000.jpg
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0001.jpg
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_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.971728801727295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:24:42.553997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0003.jpg', '/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0000.jpg', '/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0001.jpg', '/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_02_659409_0003.jpg
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0000.jpg
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0001.jpg
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442118","1328442111","1328442122","1328442119"],"photo_ids_order":["1328442111","1328442118","1328442119","1328442122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00e578b89787ecbe72df332f85cb086a.jpg","text":"TemporaryFile(/tmp/multipartBody8152839566403335067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684752907,"filename":"image_12012025_13_24_02_731017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d518a2e3157adeb162d68a0502c932d.jpg","text":"TemporaryFile(/tmp/multipartBody6421194504995973859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684752907,"filename":"image_12012025_13_23_02_659409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7cfb6d798d17f642eb6ca9aca6c5399.jpg","text":"TemporaryFile(/tmp/multipartBody3290684889298810549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684752907,"filename":"image_12012025_13_24_02_731017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcb1296ceec3d40c97105b358a12b44e.jpg","text":"TemporaryFile(/tmp/multipartBody7277178859786780531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684752907,"filename":"image_12012025_13_24_02_731017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442119","file1":"1328442118","file0":"1328442111","file3":"1328442122"},"map_files_photo_id_array":[{"photo_id":"1328442119","filename":"file2"},{"photo_id":"1328442118","filename":"file1"},{"photo_id":"1328442111","filename":"file0"},{"photo_id":"1328442122","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442118":["hashtag1","hashtag2"]},{"1328442111":["hashtag1","hashtag2"]},{"1328442122":["hashtag1","hashtag2"]},{"1328442119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442118, 1328442111, 1328442122, 1328442119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52388048171997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:25:31.757090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0003.jpg', '/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0000.jpg', '/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0001.jpg', '/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/24/image_12012025_13_24_02_731017_0003.jpg
/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0000.jpg
/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0001.jpg
/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442234","1328442236","1328442209","1328442238"],"photo_ids_order":["1328442209","1328442234","1328442236","1328442238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d52f9174f9dd93cc4d969a075a4991a2.jpg","text":"TemporaryFile(/tmp/multipartBody4936514554775895340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684801842,"filename":"image_12012025_13_25_02_912234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a48483e68f0ea46d9b28407c6065ae31.jpg","text":"TemporaryFile(/tmp/multipartBody5387471631681458276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684801842,"filename":"image_12012025_13_25_02_912234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17de158fe236e6ab750732b759c81b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6377542227752285322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684801842,"filename":"image_12012025_13_24_02_731017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/041d2770bb4ef9a5efe0e52a5a3c7d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1356712169864278590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684801842,"filename":"image_12012025_13_25_02_912234_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442236","file1":"1328442234","file0":"1328442209","file3":"1328442238"},"map_files_photo_id_array":[{"photo_id":"1328442236","filename":"file2"},{"photo_id":"1328442234","filename":"file1"},{"photo_id":"1328442209","filename":"file0"},{"photo_id":"1328442238","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442234":["hashtag1","hashtag2"]},{"1328442236":["hashtag1","hashtag2"]},{"1328442209":["hashtag1","hashtag2"]},{"1328442238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442234, 1328442236, 1328442209, 1328442238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34615683555603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:26:21.979268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0003.jpg', '/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0000.jpg', '/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0001.jpg', '/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/25/image_12012025_13_25_02_912234_0003.jpg
/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0000.jpg
/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0001.jpg
/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442249","1328442252","1328442250","1328442247"],"photo_ids_order":["1328442247","1328442249","1328442250","1328442252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f74335b756d334ac3d28c5d89bff567.jpg","text":"TemporaryFile(/tmp/multipartBody6639607080610593265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684852119,"filename":"image_12012025_13_26_02_153938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e115ab4c9ea81133b6a0114b75d21aee.jpg","text":"TemporaryFile(/tmp/multipartBody8002408216238259999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684852119,"filename":"image_12012025_13_26_02_153938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47a88811a84d0b5c72d91ed40d4a80d5.jpg","text":"TemporaryFile(/tmp/multipartBody4324505022181852706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684852119,"filename":"image_12012025_13_26_02_153938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc7fa1e53d7a0ab9452ac6273f035ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4574690618364882407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684852119,"filename":"image_12012025_13_25_02_912234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442250","file1":"1328442249","file0":"1328442247","file3":"1328442252"},"map_files_photo_id_array":[{"photo_id":"1328442250","filename":"file2"},{"photo_id":"1328442249","filename":"file1"},{"photo_id":"1328442247","filename":"file0"},{"photo_id":"1328442252","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442249":["hashtag1","hashtag2"]},{"1328442252":["hashtag1","hashtag2"]},{"1328442250":["hashtag1","hashtag2"]},{"1328442247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442249, 1328442252, 1328442250, 1328442247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48160195350647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:27:22.319872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0003.jpg', '/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0000.jpg', '/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0001.jpg', '/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/26/image_12012025_13_26_02_153938_0003.jpg
/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0000.jpg
/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0001.jpg
/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442284","1328442287","1328442266","1328442281"],"photo_ids_order":["1328442266","1328442281","1328442284","1328442287"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5dd9fbc3aba764c0f167b832c22017e.jpg","text":"TemporaryFile(/tmp/multipartBody1199527488379101907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684912467,"filename":"image_12012025_13_27_02_308645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73b9705e968bbd5ae29221287e1f36a5.jpg","text":"TemporaryFile(/tmp/multipartBody8974713115162336230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684912467,"filename":"image_12012025_13_27_02_308645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14fd82ce333f90ec58766979355cc560.jpg","text":"TemporaryFile(/tmp/multipartBody4356056337480000668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684912467,"filename":"image_12012025_13_26_02_153938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0f94f092ce2e11c43d23994dc1e8f31.jpg","text":"TemporaryFile(/tmp/multipartBody6419293624550966129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684912467,"filename":"image_12012025_13_27_02_308645_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442284","file1":"1328442281","file0":"1328442266","file3":"1328442287"},"map_files_photo_id_array":[{"photo_id":"1328442284","filename":"file2"},{"photo_id":"1328442281","filename":"file1"},{"photo_id":"1328442266","filename":"file0"},{"photo_id":"1328442287","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442284":["hashtag1","hashtag2"]},{"1328442287":["hashtag1","hashtag2"]},{"1328442266":["hashtag1","hashtag2"]},{"1328442281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442284, 1328442287, 1328442266, 1328442281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1681125164032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:28:02.841834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:28:22.324098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0003.jpg', '/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0000.jpg', '/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0001.jpg', '/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/27/image_12012025_13_27_02_308645_0003.jpg
/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0000.jpg
/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0001.jpg
/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442300","1328442302","1328442295","1328442298"],"photo_ids_order":["1328442295","1328442298","1328442300","1328442302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5687a33e11998a2ae96fffa3a71d28a0.jpg","text":"TemporaryFile(/tmp/multipartBody2758845545134109616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684972516,"filename":"image_12012025_13_28_02_580998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e693654271e4f2c7490c0df8eb96349.jpg","text":"TemporaryFile(/tmp/multipartBody8501941118458744883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684972516,"filename":"image_12012025_13_28_02_580998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e112563c7b9e68d5c2b7fd942c25065.jpg","text":"TemporaryFile(/tmp/multipartBody4550963116317919178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684972516,"filename":"image_12012025_13_27_02_308645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf96ecd71878553d1daae4416f3d4a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1732610270678193735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736684972516,"filename":"image_12012025_13_28_02_580998_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442300","file1":"1328442298","file0":"1328442295","file3":"1328442302"},"map_files_photo_id_array":[{"photo_id":"1328442300","filename":"file2"},{"photo_id":"1328442298","filename":"file1"},{"photo_id":"1328442295","filename":"file0"},{"photo_id":"1328442302","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442300":["hashtag1","hashtag2"]},{"1328442302":["hashtag1","hashtag2"]},{"1328442295":["hashtag1","hashtag2"]},{"1328442298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442300, 1328442302, 1328442295, 1328442298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04351353645325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:29:22.568540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0003.jpg', '/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0000.jpg', '/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0001.jpg', '/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_02_580998_0003.jpg
/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0000.jpg
/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0001.jpg
/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442351","1328442333","1328442320","1328442325"],"photo_ids_order":["1328442320","1328442325","1328442333","1328442351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f5f2bf0da4ca6fb5c4a8090aa412f96.jpg","text":"TemporaryFile(/tmp/multipartBody1735255121634280431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685032784,"filename":"image_12012025_13_29_02_668142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42aed8e6ac2589e3e03c11d6a91a4543.jpg","text":"TemporaryFile(/tmp/multipartBody7619364560510812404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685032784,"filename":"image_12012025_13_29_02_668142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e974967d4c58c816cee4f0b90c76193c.jpg","text":"TemporaryFile(/tmp/multipartBody2995962176002662154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685032784,"filename":"image_12012025_13_28_02_580998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73cd58cec409cf87d2fac73f8a5d9fd3.jpg","text":"TemporaryFile(/tmp/multipartBody5730130540880448985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685032784,"filename":"image_12012025_13_29_02_668142_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442333","file1":"1328442325","file0":"1328442320","file3":"1328442351"},"map_files_photo_id_array":[{"photo_id":"1328442333","filename":"file2"},{"photo_id":"1328442325","filename":"file1"},{"photo_id":"1328442320","filename":"file0"},{"photo_id":"1328442351","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442351":["hashtag1","hashtag2"]},{"1328442333":["hashtag1","hashtag2"]},{"1328442320":["hashtag1","hashtag2"]},{"1328442325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442351, 1328442333, 1328442320, 1328442325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4024817943573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:30:03.204420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:30:22.694692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0003.jpg', '/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0000.jpg', '/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0001.jpg', '/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0003.jpg
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0000.jpg
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0001.jpg
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_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.782568216323853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:30:42.736317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0003.jpg', '/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0000.jpg', '/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0001.jpg', '/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/29/image_12012025_13_29_02_668142_0003.jpg
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0000.jpg
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0001.jpg
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442489","1328442485","1328442487","1328442484"],"photo_ids_order":["1328442484","1328442485","1328442487","1328442489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/546f4fdb50a2880c24db42e6adce3425.jpg","text":"TemporaryFile(/tmp/multipartBody7447822012037039153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685112866,"filename":"image_12012025_13_30_02_847681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d51fefdc81f6198d625d93010c2266a5.jpg","text":"TemporaryFile(/tmp/multipartBody9152735184010456540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685112866,"filename":"image_12012025_13_30_02_847681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2cc22504971619ace31ff2ae55560d65.jpg","text":"TemporaryFile(/tmp/multipartBody4626539700447852550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685112866,"filename":"image_12012025_13_30_02_847681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c1fe564e335435856cd469b1c881001.jpg","text":"TemporaryFile(/tmp/multipartBody1965884545472839190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685112866,"filename":"image_12012025_13_29_02_668142_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442487","file1":"1328442485","file0":"1328442484","file3":"1328442489"},"map_files_photo_id_array":[{"photo_id":"1328442487","filename":"file2"},{"photo_id":"1328442485","filename":"file1"},{"photo_id":"1328442484","filename":"file0"},{"photo_id":"1328442489","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442489":["hashtag1","hashtag2"]},{"1328442485":["hashtag1","hashtag2"]},{"1328442487":["hashtag1","hashtag2"]},{"1328442484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442489, 1328442485, 1328442487, 1328442484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.983887672424316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:31:31.853394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0003.jpg', '/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0000.jpg', '/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0001.jpg', '/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/30/image_12012025_13_30_02_847681_0003.jpg
/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0000.jpg
/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0001.jpg
/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442498","1328442501","1328442500","1328442499"],"photo_ids_order":["1328442498","1328442499","1328442500","1328442501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/907242b26f38c7cc3eeb61dbe33e1172.jpg","text":"TemporaryFile(/tmp/multipartBody9039918829041991424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685162070,"filename":"image_12012025_13_30_02_847681_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0dd48cc54a421bd3b9667cd55667e080.jpg","text":"TemporaryFile(/tmp/multipartBody5258724633528308107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685162070,"filename":"image_12012025_13_31_03_068922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/326069ca068ce79951d02ddcc9a15f3a.jpg","text":"TemporaryFile(/tmp/multipartBody112063322825633084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685162070,"filename":"image_12012025_13_31_03_068922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe54610b361fef92956219eecb3fb933.jpg","text":"TemporaryFile(/tmp/multipartBody6578146406956359637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685162070,"filename":"image_12012025_13_31_03_068922_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442500","file1":"1328442499","file0":"1328442498","file3":"1328442501"},"map_files_photo_id_array":[{"photo_id":"1328442500","filename":"file2"},{"photo_id":"1328442499","filename":"file1"},{"photo_id":"1328442498","filename":"file0"},{"photo_id":"1328442501","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442498":["hashtag1","hashtag2"]},{"1328442501":["hashtag1","hashtag2"]},{"1328442500":["hashtag1","hashtag2"]},{"1328442499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442498, 1328442501, 1328442500, 1328442499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93757152557373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:32:22.048770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0003.jpg', '/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0000.jpg', '/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0001.jpg', '/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_03_068922_0003.jpg
/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0000.jpg
/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0001.jpg
/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442513","1328442515","1328442509","1328442517"],"photo_ids_order":["1328442509","1328442513","1328442515","1328442517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89448e283b8b0aa29fa17f46854d9cf1.jpg","text":"TemporaryFile(/tmp/multipartBody9094846557454974159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685212154,"filename":"image_12012025_13_32_02_223798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d39f982ba82d3489f706ecec8557183b.jpg","text":"TemporaryFile(/tmp/multipartBody7304233327051921496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685212154,"filename":"image_12012025_13_32_02_223798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cec6b0fcf7e16f0c4e311cd56e8cf7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8621986780948009944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685212154,"filename":"image_12012025_13_31_03_068922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e67176bd20add06ae291759d9d4fc5c.jpg","text":"TemporaryFile(/tmp/multipartBody6189698555942377760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685212154,"filename":"image_12012025_13_32_02_223798_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442515","file1":"1328442513","file0":"1328442509","file3":"1328442517"},"map_files_photo_id_array":[{"photo_id":"1328442515","filename":"file2"},{"photo_id":"1328442513","filename":"file1"},{"photo_id":"1328442509","filename":"file0"},{"photo_id":"1328442517","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442513":["hashtag1","hashtag2"]},{"1328442515":["hashtag1","hashtag2"]},{"1328442509":["hashtag1","hashtag2"]},{"1328442517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442513, 1328442515, 1328442509, 1328442517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24015998840332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:33:02.844520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:33:22.356244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0003.jpg', '/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0000.jpg', '/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0001.jpg', '/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/32/image_12012025_13_32_02_223798_0003.jpg
/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0000.jpg
/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0001.jpg
/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442549","1328442534","1328442535","1328442547"],"photo_ids_order":["1328442534","1328442535","1328442547","1328442549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92022a3a9970be140fe5604821da8c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7586135983202039752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685272584,"filename":"image_12012025_13_33_02_456813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/031a58622e0ec4d129cafa13ff4596ae.jpg","text":"TemporaryFile(/tmp/multipartBody9022207111287355839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685272584,"filename":"image_12012025_13_32_02_223798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8633e982a600878131e4cbb83a75ac11.jpg","text":"TemporaryFile(/tmp/multipartBody5283240085889787743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685272584,"filename":"image_12012025_13_33_02_456813_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ced477128c04dcf9dc33e37b7f1739d.jpg","text":"TemporaryFile(/tmp/multipartBody3971100995846394046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685272584,"filename":"image_12012025_13_33_02_456813_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442547","file1":"1328442535","file0":"1328442534","file3":"1328442549"},"map_files_photo_id_array":[{"photo_id":"1328442547","filename":"file2"},{"photo_id":"1328442535","filename":"file1"},{"photo_id":"1328442534","filename":"file0"},{"photo_id":"1328442549","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442549":["hashtag1","hashtag2"]},{"1328442534":["hashtag1","hashtag2"]},{"1328442535":["hashtag1","hashtag2"]},{"1328442547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442549, 1328442534, 1328442535, 1328442547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.97116994857788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:34:02.963535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:34:22.584456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0003.jpg', '/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0000.jpg', '/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0001.jpg', '/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_02_456813_0003.jpg
/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0000.jpg
/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0001.jpg
/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442564","1328442558","1328442560","1328442562"],"photo_ids_order":["1328442558","1328442560","1328442562","1328442564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de5e99c88951fc8729daafc892249fd7.jpg","text":"TemporaryFile(/tmp/multipartBody3992091970255191679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685332861,"filename":"image_12012025_13_34_02_741619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2196518cae109d965d1e4e014e457219.jpg","text":"TemporaryFile(/tmp/multipartBody749364369378087314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685332861,"filename":"image_12012025_13_33_02_456813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1343c3b5dbe154f6023f06b283be8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5334506873789869564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685332861,"filename":"image_12012025_13_34_02_741619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ee761102616956a70a2d6115735baf5.jpg","text":"TemporaryFile(/tmp/multipartBody8017147540016524836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685332861,"filename":"image_12012025_13_34_02_741619_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442562","file1":"1328442560","file0":"1328442558","file3":"1328442564"},"map_files_photo_id_array":[{"photo_id":"1328442562","filename":"file2"},{"photo_id":"1328442560","filename":"file1"},{"photo_id":"1328442558","filename":"file0"},{"photo_id":"1328442564","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442564":["hashtag1","hashtag2"]},{"1328442558":["hashtag1","hashtag2"]},{"1328442560":["hashtag1","hashtag2"]},{"1328442562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442564, 1328442558, 1328442560, 1328442562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.580626249313354 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-12 13:35:22.710621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0003.jpg', '/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0000.jpg', '/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0001.jpg', '/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/34/image_12012025_13_34_02_741619_0003.jpg
/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0000.jpg
/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0001.jpg
/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442582","1328442584","1328442580","1328442577"],"photo_ids_order":["1328442577","1328442580","1328442582","1328442584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75139c4e9c0b7f820be2be83c27a06c7.jpg","text":"TemporaryFile(/tmp/multipartBody2105829846996674693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685393008,"filename":"image_12012025_13_35_02_844109_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8f5e3228b721c18c462af1d9290fdcc.jpg","text":"TemporaryFile(/tmp/multipartBody5436889909393941558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685393008,"filename":"image_12012025_13_35_02_844109_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aad4721d45fdd3498f21b289e85309c3.jpg","text":"TemporaryFile(/tmp/multipartBody1640569989073186375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685393008,"filename":"image_12012025_13_35_02_844109_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c84f9dc74a2f3f62b626179765ce8238.jpg","text":"TemporaryFile(/tmp/multipartBody6045064306726362481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685393008,"filename":"image_12012025_13_34_02_741619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442582","file1":"1328442580","file0":"1328442577","file3":"1328442584"},"map_files_photo_id_array":[{"photo_id":"1328442582","filename":"file2"},{"photo_id":"1328442580","filename":"file1"},{"photo_id":"1328442577","filename":"file0"},{"photo_id":"1328442584","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442582":["hashtag1","hashtag2"]},{"1328442584":["hashtag1","hashtag2"]},{"1328442580":["hashtag1","hashtag2"]},{"1328442577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442582, 1328442584, 1328442580, 1328442577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.28435301780701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:36:21.857444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0003.jpg', '/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0000.jpg', '/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0001.jpg', '/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0003.jpg
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0000.jpg
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0001.jpg
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_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.966724634170532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:36:41.813112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0003.jpg', '/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0000.jpg', '/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0001.jpg', '/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/35/image_12012025_13_35_02_844109_0003.jpg
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0000.jpg
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0001.jpg
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_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":["1328442603","1328442620","1328442622","1328442619"],"photo_ids_order":["1328442603","1328442619","1328442620","1328442622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3fd8a5b167c879a9649eef8f9f5c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1763534083203054932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685472163,"filename":"image_12012025_13_35_02_844109_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8eabc30cd1b5e5d053d581da7f1450f.jpg","text":"TemporaryFile(/tmp/multipartBody3914021257336601235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685472163,"filename":"image_12012025_13_36_03_021152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10e6f764dec66dff6cd05274e42e579f.jpg","text":"TemporaryFile(/tmp/multipartBody2129312413519806394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685472163,"filename":"image_12012025_13_36_03_021152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f69d5faaf7701cbae81d1f91914c30f.jpg","text":"TemporaryFile(/tmp/multipartBody7136440867544906058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685472163,"filename":"image_12012025_13_36_03_021152_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442620","file1":"1328442619","file0":"1328442603","file3":"1328442622"},"map_files_photo_id_array":[{"photo_id":"1328442620","filename":"file2"},{"photo_id":"1328442619","filename":"file1"},{"photo_id":"1328442603","filename":"file0"},{"photo_id":"1328442622","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442603":["hashtag1","hashtag2"]},{"1328442620":["hashtag1","hashtag2"]},{"1328442622":["hashtag1","hashtag2"]},{"1328442619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442603, 1328442620, 1328442622, 1328442619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49777793884277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:37:22.036775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0003.jpg', '/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0000.jpg', '/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0001.jpg', '/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/36/image_12012025_13_36_03_021152_0003.jpg
/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0000.jpg
/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0001.jpg
/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442633","1328442632","1328442629","1328442631"],"photo_ids_order":["1328442629","1328442631","1328442632","1328442633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8cce9d86fd28592d0c06bfde729f6dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8645357740867386899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685512240,"filename":"image_12012025_13_37_02_230592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/848fb844f646217b415319f9ecbc3d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4709740967033555949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685512240,"filename":"image_12012025_13_37_02_230592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d80f96334160e570e740f6effd88669a.jpg","text":"TemporaryFile(/tmp/multipartBody2587381316506056822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685512240,"filename":"image_12012025_13_36_03_021152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/893e09be3d58b7a349c651b648656a64.jpg","text":"TemporaryFile(/tmp/multipartBody2648467653640326305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685512240,"filename":"image_12012025_13_37_02_230592_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442632","file1":"1328442631","file0":"1328442629","file3":"1328442633"},"map_files_photo_id_array":[{"photo_id":"1328442632","filename":"file2"},{"photo_id":"1328442631","filename":"file1"},{"photo_id":"1328442629","filename":"file0"},{"photo_id":"1328442633","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442633":["hashtag1","hashtag2"]},{"1328442632":["hashtag1","hashtag2"]},{"1328442629":["hashtag1","hashtag2"]},{"1328442631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442633, 1328442632, 1328442629, 1328442631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.27371048927307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:38:22.274172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0003.jpg', '/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0000.jpg', '/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0001.jpg', '/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/37/image_12012025_13_37_02_230592_0003.jpg
/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0000.jpg
/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0001.jpg
/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442663","1328442645","1328442642","1328442647"],"photo_ids_order":["1328442642","1328442645","1328442647","1328442663"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/070c27a80d4d7672499644de248c96af.jpg","text":"TemporaryFile(/tmp/multipartBody2130128085209817760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685572583,"filename":"image_12012025_13_38_02_421493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4615a57f0e5742324e1bf76cbf288141.jpg","text":"TemporaryFile(/tmp/multipartBody2223799525352676955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685572583,"filename":"image_12012025_13_38_02_421493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a92099cc4dbd9561d0f0cb3eac5f93b.jpg","text":"TemporaryFile(/tmp/multipartBody3223813433431016245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685572583,"filename":"image_12012025_13_37_02_230592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a9c558ba36539d1aad6c6e09b885137.jpg","text":"TemporaryFile(/tmp/multipartBody1491794977919393263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685572583,"filename":"image_12012025_13_38_02_421493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442647","file1":"1328442645","file0":"1328442642","file3":"1328442663"},"map_files_photo_id_array":[{"photo_id":"1328442647","filename":"file2"},{"photo_id":"1328442645","filename":"file1"},{"photo_id":"1328442642","filename":"file0"},{"photo_id":"1328442663","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442663":["hashtag1","hashtag2"]},{"1328442645":["hashtag1","hashtag2"]},{"1328442642":["hashtag1","hashtag2"]},{"1328442647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442663, 1328442645, 1328442642, 1328442647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.020066261291504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:39:22.388779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0003.jpg', '/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0000.jpg', '/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0001.jpg', '/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/38/image_12012025_13_38_02_421493_0003.jpg
/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0000.jpg
/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0001.jpg
/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442681","1328442672","1328442674","1328442698"],"photo_ids_order":["1328442672","1328442674","1328442681","1328442698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ac86729bea0bc53051f91d3278f6899.jpg","text":"TemporaryFile(/tmp/multipartBody7486416831073029546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685632540,"filename":"image_12012025_13_39_02_598461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c6aa9750d494616c4aa9d3f63c17018.jpg","text":"TemporaryFile(/tmp/multipartBody5186366623655479890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685632540,"filename":"image_12012025_13_38_02_421493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65ce26ba44ce3641aa6d3d4f3fe729af.jpg","text":"TemporaryFile(/tmp/multipartBody2246312978553192765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685632540,"filename":"image_12012025_13_39_02_598461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a40c33447ad61582fa656064bd37bc6.jpg","text":"TemporaryFile(/tmp/multipartBody1201946005066545835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685632540,"filename":"image_12012025_13_39_02_598461_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442681","file1":"1328442674","file0":"1328442672","file3":"1328442698"},"map_files_photo_id_array":[{"photo_id":"1328442681","filename":"file2"},{"photo_id":"1328442674","filename":"file1"},{"photo_id":"1328442672","filename":"file0"},{"photo_id":"1328442698","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442681":["hashtag1","hashtag2"]},{"1328442672":["hashtag1","hashtag2"]},{"1328442674":["hashtag1","hashtag2"]},{"1328442698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442681, 1328442672, 1328442674, 1328442698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.019476890563965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:40:22.622531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0003.jpg', '/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0000.jpg', '/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0001.jpg', '/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/39/image_12012025_13_39_02_598461_0003.jpg
/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0000.jpg
/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0001.jpg
/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442712","1328442706","1328442708","1328442710"],"photo_ids_order":["1328442706","1328442708","1328442710","1328442712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8101cc7394220606129ceac0f0a9032b.jpg","text":"TemporaryFile(/tmp/multipartBody7009340785065085649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685692841,"filename":"image_12012025_13_40_02_724553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74c90211f72f45f8978315fce711f411.jpg","text":"TemporaryFile(/tmp/multipartBody603462051794906914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685692841,"filename":"image_12012025_13_39_02_598461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b47059d49b8d65c6fb4f564b4b5fc9cf.jpg","text":"TemporaryFile(/tmp/multipartBody1748853412174347621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685692841,"filename":"image_12012025_13_40_02_724553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/275e806233fabcf1ed6020194411d784.jpg","text":"TemporaryFile(/tmp/multipartBody1175722790616149038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685692841,"filename":"image_12012025_13_40_02_724553_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442710","file1":"1328442708","file0":"1328442706","file3":"1328442712"},"map_files_photo_id_array":[{"photo_id":"1328442710","filename":"file2"},{"photo_id":"1328442708","filename":"file1"},{"photo_id":"1328442706","filename":"file0"},{"photo_id":"1328442712","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442712":["hashtag1","hashtag2"]},{"1328442706":["hashtag1","hashtag2"]},{"1328442708":["hashtag1","hashtag2"]},{"1328442710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442712, 1328442706, 1328442708, 1328442710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.994978189468384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:41:22.799431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0003.jpg', '/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0000.jpg', '/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0001.jpg', '/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_02_724553_0003.jpg
/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0000.jpg
/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0001.jpg
/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442720","1328442723","1328442725","1328442727"],"photo_ids_order":["1328442720","1328442723","1328442725","1328442727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a056d4218cb2c173d19c0cdf76e19955.jpg","text":"TemporaryFile(/tmp/multipartBody6885205181421862857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685752905,"filename":"image_12012025_13_40_02_724553_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2eec9dbbd9ba248416b37ddddc360413.jpg","text":"TemporaryFile(/tmp/multipartBody2713793879914852453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685752905,"filename":"image_12012025_13_41_03_067882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23ddcea8f197c1deb8367eac8c6e01fd.jpg","text":"TemporaryFile(/tmp/multipartBody8646044459976561268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685752905,"filename":"image_12012025_13_41_03_067882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b64748e4db3c0c62971801a84be74cd1.jpg","text":"TemporaryFile(/tmp/multipartBody5536020212006267912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685752905,"filename":"image_12012025_13_41_03_067882_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442725","file1":"1328442723","file0":"1328442720","file3":"1328442727"},"map_files_photo_id_array":[{"photo_id":"1328442725","filename":"file2"},{"photo_id":"1328442723","filename":"file1"},{"photo_id":"1328442720","filename":"file0"},{"photo_id":"1328442727","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442720":["hashtag1","hashtag2"]},{"1328442723":["hashtag1","hashtag2"]},{"1328442725":["hashtag1","hashtag2"]},{"1328442727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442720, 1328442723, 1328442725, 1328442727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77850842475891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:42:21.959039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0003.jpg', '/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0000.jpg', '/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0001.jpg', '/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0003.jpg
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0000.jpg
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0001.jpg
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_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.680185079574585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:42:42.011532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0003.jpg', '/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0000.jpg', '/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0001.jpg', '/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_03_067882_0003.jpg
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0000.jpg
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0001.jpg
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_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":["1328442765","1328442759","1328442761","1328442763"],"photo_ids_order":["1328442759","1328442761","1328442763","1328442765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5aadddd6eb9caf91e2535845d07efe11.jpg","text":"TemporaryFile(/tmp/multipartBody2486654678059271753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685832090,"filename":"image_12012025_13_42_03_158628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c95b7c960c6fb637c220a4648685e9b2.jpg","text":"TemporaryFile(/tmp/multipartBody2257101060793654048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685832090,"filename":"image_12012025_13_41_03_067882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60509fcf67cd0601466003a69bc4c2b2.jpg","text":"TemporaryFile(/tmp/multipartBody9021485718816334381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685832090,"filename":"image_12012025_13_42_03_158628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a0f5e5e80ebaf45722f146509ad2ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4473996796842825625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685832090,"filename":"image_12012025_13_42_03_158628_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442763","file1":"1328442761","file0":"1328442759","file3":"1328442765"},"map_files_photo_id_array":[{"photo_id":"1328442763","filename":"file2"},{"photo_id":"1328442761","filename":"file1"},{"photo_id":"1328442759","filename":"file0"},{"photo_id":"1328442765","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442765":["hashtag1","hashtag2"]},{"1328442759":["hashtag1","hashtag2"]},{"1328442761":["hashtag1","hashtag2"]},{"1328442763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442765, 1328442759, 1328442761, 1328442763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.001994132995605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:43:22.239977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0003.jpg', '/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0000.jpg', '/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0001.jpg', '/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/42/image_12012025_13_42_03_158628_0003.jpg
/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0000.jpg
/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0001.jpg
/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442789","1328442791","1328442793","1328442787"],"photo_ids_order":["1328442787","1328442789","1328442791","1328442793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c8d7a1aecdc25cf54b072cb52d7ed9d.jpg","text":"TemporaryFile(/tmp/multipartBody5086284535123290493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685872632,"filename":"image_12012025_13_43_02_396440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc17ce8fe905c32e24f30c07e064581b.jpg","text":"TemporaryFile(/tmp/multipartBody2235894571597680055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685872632,"filename":"image_12012025_13_43_02_396440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e76954f947346f52a82289ff9074f6ea.jpg","text":"TemporaryFile(/tmp/multipartBody6198210837928012669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685872632,"filename":"image_12012025_13_43_02_396440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48e39c9e89d5de98cc73b87786e05a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7735122709090005685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685872632,"filename":"image_12012025_13_42_03_158628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442791","file1":"1328442789","file0":"1328442787","file3":"1328442793"},"map_files_photo_id_array":[{"photo_id":"1328442791","filename":"file2"},{"photo_id":"1328442789","filename":"file1"},{"photo_id":"1328442787","filename":"file0"},{"photo_id":"1328442793","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442789":["hashtag1","hashtag2"]},{"1328442791":["hashtag1","hashtag2"]},{"1328442793":["hashtag1","hashtag2"]},{"1328442787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442789, 1328442791, 1328442793, 1328442787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70533323287964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:44:22.501313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0003.jpg', '/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0000.jpg', '/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0001.jpg', '/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_02_396440_0003.jpg
/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0000.jpg
/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0001.jpg
/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442819","1328442820","1328442814","1328442817"],"photo_ids_order":["1328442814","1328442817","1328442819","1328442820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f8f4b34297ecd01d7325a496ed1999b.jpg","text":"TemporaryFile(/tmp/multipartBody2599457079169599586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685932882,"filename":"image_12012025_13_44_02_520569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c83821bb66d5345dfb5a31c9cf57112d.jpg","text":"TemporaryFile(/tmp/multipartBody3313818965849887130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685932882,"filename":"image_12012025_13_44_02_520569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/99f58fbdae53f2547677ab9c29195771.jpg","text":"TemporaryFile(/tmp/multipartBody7642170007817903408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685932882,"filename":"image_12012025_13_43_02_396440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5af3698f5e304ff355b2b3e5c1ac7e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5445320006447708537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685932882,"filename":"image_12012025_13_44_02_520569_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442819","file1":"1328442817","file0":"1328442814","file3":"1328442820"},"map_files_photo_id_array":[{"photo_id":"1328442819","filename":"file2"},{"photo_id":"1328442817","filename":"file1"},{"photo_id":"1328442814","filename":"file0"},{"photo_id":"1328442820","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442819":["hashtag1","hashtag2"]},{"1328442820":["hashtag1","hashtag2"]},{"1328442814":["hashtag1","hashtag2"]},{"1328442817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442819, 1328442820, 1328442814, 1328442817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32856106758118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:45:03.243348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:45:22.583636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0003.jpg', '/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0000.jpg', '/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0001.jpg', '/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/44/image_12012025_13_44_02_520569_0003.jpg
/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0000.jpg
/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0001.jpg
/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442855","1328442852","1328442828","1328442854"],"photo_ids_order":["1328442828","1328442852","1328442854","1328442855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4cd216d564955a12c8339130335e190.jpg","text":"TemporaryFile(/tmp/multipartBody1573491042158527360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685992889,"filename":"image_12012025_13_45_02_730955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d895233786e00a7b80168ddc5d5abdf.jpg","text":"TemporaryFile(/tmp/multipartBody2272997716824579456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685992889,"filename":"image_12012025_13_45_02_730955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d59b7470d59cf0af17090a1d863f711f.jpg","text":"TemporaryFile(/tmp/multipartBody5336546713345253053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685992889,"filename":"image_12012025_13_44_02_520569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cdccc6ecd62745ed5acdb6972a29c320.jpg","text":"TemporaryFile(/tmp/multipartBody4663836418556301120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736685992889,"filename":"image_12012025_13_45_02_730955_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442854","file1":"1328442852","file0":"1328442828","file3":"1328442855"},"map_files_photo_id_array":[{"photo_id":"1328442854","filename":"file2"},{"photo_id":"1328442852","filename":"file1"},{"photo_id":"1328442828","filename":"file0"},{"photo_id":"1328442855","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442855":["hashtag1","hashtag2"]},{"1328442852":["hashtag1","hashtag2"]},{"1328442828":["hashtag1","hashtag2"]},{"1328442854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442855, 1328442852, 1328442828, 1328442854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.548014879226685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:46:22.784716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0003.jpg', '/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0000.jpg', '/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0001.jpg', '/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/45/image_12012025_13_45_02_730955_0003.jpg
/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0000.jpg
/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0001.jpg
/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442870","1328442867","1328442869","1328442865"],"photo_ids_order":["1328442865","1328442867","1328442869","1328442870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c7457668c80cd80e68d15319e09ab44.jpg","text":"TemporaryFile(/tmp/multipartBody1680084662591105652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686052794,"filename":"image_12012025_13_46_02_884899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f431fa04f143af28004b06790f5d7f54.jpg","text":"TemporaryFile(/tmp/multipartBody7639634136438080677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686052794,"filename":"image_12012025_13_46_02_884899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e03a362cfdc66d8f123ed4bc28b6fc47.jpg","text":"TemporaryFile(/tmp/multipartBody7581671844010583352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686052794,"filename":"image_12012025_13_46_02_884899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b347ad9ecf175f6cebfc5bfe5a30c074.jpg","text":"TemporaryFile(/tmp/multipartBody4135298129468965696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686052794,"filename":"image_12012025_13_45_02_730955_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442869","file1":"1328442867","file0":"1328442865","file3":"1328442870"},"map_files_photo_id_array":[{"photo_id":"1328442869","filename":"file2"},{"photo_id":"1328442867","filename":"file1"},{"photo_id":"1328442865","filename":"file0"},{"photo_id":"1328442870","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442870":["hashtag1","hashtag2"]},{"1328442867":["hashtag1","hashtag2"]},{"1328442869":["hashtag1","hashtag2"]},{"1328442865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442870, 1328442867, 1328442869, 1328442865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.805206537246704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:47:21.983923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0003.jpg', '/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0000.jpg', '/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0001.jpg', '/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/46/image_12012025_13_46_02_884899_0003.jpg
/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0000.jpg
/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0001.jpg
/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442882","1328442884","1328442878","1328442883"],"photo_ids_order":["1328442878","1328442882","1328442883","1328442884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae838b96c8dae868b879bc6376e11b70.jpg","text":"TemporaryFile(/tmp/multipartBody1978215905008976755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686112112,"filename":"image_12012025_13_47_03_148918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1bca658641b8d17350ebe0a0a4d9dbe1.jpg","text":"TemporaryFile(/tmp/multipartBody7725686278981116378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686112112,"filename":"image_12012025_13_47_03_148918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/601ac12937529ff485dd758866d07b0e.jpg","text":"TemporaryFile(/tmp/multipartBody7940507453297029089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686112112,"filename":"image_12012025_13_46_02_884899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f1f046e5451e1f5dfdb86220daf1c73.jpg","text":"TemporaryFile(/tmp/multipartBody1007132709995880950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686112112,"filename":"image_12012025_13_47_03_148918_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442883","file1":"1328442882","file0":"1328442878","file3":"1328442884"},"map_files_photo_id_array":[{"photo_id":"1328442883","filename":"file2"},{"photo_id":"1328442882","filename":"file1"},{"photo_id":"1328442878","filename":"file0"},{"photo_id":"1328442884","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442882":["hashtag1","hashtag2"]},{"1328442884":["hashtag1","hashtag2"]},{"1328442878":["hashtag1","hashtag2"]},{"1328442883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442882, 1328442884, 1328442878, 1328442883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.712677001953125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:48:02.476553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:48:22.154349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0003.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0000.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0001.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0003.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0000.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0001.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_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.854600429534912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:48:42.162201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0003.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0000.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0001.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/47/image_12012025_13_47_03_148918_0003.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0000.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0001.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442948","1328442950","1328442952","1328442949"],"photo_ids_order":["1328442948","1328442949","1328442950","1328442952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78db3fd828adcdd3e1ed8c0d6f1ad3b1.jpg","text":"TemporaryFile(/tmp/multipartBody484656784325107627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686192427,"filename":"image_12012025_13_47_03_148918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54455c46fadde9ef456d4a36ae9b5e89.jpg","text":"TemporaryFile(/tmp/multipartBody6316013631373394711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686192427,"filename":"image_12012025_13_48_02_287327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0bfaca41f24f314290d70f4d8f3e0ad3.jpg","text":"TemporaryFile(/tmp/multipartBody5269741970901459600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686192427,"filename":"image_12012025_13_48_02_287327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf8d8d122afe44e7d636c98052882391.jpg","text":"TemporaryFile(/tmp/multipartBody3490598780990245929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686192427,"filename":"image_12012025_13_48_02_287327_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442950","file1":"1328442949","file0":"1328442948","file3":"1328442952"},"map_files_photo_id_array":[{"photo_id":"1328442950","filename":"file2"},{"photo_id":"1328442949","filename":"file1"},{"photo_id":"1328442948","filename":"file0"},{"photo_id":"1328442952","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442948":["hashtag1","hashtag2"]},{"1328442950":["hashtag1","hashtag2"]},{"1328442952":["hashtag1","hashtag2"]},{"1328442949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442948, 1328442950, 1328442952, 1328442949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.05401062965393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:49:32.288012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0003.jpg', '/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0000.jpg', '/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0001.jpg', '/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0003.jpg
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0000.jpg
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0001.jpg
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_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.883829593658447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:49:52.260248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0003.jpg', '/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0000.jpg', '/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0001.jpg', '/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_02_287327_0003.jpg
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0000.jpg
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0001.jpg
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328442984","1328442986","1328442988","1328442990"],"photo_ids_order":["1328442984","1328442986","1328442988","1328442990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcf0a48598141e42adf04ea641e5c304.jpg","text":"TemporaryFile(/tmp/multipartBody6407557162950519889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686262550,"filename":"image_12012025_13_48_02_287327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87725a0debf9b5bd25ed1c99b4cd69ef.jpg","text":"TemporaryFile(/tmp/multipartBody5255004802903004289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686262550,"filename":"image_12012025_13_49_02_540999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a1ab9f36846bc877ca17224cfc640b91.jpg","text":"TemporaryFile(/tmp/multipartBody1434792193445321003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686262550,"filename":"image_12012025_13_49_02_540999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0763f5a5b43ed82fa7e3e421301391a9.jpg","text":"TemporaryFile(/tmp/multipartBody1518463945936974824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686262550,"filename":"image_12012025_13_49_02_540999_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328442988","file1":"1328442986","file0":"1328442984","file3":"1328442990"},"map_files_photo_id_array":[{"photo_id":"1328442988","filename":"file2"},{"photo_id":"1328442986","filename":"file1"},{"photo_id":"1328442984","filename":"file0"},{"photo_id":"1328442990","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328442984":["hashtag1","hashtag2"]},{"1328442986":["hashtag1","hashtag2"]},{"1328442988":["hashtag1","hashtag2"]},{"1328442990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328442984, 1328442986, 1328442988, 1328442990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44356966018677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 13:50:42.534213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0003.jpg', '/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0000.jpg', '/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0001.jpg', '/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/49/image_12012025_13_49_02_540999_0003.jpg
/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0000.jpg
/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0001.jpg
/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_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":["1328443002","1328442998","1328443000","1328442999"],"photo_ids_order":["1328442998","1328442999","1328443000","1328443002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c10fddabd7ded93b36d0716d869879c1.jpg","text":"TemporaryFile(/tmp/multipartBody3997267188559476890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686312989,"filename":"image_12012025_13_50_02_625921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20d65fb7a515a303833cfe2ac6abe7d7.jpg","text":"TemporaryFile(/tmp/multipartBody6213991498701642725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686312989,"filename":"image_12012025_13_49_02_540999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3948e6d674335ebf5a6fb1b6faf6ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody6754942496489389216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686312989,"filename":"image_12012025_13_50_02_625921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b133c66c7a012cf3354814e04354c3b.jpg","text":"TemporaryFile(/tmp/multipartBody7201467936628632295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686312989,"filename":"image_12012025_13_50_02_625921_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328443000","file1":"1328442999","file0":"1328442998","file3":"1328443002"},"map_files_photo_id_array":[{"photo_id":"1328443000","filename":"file2"},{"photo_id":"1328442999","filename":"file1"},{"photo_id":"1328442998","filename":"file0"},{"photo_id":"1328443002","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443002":["hashtag1","hashtag2"]},{"1328442998":["hashtag1","hashtag2"]},{"1328443000":["hashtag1","hashtag2"]},{"1328442999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443002, 1328442998, 1328443000, 1328442999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93273949623108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:51:22.652912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0003.jpg', '/home/pi/Desktop/images/12012025/13/51/image_12012025_13_51_02_793533_0001.jpg', '/home/pi/Desktop/images/12012025/13/51/image_12012025_13_51_02_793533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/50/image_12012025_13_50_02_625921_0003.jpg
/home/pi/Desktop/images/12012025/13/51/image_12012025_13_51_02_793533_0001.jpg
/home/pi/Desktop/images/12012025/13/51/image_12012025_13_51_02_793533_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328443209","1328443230","1328443074"],"photo_ids_order":["1328443074","1328443209","1328443230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c64b85cca0d55c049734f30a365ff9fc.jpg","text":"TemporaryFile(/tmp/multipartBody6470518480922374188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686350705,"filename":"image_12012025_13_51_02_793533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62a1222ba01e5a9adff0bd37041a9eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2296708879458758429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686350705,"filename":"image_12012025_13_51_02_793533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25d7bcd2b08728cdc85dc2b29cf2384f.jpg","text":"TemporaryFile(/tmp/multipartBody4797889533784250371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686350705,"filename":"image_12012025_13_50_02_625921_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328443230","file1":"1328443209","file0":"1328443074"},"map_files_photo_id_array":[{"photo_id":"1328443230","filename":"file2"},{"photo_id":"1328443209","filename":"file1"},{"photo_id":"1328443074","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443209":["hashtag1","hashtag2"]},{"1328443230":["hashtag1","hashtag2"]},{"1328443074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443209, 1328443230, 1328443074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.767863750457764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:52:02.252291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:52:21.923018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/51/image_12012025_13_51_02_793533_0003.jpg', '/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0000.jpg', '/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0001.jpg', '/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/51/image_12012025_13_51_02_793533_0003.jpg
/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0000.jpg
/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0001.jpg
/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328443242","1328443239","1328443244","1328443245"],"photo_ids_order":["1328443239","1328443242","1328443244","1328443245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/701b36bf40c75fd01b79efcef47978ac.jpg","text":"TemporaryFile(/tmp/multipartBody1405501631559640721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686412081,"filename":"image_12012025_13_52_03_097204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d22d1ac85c7153d325680436dd52c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1475175745408841171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686412081,"filename":"image_12012025_13_51_02_793533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c66d44af4ae1e2a65c813d4f8a28d916.jpg","text":"TemporaryFile(/tmp/multipartBody8336933840140381899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686412081,"filename":"image_12012025_13_52_03_097204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/315f88a7f7f55200d70884a09af17b42.jpg","text":"TemporaryFile(/tmp/multipartBody2985855616001623263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686412081,"filename":"image_12012025_13_52_03_097204_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328443244","file1":"1328443242","file0":"1328443239","file3":"1328443245"},"map_files_photo_id_array":[{"photo_id":"1328443244","filename":"file2"},{"photo_id":"1328443242","filename":"file1"},{"photo_id":"1328443239","filename":"file0"},{"photo_id":"1328443245","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443242":["hashtag1","hashtag2"]},{"1328443239":["hashtag1","hashtag2"]},{"1328443244":["hashtag1","hashtag2"]},{"1328443245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443242, 1328443239, 1328443244, 1328443245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.128215312957764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:53:22.031587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0003.jpg', '/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0000.jpg', '/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0001.jpg', '/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/52/image_12012025_13_52_03_097204_0003.jpg
/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0000.jpg
/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0001.jpg
/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328443260","1328443262","1328443255","1328443252"],"photo_ids_order":["1328443252","1328443255","1328443260","1328443262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6dfd515921dbb3c4d40eecdd74fdd83.jpg","text":"TemporaryFile(/tmp/multipartBody8803167647959643544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686472222,"filename":"image_12012025_13_53_02_189765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e229813a6f9b96173aa048f6803b4ca.jpg","text":"TemporaryFile(/tmp/multipartBody1796489029713414076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686472222,"filename":"image_12012025_13_53_02_189765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b39136ef90759e806bdc3833e659241.jpg","text":"TemporaryFile(/tmp/multipartBody5010484289252859801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686472222,"filename":"image_12012025_13_53_02_189765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b99a7bf105c78f1623a64a7945feeda.jpg","text":"TemporaryFile(/tmp/multipartBody7163562184154567883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686472222,"filename":"image_12012025_13_52_03_097204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328443260","file1":"1328443255","file0":"1328443252","file3":"1328443262"},"map_files_photo_id_array":[{"photo_id":"1328443260","filename":"file2"},{"photo_id":"1328443255","filename":"file1"},{"photo_id":"1328443252","filename":"file0"},{"photo_id":"1328443262","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443260":["hashtag1","hashtag2"]},{"1328443262":["hashtag1","hashtag2"]},{"1328443255":["hashtag1","hashtag2"]},{"1328443252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443260, 1328443262, 1328443255, 1328443252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.788697957992554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:54:02.473228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:54:22.152233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0003.jpg', '/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_02_349056_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0003.jpg
/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_02_349056_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.030181884765625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 13:54:32.128824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0003.jpg', '/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_02_349056_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/53/image_12012025_13_53_02_189765_0003.jpg
/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_02_349056_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":["1328443332","1328443325"],"photo_ids_order":["1328443325","1328443332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd7aa7a8418cd1dd9c09e5c87c984c89.jpg","text":"TemporaryFile(/tmp/multipartBody6268568119346446099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686537546,"filename":"image_12012025_13_54_02_349056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e77ebc6c909dd396e859472ac84aaa58.jpg","text":"TemporaryFile(/tmp/multipartBody435218665300408645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686537546,"filename":"image_12012025_13_53_02_189765_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328443332","file0":"1328443325"},"map_files_photo_id_array":[{"photo_id":"1328443332","filename":"file1"},{"photo_id":"1328443325","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443332":["hashtag1","hashtag2"]},{"1328443325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443332, 1328443325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.770193099975586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 13:55:02.762774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:55:22.316042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_02_349056_0002.jpg', '/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0000.jpg', '/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0001.jpg', '/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_02_349056_0002.jpg
/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0000.jpg
/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0001.jpg
/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328443551","1328443431","1328443433","1328443573"],"photo_ids_order":["1328443431","1328443433","1328443551","1328443573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5740d57120bff9da60994d1937ea71a.jpg","text":"TemporaryFile(/tmp/multipartBody686958825672597490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686592539,"filename":"image_12012025_13_55_02_490428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/562786c18ab4b69aa86bae10fc571bd6.jpg","text":"TemporaryFile(/tmp/multipartBody8295508837833822718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686592539,"filename":"image_12012025_13_54_02_349056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6c7c860be72a27d62b000220aa13bc1.jpg","text":"TemporaryFile(/tmp/multipartBody7757597238255355285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686592539,"filename":"image_12012025_13_55_02_490428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d23bbd18e6f16e1c7d6b5e948d5a382c.jpg","text":"TemporaryFile(/tmp/multipartBody1938843407789615885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686592539,"filename":"image_12012025_13_55_02_490428_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328443551","file1":"1328443433","file0":"1328443431","file3":"1328443573"},"map_files_photo_id_array":[{"photo_id":"1328443551","filename":"file2"},{"photo_id":"1328443433","filename":"file1"},{"photo_id":"1328443431","filename":"file0"},{"photo_id":"1328443573","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443551":["hashtag1","hashtag2"]},{"1328443431":["hashtag1","hashtag2"]},{"1328443433":["hashtag1","hashtag2"]},{"1328443573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443551, 1328443431, 1328443433, 1328443573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.26563000679016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:56:22.542580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0003.jpg', '/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0000.jpg', '/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0001.jpg', '/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/55/image_12012025_13_55_02_490428_0003.jpg
/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0000.jpg
/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0001.jpg
/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328443580","1328443583","1328443581","1328443584"],"photo_ids_order":["1328443580","1328443581","1328443583","1328443584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/429517f4b884f0a5eae44691e839a3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2325411751202389078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686652658,"filename":"image_12012025_13_55_02_490428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a78ebfed3b0963f2af53f7a550b3be25.jpg","text":"TemporaryFile(/tmp/multipartBody4668025686416427824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686652658,"filename":"image_12012025_13_56_02_718370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14c54c1ca2c4dcffef8a7d14089c0858.jpg","text":"TemporaryFile(/tmp/multipartBody5004693825678255451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686652658,"filename":"image_12012025_13_56_02_718370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4b24fdf81ff43d26aba444ce148b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody604596163450019587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686652658,"filename":"image_12012025_13_56_02_718370_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328443583","file1":"1328443581","file0":"1328443580","file3":"1328443584"},"map_files_photo_id_array":[{"photo_id":"1328443583","filename":"file2"},{"photo_id":"1328443581","filename":"file1"},{"photo_id":"1328443580","filename":"file0"},{"photo_id":"1328443584","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328443580":["hashtag1","hashtag2"]},{"1328443583":["hashtag1","hashtag2"]},{"1328443581":["hashtag1","hashtag2"]},{"1328443584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328443580, 1328443583, 1328443581, 1328443584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99581861495972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:57:22.754661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0003.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0000.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0001.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0003.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0000.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0001.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_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-12 13:59:02.730155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0003.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0000.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0001.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0002.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0003.jpg', '/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0003.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0000.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0001.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0002.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0003.jpg
/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_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.725455522537231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 13:59:21.950772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0003.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0000.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0001.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0002.jpg', '/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0003.jpg', '/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/56/image_12012025_13_56_02_718370_0003.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0000.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0001.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0002.jpg
/home/pi/Desktop/images/12012025/13/57/image_12012025_13_57_02_903132_0003.jpg
/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_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":["1328444459","1328444162","1328444159","1328444426","1328444408","1328444164"],"photo_ids_order":["1328444159","1328444162","1328444164","1328444408","1328444426","1328444459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72a66461f9b29e861c56e4335b51e122.jpg","text":"TemporaryFile(/tmp/multipartBody7421982105033950124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686837012,"filename":"image_12012025_13_58_03_057786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa72561191254c1b460fad6c14fd2f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7473316128138390898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686837012,"filename":"image_12012025_13_57_02_903132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e605e453a4b974112445f497afe092f.jpg","text":"TemporaryFile(/tmp/multipartBody2135148720958598861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686837012,"filename":"image_12012025_13_56_02_718370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/000e490ff51207354cec5b83cc21fe34.jpg","text":"TemporaryFile(/tmp/multipartBody2342803282569705102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686837012,"filename":"image_12012025_13_57_02_903132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a446ddb977a571013109a1c807eceb04.jpg","text":"TemporaryFile(/tmp/multipartBody1099315942386540535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686837012,"filename":"image_12012025_13_57_02_903132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d8b2951168da2392cca31d9787ce171.jpg","text":"TemporaryFile(/tmp/multipartBody1131458547574707949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686837012,"filename":"image_12012025_13_57_02_903132_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328444164","file1":"1328444162","file0":"1328444159","file4":"1328444426","file5":"1328444459","file3":"1328444408"},"map_files_photo_id_array":[{"photo_id":"1328444459","filename":"file5"},{"photo_id":"1328444164","filename":"file2"},{"photo_id":"1328444426","filename":"file4"},{"photo_id":"1328444162","filename":"file1"},{"photo_id":"1328444159","filename":"file0"},{"photo_id":"1328444408","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328444459":["hashtag1","hashtag2"]},{"1328444162":["hashtag1","hashtag2"]},{"1328444159":["hashtag1","hashtag2"]},{"1328444426":["hashtag1","hashtag2"]},{"1328444408":["hashtag1","hashtag2"]},{"1328444164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328444459, 1328444162, 1328444159, 1328444426, 1328444408, 1328444164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95338821411133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:00:22.341294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0001.jpg', '/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0002.jpg', '/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0003.jpg', '/home/pi/Desktop/images/12012025/13/59/image_12012025_13_59_02_226994_0000.jpg', '/home/pi/Desktop/images/12012025/13/59/image_12012025_13_59_02_226994_0001.jpg', '/home/pi/Desktop/images/12012025/13/59/image_12012025_13_59_02_226994_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0001.jpg
/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0002.jpg
/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_03_057786_0003.jpg
/home/pi/Desktop/images/12012025/13/59/image_12012025_13_59_02_226994_0000.jpg
/home/pi/Desktop/images/12012025/13/59/image_12012025_13_59_02_226994_0001.jpg
/home/pi/Desktop/images/12012025/13/59/image_12012025_13_59_02_226994_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328444486","1328444488","1328444482","1328444485","1328444499","1328444487"],"photo_ids_order":["1328444482","1328444485","1328444486","1328444487","1328444488","1328444499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfe704cb5f4173b95ba94c69b7f0421c.jpg","text":"TemporaryFile(/tmp/multipartBody3998992539833530445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686897419,"filename":"image_12012025_13_58_03_057786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb343cf8bc20262dda01aa4248fdcfc0.jpg","text":"TemporaryFile(/tmp/multipartBody7700387275716366870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686897419,"filename":"image_12012025_13_59_02_226994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/271ac761df4e32f5a65937517bce39f0.jpg","text":"TemporaryFile(/tmp/multipartBody6662780723289989815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686897419,"filename":"image_12012025_13_58_03_057786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e212db005000d66f54ae463b69809d28.jpg","text":"TemporaryFile(/tmp/multipartBody1922292700978675506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686897419,"filename":"image_12012025_13_58_03_057786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7a2be2a552e1654f73b6c30ae48549a.jpg","text":"TemporaryFile(/tmp/multipartBody4325393699019415423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686897419,"filename":"image_12012025_13_59_02_226994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38ec04d0db345c2e543b656d0265232a.jpg","text":"TemporaryFile(/tmp/multipartBody5990851543665839753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686897419,"filename":"image_12012025_13_59_02_226994_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328444486","file1":"1328444485","file0":"1328444482","file4":"1328444488","file5":"1328444499","file3":"1328444487"},"map_files_photo_id_array":[{"photo_id":"1328444499","filename":"file5"},{"photo_id":"1328444486","filename":"file2"},{"photo_id":"1328444488","filename":"file4"},{"photo_id":"1328444485","filename":"file1"},{"photo_id":"1328444482","filename":"file0"},{"photo_id":"1328444487","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328444486":["hashtag1","hashtag2"]},{"1328444488":["hashtag1","hashtag2"]},{"1328444482":["hashtag1","hashtag2"]},{"1328444485":["hashtag1","hashtag2"]},{"1328444499":["hashtag1","hashtag2"]},{"1328444487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328444486, 1328444488, 1328444482, 1328444485, 1328444499, 1328444487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.829617977142334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:01:22.355566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0000.jpg', '/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0001.jpg', '/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0002.jpg', '/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0003.jpg', '/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0000.jpg', '/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0000.jpg
/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0001.jpg
/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0002.jpg
/home/pi/Desktop/images/12012025/14/00/image_12012025_14_00_02_428668_0003.jpg
/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0000.jpg
/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_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":["1328444522","1328444525","1328444519","1328444521","1328444515","1328444523"],"photo_ids_order":["1328444515","1328444519","1328444521","1328444522","1328444523","1328444525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcaf05d08c974ccfdb638852400c66b8.jpg","text":"TemporaryFile(/tmp/multipartBody6417997141519799294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686957412,"filename":"image_12012025_14_00_02_428668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6567f1aa642768569c5cc19b948b4ba3.jpg","text":"TemporaryFile(/tmp/multipartBody9005368804802577666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686957412,"filename":"image_12012025_14_01_02_653582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e07ff39a60ce7c7668886fca376fccc.jpg","text":"TemporaryFile(/tmp/multipartBody1589514055478744442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686957412,"filename":"image_12012025_14_00_02_428668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/441d2577ec7671477d72fe93d28a7147.jpg","text":"TemporaryFile(/tmp/multipartBody2011237387617766623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686957412,"filename":"image_12012025_14_00_02_428668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/575f4404e6537f1177c09bad3d255c03.jpg","text":"TemporaryFile(/tmp/multipartBody6490195293444210460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686957412,"filename":"image_12012025_14_00_02_428668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3329f964ff770bd5fb35e7381fecad2d.jpg","text":"TemporaryFile(/tmp/multipartBody3015729383619297460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736686957412,"filename":"image_12012025_14_01_02_653582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328444521","file1":"1328444519","file0":"1328444515","file4":"1328444523","file5":"1328444525","file3":"1328444522"},"map_files_photo_id_array":[{"photo_id":"1328444525","filename":"file5"},{"photo_id":"1328444521","filename":"file2"},{"photo_id":"1328444523","filename":"file4"},{"photo_id":"1328444519","filename":"file1"},{"photo_id":"1328444515","filename":"file0"},{"photo_id":"1328444522","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328444522":["hashtag1","hashtag2"]},{"1328444525":["hashtag1","hashtag2"]},{"1328444519":["hashtag1","hashtag2"]},{"1328444521":["hashtag1","hashtag2"]},{"1328444515":["hashtag1","hashtag2"]},{"1328444523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328444522, 1328444525, 1328444519, 1328444521, 1328444515, 1328444523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.81433844566345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:02:22.688093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0002.jpg', '/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0003.jpg', '/home/pi/Desktop/images/12012025/14/02/image_12012025_14_02_02_787505_0000.jpg', '/home/pi/Desktop/images/12012025/14/02/image_12012025_14_02_02_787505_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0002.jpg
/home/pi/Desktop/images/12012025/14/01/image_12012025_14_01_02_653582_0003.jpg
/home/pi/Desktop/images/12012025/14/02/image_12012025_14_02_02_787505_0000.jpg
/home/pi/Desktop/images/12012025/14/02/image_12012025_14_02_02_787505_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":["1328444861","1328444546","1328444740","1328445171"],"photo_ids_order":["1328444546","1328444740","1328444861","1328445171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f10a5d0ac240498592337a613cee8606.jpg","text":"TemporaryFile(/tmp/multipartBody1324776926823918113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687013027,"filename":"image_12012025_14_02_02_787505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77c6f06b280127e652c43c971fc2cd58.jpg","text":"TemporaryFile(/tmp/multipartBody7173283008548799283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687013027,"filename":"image_12012025_14_01_02_653582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc7ca1a72a36adae13c490d5a273cefa.jpg","text":"TemporaryFile(/tmp/multipartBody555993470224457735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687013027,"filename":"image_12012025_14_01_02_653582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dce064d5a38a8c7083762fb6f8cf8350.jpg","text":"TemporaryFile(/tmp/multipartBody358989456322340233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687013027,"filename":"image_12012025_14_02_02_787505_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328444861","file1":"1328444740","file0":"1328444546","file3":"1328445171"},"map_files_photo_id_array":[{"photo_id":"1328444861","filename":"file2"},{"photo_id":"1328444740","filename":"file1"},{"photo_id":"1328444546","filename":"file0"},{"photo_id":"1328445171","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328444861":["hashtag1","hashtag2"]},{"1328444546":["hashtag1","hashtag2"]},{"1328444740":["hashtag1","hashtag2"]},{"1328445171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328444861, 1328444546, 1328444740, 1328445171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.519643783569336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:03:21.862241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/02/image_12012025_14_02_02_787505_0002.jpg', '/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0000.jpg', '/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0001.jpg', '/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/02/image_12012025_14_02_02_787505_0002.jpg
/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0000.jpg
/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0001.jpg
/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328445314","1328445364","1328445363","1328445357"],"photo_ids_order":["1328445314","1328445357","1328445363","1328445364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3336815b0311318492b0f96e88e7f2c3.jpg","text":"TemporaryFile(/tmp/multipartBody103561098178309541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687072127,"filename":"image_12012025_14_02_02_787505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/923f508d560e245fdc26dea9b8e6c9ad.jpg","text":"TemporaryFile(/tmp/multipartBody2682257283562000681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687072127,"filename":"image_12012025_14_03_03_060624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba608be3409ba92d1a9a357bfd2df755.jpg","text":"TemporaryFile(/tmp/multipartBody1387617323516823597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687072127,"filename":"image_12012025_14_03_03_060624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a304706a7fee466a4ae3f9920344712.jpg","text":"TemporaryFile(/tmp/multipartBody3277401311992635412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687072127,"filename":"image_12012025_14_03_03_060624_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328445363","file1":"1328445357","file0":"1328445314","file3":"1328445364"},"map_files_photo_id_array":[{"photo_id":"1328445363","filename":"file2"},{"photo_id":"1328445357","filename":"file1"},{"photo_id":"1328445314","filename":"file0"},{"photo_id":"1328445364","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328445314":["hashtag1","hashtag2"]},{"1328445364":["hashtag1","hashtag2"]},{"1328445363":["hashtag1","hashtag2"]},{"1328445357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328445314, 1328445364, 1328445363, 1328445357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72403049468994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:04:02.470476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:04:21.957357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0003.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0000.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0001.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0003.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0000.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0001.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_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.809160709381104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:04:41.973439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0003.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0000.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0001.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/03/image_12012025_14_03_03_060624_0003.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0000.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0001.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328445400","1328445399","1328445513","1328445791"],"photo_ids_order":["1328445399","1328445400","1328445513","1328445791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7c0feb26c5516f0b59e3b0c29906ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2844222881304303718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687152167,"filename":"image_12012025_14_04_02_246452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecce982d993bdb9626e47f1f2246e666.jpg","text":"TemporaryFile(/tmp/multipartBody1096398010775630368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687152167,"filename":"image_12012025_14_03_03_060624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1e1bd79454c7f23f9b7e8446b96de69.jpg","text":"TemporaryFile(/tmp/multipartBody6056982115207980478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687152167,"filename":"image_12012025_14_04_02_246452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2925a26b28973df6ecd49dff5f0d3548.jpg","text":"TemporaryFile(/tmp/multipartBody5777604039167012780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687152167,"filename":"image_12012025_14_04_02_246452_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328445513","file1":"1328445400","file0":"1328445399","file3":"1328445791"},"map_files_photo_id_array":[{"photo_id":"1328445513","filename":"file2"},{"photo_id":"1328445400","filename":"file1"},{"photo_id":"1328445399","filename":"file0"},{"photo_id":"1328445791","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328445400":["hashtag1","hashtag2"]},{"1328445399":["hashtag1","hashtag2"]},{"1328445513":["hashtag1","hashtag2"]},{"1328445791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328445400, 1328445399, 1328445513, 1328445791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.8427848815918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 14:05:32.135691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0003.jpg', '/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0000.jpg', '/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0001.jpg', '/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_02_246452_0003.jpg
/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0000.jpg
/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0001.jpg
/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328446607","1328446606","1328446609","1328446608"],"photo_ids_order":["1328446606","1328446607","1328446608","1328446609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41541092994b182a3bc73218e6bbfd05.jpg","text":"TemporaryFile(/tmp/multipartBody5521014541183441461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687202476,"filename":"image_12012025_14_05_02_375463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43128b9201f4cbb0b4042904f690d354.jpg","text":"TemporaryFile(/tmp/multipartBody7973423964974095121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687202476,"filename":"image_12012025_14_04_02_246452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d148acdd0f3a7dbe632573902b87e27.jpg","text":"TemporaryFile(/tmp/multipartBody672333820727974589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687202476,"filename":"image_12012025_14_05_02_375463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7134ebca64fa0c7e6ffb898d7a89dc11.jpg","text":"TemporaryFile(/tmp/multipartBody4837812049786398934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687202476,"filename":"image_12012025_14_05_02_375463_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328446608","file1":"1328446607","file0":"1328446606","file3":"1328446609"},"map_files_photo_id_array":[{"photo_id":"1328446608","filename":"file2"},{"photo_id":"1328446607","filename":"file1"},{"photo_id":"1328446606","filename":"file0"},{"photo_id":"1328446609","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328446607":["hashtag1","hashtag2"]},{"1328446606":["hashtag1","hashtag2"]},{"1328446609":["hashtag1","hashtag2"]},{"1328446608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328446607, 1328446606, 1328446609, 1328446608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19725823402405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:06:22.494381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0003.jpg', '/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0000.jpg', '/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0001.jpg', '/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/05/image_12012025_14_05_02_375463_0003.jpg
/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0000.jpg
/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0001.jpg
/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328446861","1328446860","1328446863","1328446865"],"photo_ids_order":["1328446860","1328446861","1328446863","1328446865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e580dcb296d34277e75686e15edb132e.jpg","text":"TemporaryFile(/tmp/multipartBody7485742977156405938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687252731,"filename":"image_12012025_14_06_02_529410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b76ff0d487bd853117674a2c2fbec69.jpg","text":"TemporaryFile(/tmp/multipartBody2062477866205327889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687252731,"filename":"image_12012025_14_05_02_375463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32a0b574529bb35c176fc54776326288.jpg","text":"TemporaryFile(/tmp/multipartBody798275966009307468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687252731,"filename":"image_12012025_14_06_02_529410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf97e54ef8802ad7f31e6f5ee168d1f8.jpg","text":"TemporaryFile(/tmp/multipartBody3035203116010435670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687252731,"filename":"image_12012025_14_06_02_529410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328446863","file1":"1328446861","file0":"1328446860","file3":"1328446865"},"map_files_photo_id_array":[{"photo_id":"1328446863","filename":"file2"},{"photo_id":"1328446861","filename":"file1"},{"photo_id":"1328446860","filename":"file0"},{"photo_id":"1328446865","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328446861":["hashtag1","hashtag2"]},{"1328446860":["hashtag1","hashtag2"]},{"1328446863":["hashtag1","hashtag2"]},{"1328446865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328446861, 1328446860, 1328446863, 1328446865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.632251024246216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:07:22.567155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0003.jpg', '/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0000.jpg', '/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0001.jpg', '/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/06/image_12012025_14_06_02_529410_0003.jpg
/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0000.jpg
/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0001.jpg
/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328446896","1328446893","1328446889","1328446898"],"photo_ids_order":["1328446889","1328446893","1328446896","1328446898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03444547b678e5976837f4ade95bd20e.jpg","text":"TemporaryFile(/tmp/multipartBody2835658840518048115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687312845,"filename":"image_12012025_14_07_02_799221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78e6394fb24dfa1bd49c0588823c3a77.jpg","text":"TemporaryFile(/tmp/multipartBody99566838971444718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687312845,"filename":"image_12012025_14_07_02_799221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c48ee114a79e3d3113f3328a6de66d8a.jpg","text":"TemporaryFile(/tmp/multipartBody28433817462093709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687312845,"filename":"image_12012025_14_06_02_529410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13a5cca74d6e784c76eeaefae47b4210.jpg","text":"TemporaryFile(/tmp/multipartBody8558337816933613933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687312845,"filename":"image_12012025_14_07_02_799221_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328446896","file1":"1328446893","file0":"1328446889","file3":"1328446898"},"map_files_photo_id_array":[{"photo_id":"1328446896","filename":"file2"},{"photo_id":"1328446893","filename":"file1"},{"photo_id":"1328446889","filename":"file0"},{"photo_id":"1328446898","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328446896":["hashtag1","hashtag2"]},{"1328446893":["hashtag1","hashtag2"]},{"1328446889":["hashtag1","hashtag2"]},{"1328446898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328446896, 1328446893, 1328446889, 1328446898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.964999198913574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:08:22.770362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0003.jpg', '/home/pi/Desktop/images/12012025/14/08/image_12012025_14_08_02_934849_0000.jpg', '/home/pi/Desktop/images/12012025/14/08/image_12012025_14_08_02_934849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/07/image_12012025_14_07_02_799221_0003.jpg
/home/pi/Desktop/images/12012025/14/08/image_12012025_14_08_02_934849_0000.jpg
/home/pi/Desktop/images/12012025/14/08/image_12012025_14_08_02_934849_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328446917","1328446931","1328446934"],"photo_ids_order":["1328446917","1328446931","1328446934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6a23b131f32e5ba00895c29bc9f87f2.jpg","text":"TemporaryFile(/tmp/multipartBody1661343076085009974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687370688,"filename":"image_12012025_14_07_02_799221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4579d701faab920a858d71c7d0b561d.jpg","text":"TemporaryFile(/tmp/multipartBody409388639052734963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687370688,"filename":"image_12012025_14_08_02_934849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b09092ee4830dfa0f8336cbe377c75a9.jpg","text":"TemporaryFile(/tmp/multipartBody6445132140557217836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687370688,"filename":"image_12012025_14_08_02_934849_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328446934","file1":"1328446931","file0":"1328446917"},"map_files_photo_id_array":[{"photo_id":"1328446934","filename":"file2"},{"photo_id":"1328446931","filename":"file1"},{"photo_id":"1328446917","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328446917":["hashtag1","hashtag2"]},{"1328446931":["hashtag1","hashtag2"]},{"1328446934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328446917, 1328446931, 1328446934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.66558527946472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:09:02.456645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:09:21.884450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/08/image_12012025_14_08_02_934849_0003.jpg', '/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0000.jpg', '/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0001.jpg', '/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/08/image_12012025_14_08_02_934849_0003.jpg
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0000.jpg
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0001.jpg
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447050","1328447025","1328447019","1328447051"],"photo_ids_order":["1328447019","1328447025","1328447050","1328447051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d9b2ee8da4bf43154b7e48a9dff7801.jpg","text":"TemporaryFile(/tmp/multipartBody1465688852255235658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687432107,"filename":"image_12012025_14_09_03_076205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/994c7cd5f8133416ebcfd8822bfdd287.jpg","text":"TemporaryFile(/tmp/multipartBody6126963872036062312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687432107,"filename":"image_12012025_14_09_03_076205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aff93733cdb63381b4f8f13cfcfe79a3.jpg","text":"TemporaryFile(/tmp/multipartBody406272498379690206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687432107,"filename":"image_12012025_14_08_02_934849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5419e8aaeec5b13db7e8582e1ffc4623.jpg","text":"TemporaryFile(/tmp/multipartBody6655303194140586254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687432107,"filename":"image_12012025_14_09_03_076205_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447050","file1":"1328447025","file0":"1328447019","file3":"1328447051"},"map_files_photo_id_array":[{"photo_id":"1328447050","filename":"file2"},{"photo_id":"1328447025","filename":"file1"},{"photo_id":"1328447019","filename":"file0"},{"photo_id":"1328447051","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447050":["hashtag1","hashtag2"]},{"1328447025":["hashtag1","hashtag2"]},{"1328447019":["hashtag1","hashtag2"]},{"1328447051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447050, 1328447025, 1328447019, 1328447051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.353288888931274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:10:22.022154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0003.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0000.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0001.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0003.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0000.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0001.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_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.850059986114502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:10:42.047796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0003.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0000.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0001.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_03_076205_0003.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0000.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0001.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_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":["1328447070","1328447067","1328447066","1328447068"],"photo_ids_order":["1328447066","1328447067","1328447068","1328447070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75e4a492f112af4a2c46cc73d2e42177.jpg","text":"TemporaryFile(/tmp/multipartBody4604388374317691624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687512264,"filename":"image_12012025_14_10_02_210194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7b08b1390d92e2d6604850d19939bca.jpg","text":"TemporaryFile(/tmp/multipartBody4544366497504182553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687512264,"filename":"image_12012025_14_10_02_210194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dde11ab7b4be78e3145886379fa1f27b.jpg","text":"TemporaryFile(/tmp/multipartBody2992213116659329761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687512264,"filename":"image_12012025_14_09_03_076205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c89bcfdf4e41b8c6244430ed265d09b6.jpg","text":"TemporaryFile(/tmp/multipartBody2763019691459692451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687512264,"filename":"image_12012025_14_10_02_210194_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447068","file1":"1328447067","file0":"1328447066","file3":"1328447070"},"map_files_photo_id_array":[{"photo_id":"1328447068","filename":"file2"},{"photo_id":"1328447067","filename":"file1"},{"photo_id":"1328447066","filename":"file0"},{"photo_id":"1328447070","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447070":["hashtag1","hashtag2"]},{"1328447067":["hashtag1","hashtag2"]},{"1328447066":["hashtag1","hashtag2"]},{"1328447068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447070, 1328447067, 1328447066, 1328447068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.42251992225647 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-12 14:11:32.165797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0003.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0000.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0001.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_02_210194_0003.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0000.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0001.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447082","1328447081","1328447084","1328447083"],"photo_ids_order":["1328447081","1328447082","1328447083","1328447084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c64977d03ab4ad7debbfd65dacff8e9.jpg","text":"TemporaryFile(/tmp/multipartBody6594029399291197425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687562461,"filename":"image_12012025_14_11_02_375614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/884c028cb2c05d4c1b8f74e1efb26942.jpg","text":"TemporaryFile(/tmp/multipartBody3654407025131989614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687562461,"filename":"image_12012025_14_10_02_210194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e9fbd36a439c6335e36e29acfb1afc3.jpg","text":"TemporaryFile(/tmp/multipartBody7681426857361327155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687562461,"filename":"image_12012025_14_11_02_375614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5104122b8ce9101c588e63142b5bb2fa.jpg","text":"TemporaryFile(/tmp/multipartBody2636317967832447006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687562461,"filename":"image_12012025_14_11_02_375614_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447083","file1":"1328447082","file0":"1328447081","file3":"1328447084"},"map_files_photo_id_array":[{"photo_id":"1328447083","filename":"file2"},{"photo_id":"1328447082","filename":"file1"},{"photo_id":"1328447081","filename":"file0"},{"photo_id":"1328447084","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447082":["hashtag1","hashtag2"]},{"1328447081":["hashtag1","hashtag2"]},{"1328447084":["hashtag1","hashtag2"]},{"1328447083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447082, 1328447081, 1328447084, 1328447083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.85234093666077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:12:22.338531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0003.jpg', '/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0000.jpg', '/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0001.jpg', '/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_02_375614_0003.jpg
/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0000.jpg
/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0001.jpg
/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447116","1328447093","1328447111","1328447102"],"photo_ids_order":["1328447093","1328447102","1328447111","1328447116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2eb6df86d5ab34f4417188270873628.jpg","text":"TemporaryFile(/tmp/multipartBody8986501480153699012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687612546,"filename":"image_12012025_14_12_02_570354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8cd9d571e944b88c2c5dff0424687d3.jpg","text":"TemporaryFile(/tmp/multipartBody8745179404336758985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687612546,"filename":"image_12012025_14_11_02_375614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b75e64007a6e359399cb9558be4107d.jpg","text":"TemporaryFile(/tmp/multipartBody1537505052525385095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687612546,"filename":"image_12012025_14_12_02_570354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/616f131e98dcdc6bbd0302a78fe04f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2950005724316400605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687612546,"filename":"image_12012025_14_12_02_570354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447111","file1":"1328447102","file0":"1328447093","file3":"1328447116"},"map_files_photo_id_array":[{"photo_id":"1328447111","filename":"file2"},{"photo_id":"1328447102","filename":"file1"},{"photo_id":"1328447093","filename":"file0"},{"photo_id":"1328447116","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447116":["hashtag1","hashtag2"]},{"1328447093":["hashtag1","hashtag2"]},{"1328447111":["hashtag1","hashtag2"]},{"1328447102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447116, 1328447093, 1328447111, 1328447102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.015236616134644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:13:22.601127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0003.jpg', '/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0000.jpg', '/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0001.jpg', '/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_02_570354_0003.jpg
/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0000.jpg
/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0001.jpg
/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447149","1328447151","1328447144","1328447147"],"photo_ids_order":["1328447144","1328447147","1328447149","1328447151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9ad75101ff62193d58b937562386e5b.jpg","text":"TemporaryFile(/tmp/multipartBody865365479240278253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687673068,"filename":"image_12012025_14_13_02_730097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0a39bf7f0b37836f0267343b1935c1c.jpg","text":"TemporaryFile(/tmp/multipartBody2927563427406007598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687673068,"filename":"image_12012025_14_13_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/12/5d8d2bafb2e558d285e90090a91b9d40.jpg","text":"TemporaryFile(/tmp/multipartBody6743980630425042198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687673068,"filename":"image_12012025_14_12_02_570354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f90045e8ac039d5efbc90854d2e4182.jpg","text":"TemporaryFile(/tmp/multipartBody7055800215878208544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687673068,"filename":"image_12012025_14_13_02_730097_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447149","file1":"1328447147","file0":"1328447144","file3":"1328447151"},"map_files_photo_id_array":[{"photo_id":"1328447149","filename":"file2"},{"photo_id":"1328447147","filename":"file1"},{"photo_id":"1328447144","filename":"file0"},{"photo_id":"1328447151","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447149":["hashtag1","hashtag2"]},{"1328447151":["hashtag1","hashtag2"]},{"1328447144":["hashtag1","hashtag2"]},{"1328447147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447149, 1328447151, 1328447144, 1328447147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75639271736145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:14:21.763487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0003.jpg', '/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0000.jpg', '/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0001.jpg', '/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/13/image_12012025_14_13_02_730097_0003.jpg
/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0000.jpg
/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0001.jpg
/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447166","1328447168","1328447170","1328447167"],"photo_ids_order":["1328447166","1328447167","1328447168","1328447170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed625a7dcf8a15ba4dfc8ed849f4549f.jpg","text":"TemporaryFile(/tmp/multipartBody6508135550010855198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687732098,"filename":"image_12012025_14_13_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/12/87d530bf4dee6858ef2141d5e7e5bb11.jpg","text":"TemporaryFile(/tmp/multipartBody6873066426574945023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687732098,"filename":"image_12012025_14_14_02_926945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7154b17a8107b00083ec25908abb76c0.jpg","text":"TemporaryFile(/tmp/multipartBody23183186686848772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687732098,"filename":"image_12012025_14_14_02_926945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8961b0597bd47eb59034e3df68b7dda.jpg","text":"TemporaryFile(/tmp/multipartBody3563509352019020559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687732098,"filename":"image_12012025_14_14_02_926945_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447168","file1":"1328447167","file0":"1328447166","file3":"1328447170"},"map_files_photo_id_array":[{"photo_id":"1328447168","filename":"file2"},{"photo_id":"1328447167","filename":"file1"},{"photo_id":"1328447166","filename":"file0"},{"photo_id":"1328447170","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447166":["hashtag1","hashtag2"]},{"1328447168":["hashtag1","hashtag2"]},{"1328447170":["hashtag1","hashtag2"]},{"1328447167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447166, 1328447168, 1328447170, 1328447167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.898083209991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:15:21.967111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0003.jpg', '/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0000.jpg', '/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0001.jpg', '/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_02_926945_0003.jpg
/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0000.jpg
/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0001.jpg
/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447368","1328447369","1328447380","1328447365"],"photo_ids_order":["1328447365","1328447368","1328447369","1328447380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/575ca1ee32538987b88941d9624b8d5b.jpg","text":"TemporaryFile(/tmp/multipartBody7314134384084748755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687792383,"filename":"image_12012025_14_15_02_119301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3885ed9215e169d4525822a8378399e1.jpg","text":"TemporaryFile(/tmp/multipartBody8994941734907412877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687792383,"filename":"image_12012025_14_15_02_119301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7985cfbd17133b6d9e0b452aada8025.jpg","text":"TemporaryFile(/tmp/multipartBody5847850178532825706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687792383,"filename":"image_12012025_14_15_02_119301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a6180306a64b24a581bff4d5275982a9.jpg","text":"TemporaryFile(/tmp/multipartBody2323467080300271315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687792383,"filename":"image_12012025_14_14_02_926945_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447369","file1":"1328447368","file0":"1328447365","file3":"1328447380"},"map_files_photo_id_array":[{"photo_id":"1328447369","filename":"file2"},{"photo_id":"1328447368","filename":"file1"},{"photo_id":"1328447365","filename":"file0"},{"photo_id":"1328447380","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447368":["hashtag1","hashtag2"]},{"1328447369":["hashtag1","hashtag2"]},{"1328447380":["hashtag1","hashtag2"]},{"1328447365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447368, 1328447369, 1328447380, 1328447365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00946879386902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:16:22.105031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0003.jpg', '/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0000.jpg', '/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0001.jpg', '/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0003.jpg
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0000.jpg
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0001.jpg
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_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.849196910858154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:16:42.166454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0003.jpg', '/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0000.jpg', '/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0001.jpg', '/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/15/image_12012025_14_15_02_119301_0003.jpg
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0000.jpg
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0001.jpg
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_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":["1328447431","1328447428","1328447427","1328447429"],"photo_ids_order":["1328447427","1328447428","1328447429","1328447431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1f4cd1038ae3333cd81e556fca3d309.jpg","text":"TemporaryFile(/tmp/multipartBody2533135593462398736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687872416,"filename":"image_12012025_14_16_02_439944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59b08926671d5f25e9eb46fb2dd27a70.jpg","text":"TemporaryFile(/tmp/multipartBody3949540324430720546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687872416,"filename":"image_12012025_14_16_02_439944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68dd45d308da02b55aaac1abf1d37d74.jpg","text":"TemporaryFile(/tmp/multipartBody7129795087756665143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687872416,"filename":"image_12012025_14_15_02_119301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf945afb6242359e4397d1780c7458ab.jpg","text":"TemporaryFile(/tmp/multipartBody8092902745624779558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687872416,"filename":"image_12012025_14_16_02_439944_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447429","file1":"1328447428","file0":"1328447427","file3":"1328447431"},"map_files_photo_id_array":[{"photo_id":"1328447429","filename":"file2"},{"photo_id":"1328447428","filename":"file1"},{"photo_id":"1328447427","filename":"file0"},{"photo_id":"1328447431","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447431":["hashtag1","hashtag2"]},{"1328447428":["hashtag1","hashtag2"]},{"1328447427":["hashtag1","hashtag2"]},{"1328447429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447431, 1328447428, 1328447427, 1328447429)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.624194860458374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 14:17:32.302951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0003.jpg', '/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0000.jpg', '/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0001.jpg', '/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/16/image_12012025_14_16_02_439944_0003.jpg
/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0000.jpg
/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0001.jpg
/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447440","1328447442","1328447444","1328447443"],"photo_ids_order":["1328447440","1328447442","1328447443","1328447444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3daaf2615b7697e3b3179b35fa49d221.jpg","text":"TemporaryFile(/tmp/multipartBody2436449184801225793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687922539,"filename":"image_12012025_14_16_02_439944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e4730dfbd81c765d480ad72c4aa3b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4051223816797903536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687922539,"filename":"image_12012025_14_17_02_539624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28231962fe3e3af61bb0f71be1173c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1686715874001383350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687922539,"filename":"image_12012025_14_17_02_539624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c8be948c3f8aada1eea1947830508c8.jpg","text":"TemporaryFile(/tmp/multipartBody63498657710916966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687922539,"filename":"image_12012025_14_17_02_539624_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447443","file1":"1328447442","file0":"1328447440","file3":"1328447444"},"map_files_photo_id_array":[{"photo_id":"1328447443","filename":"file2"},{"photo_id":"1328447442","filename":"file1"},{"photo_id":"1328447440","filename":"file0"},{"photo_id":"1328447444","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447440":["hashtag1","hashtag2"]},{"1328447442":["hashtag1","hashtag2"]},{"1328447444":["hashtag1","hashtag2"]},{"1328447443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447440, 1328447442, 1328447444, 1328447443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.68647480010986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:18:22.561816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0003.jpg', '/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0000.jpg', '/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0001.jpg', '/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_02_539624_0003.jpg
/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0000.jpg
/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0001.jpg
/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447452","1328447471","1328447455","1328447485"],"photo_ids_order":["1328447452","1328447455","1328447471","1328447485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52acd4867f7958f99544571033ce86ba.jpg","text":"TemporaryFile(/tmp/multipartBody1182367124603014789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687972926,"filename":"image_12012025_14_17_02_539624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0754e5b24e9ef665afd0fd834fccdfed.jpg","text":"TemporaryFile(/tmp/multipartBody1567645271774253483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687972926,"filename":"image_12012025_14_18_02_658705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6aa0bc349763a7d0a97361d5da4628f2.jpg","text":"TemporaryFile(/tmp/multipartBody1657191577843811319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687972926,"filename":"image_12012025_14_18_02_658705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a95eeb59a48b9a184fa4d8707bd75dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8227756001943586402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736687972926,"filename":"image_12012025_14_18_02_658705_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447471","file1":"1328447455","file0":"1328447452","file3":"1328447485"},"map_files_photo_id_array":[{"photo_id":"1328447471","filename":"file2"},{"photo_id":"1328447455","filename":"file1"},{"photo_id":"1328447452","filename":"file0"},{"photo_id":"1328447485","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447452":["hashtag1","hashtag2"]},{"1328447471":["hashtag1","hashtag2"]},{"1328447455":["hashtag1","hashtag2"]},{"1328447485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447452, 1328447471, 1328447455, 1328447485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.496535778045654 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-12 14:19:22.747316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0003.jpg', '/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0000.jpg', '/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0001.jpg', '/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/18/image_12012025_14_18_02_658705_0003.jpg
/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0000.jpg
/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0001.jpg
/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447499","1328447495","1328447494","1328447497"],"photo_ids_order":["1328447494","1328447495","1328447497","1328447499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfedca9f1c84d4f9f180e26bd0735fee.jpg","text":"TemporaryFile(/tmp/multipartBody8603036469750781844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688033216,"filename":"image_12012025_14_19_02_903475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c89185473da3e92caa8b856c19665ca2.jpg","text":"TemporaryFile(/tmp/multipartBody4081016458562314606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688033216,"filename":"image_12012025_14_19_02_903475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34c2325954ce16a41e5e994517ad87c5.jpg","text":"TemporaryFile(/tmp/multipartBody2561453044567575744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688033216,"filename":"image_12012025_14_18_02_658705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a025c66f0431e96ec54b39c2958e131.jpg","text":"TemporaryFile(/tmp/multipartBody6620015556660314428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688033216,"filename":"image_12012025_14_19_02_903475_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447497","file1":"1328447495","file0":"1328447494","file3":"1328447499"},"map_files_photo_id_array":[{"photo_id":"1328447497","filename":"file2"},{"photo_id":"1328447495","filename":"file1"},{"photo_id":"1328447494","filename":"file0"},{"photo_id":"1328447499","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447499":["hashtag1","hashtag2"]},{"1328447495":["hashtag1","hashtag2"]},{"1328447494":["hashtag1","hashtag2"]},{"1328447497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447499, 1328447495, 1328447494, 1328447497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.14974069595337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:20:21.921752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0003.jpg', '/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0000.jpg', '/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0001.jpg', '/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_02_903475_0003.jpg
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0000.jpg
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0001.jpg
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447512","1328447509","1328447507","1328447510"],"photo_ids_order":["1328447507","1328447509","1328447510","1328447512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ee997502adf2306557f61d68448ce53.jpg","text":"TemporaryFile(/tmp/multipartBody3263089462575332996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688092262,"filename":"image_12012025_14_20_03_109603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfa80e6a81343d0cda7297ad36034eb8.jpg","text":"TemporaryFile(/tmp/multipartBody5187866312117123966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688092262,"filename":"image_12012025_14_20_03_109603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cab8a9bbb197764cd7aea2cdf42d8385.jpg","text":"TemporaryFile(/tmp/multipartBody4654229657372783667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688092262,"filename":"image_12012025_14_19_02_903475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01fdbc3b7a6d788673cf05799bbc32a7.jpg","text":"TemporaryFile(/tmp/multipartBody4528187473353393684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688092262,"filename":"image_12012025_14_20_03_109603_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447510","file1":"1328447509","file0":"1328447507","file3":"1328447512"},"map_files_photo_id_array":[{"photo_id":"1328447510","filename":"file2"},{"photo_id":"1328447509","filename":"file1"},{"photo_id":"1328447507","filename":"file0"},{"photo_id":"1328447512","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447512":["hashtag1","hashtag2"]},{"1328447509":["hashtag1","hashtag2"]},{"1328447507":["hashtag1","hashtag2"]},{"1328447510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447512, 1328447509, 1328447507, 1328447510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71152400970459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:21:02.532238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:21:21.992683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0003.jpg', '/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0000.jpg', '/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0001.jpg', '/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_109603_0003.jpg
/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0000.jpg
/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0001.jpg
/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447530","1328447523","1328447561","1328447537"],"photo_ids_order":["1328447523","1328447530","1328447537","1328447561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7111903679e39e6c7b609e6fc124eee0.jpg","text":"TemporaryFile(/tmp/multipartBody7046834450329669231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688152414,"filename":"image_12012025_14_21_02_253523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cec0e40395ac40945050556bb7daf7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2805275760063668617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688152414,"filename":"image_12012025_14_20_03_109603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7de05a8e9f5562a7bb7e1060529d4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3137963093181445571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688152414,"filename":"image_12012025_14_21_02_253523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/046b66a516fa6944cc2cd3ee71100545.jpg","text":"TemporaryFile(/tmp/multipartBody6678146908316190042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688152414,"filename":"image_12012025_14_21_02_253523_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447537","file1":"1328447530","file0":"1328447523","file3":"1328447561"},"map_files_photo_id_array":[{"photo_id":"1328447537","filename":"file2"},{"photo_id":"1328447530","filename":"file1"},{"photo_id":"1328447523","filename":"file0"},{"photo_id":"1328447561","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447530":["hashtag1","hashtag2"]},{"1328447523":["hashtag1","hashtag2"]},{"1328447561":["hashtag1","hashtag2"]},{"1328447537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447530, 1328447523, 1328447561, 1328447537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28653693199158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:22:02.606546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:22:22.217218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0003.jpg', '/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0000.jpg', '/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0001.jpg', '/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0003.jpg
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0000.jpg
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0001.jpg
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_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.954500198364258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:22:42.134304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0003.jpg', '/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0000.jpg', '/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0001.jpg', '/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_02_253523_0003.jpg
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0000.jpg
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0001.jpg
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_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":["1328447583","1328447580","1328447579","1328447581"],"photo_ids_order":["1328447579","1328447580","1328447581","1328447583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/408bad5ee3ad22ff017ee6dd71e8f2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7553560752923710252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688232494,"filename":"image_12012025_14_22_02_368018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e3314434f59a6ba45381d91e56e8371.jpg","text":"TemporaryFile(/tmp/multipartBody7470562354818396566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688232494,"filename":"image_12012025_14_22_02_368018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10ad42d40d2f15c4511f18ccffcc3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1637430441179494965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688232494,"filename":"image_12012025_14_21_02_253523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3cc60c00f47f3777f215ec6fb07d750.jpg","text":"TemporaryFile(/tmp/multipartBody215806437125174996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688232494,"filename":"image_12012025_14_22_02_368018_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447581","file1":"1328447580","file0":"1328447579","file3":"1328447583"},"map_files_photo_id_array":[{"photo_id":"1328447581","filename":"file2"},{"photo_id":"1328447580","filename":"file1"},{"photo_id":"1328447579","filename":"file0"},{"photo_id":"1328447583","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447583":["hashtag1","hashtag2"]},{"1328447580":["hashtag1","hashtag2"]},{"1328447579":["hashtag1","hashtag2"]},{"1328447581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447583, 1328447580, 1328447579, 1328447581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01446890830994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:23:22.336053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0003.jpg', '/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0000.jpg', '/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0001.jpg', '/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/22/image_12012025_14_22_02_368018_0003.jpg
/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0000.jpg
/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0001.jpg
/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447595","1328447592","1328447597","1328447596"],"photo_ids_order":["1328447592","1328447595","1328447596","1328447597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54268492e68c76ac87768dd96c9e1059.jpg","text":"TemporaryFile(/tmp/multipartBody2914623031596837396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688272672,"filename":"image_12012025_14_23_02_600048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b25f51f2845c07b973460d2eaf55ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1107207102649070767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688272672,"filename":"image_12012025_14_22_02_368018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21175ac2ab7c55b4358250d920acfa22.jpg","text":"TemporaryFile(/tmp/multipartBody5396552222400765499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688272672,"filename":"image_12012025_14_23_02_600048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a324e33e431849c115f60a0b9a230f05.jpg","text":"TemporaryFile(/tmp/multipartBody168761189440755957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688272672,"filename":"image_12012025_14_23_02_600048_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447596","file1":"1328447595","file0":"1328447592","file3":"1328447597"},"map_files_photo_id_array":[{"photo_id":"1328447596","filename":"file2"},{"photo_id":"1328447595","filename":"file1"},{"photo_id":"1328447592","filename":"file0"},{"photo_id":"1328447597","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447595":["hashtag1","hashtag2"]},{"1328447592":["hashtag1","hashtag2"]},{"1328447597":["hashtag1","hashtag2"]},{"1328447596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447595, 1328447592, 1328447597, 1328447596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.941383600234985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:24:03.028606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:24:22.560652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0003.jpg', '/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0000.jpg', '/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0001.jpg', '/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/23/image_12012025_14_23_02_600048_0003.jpg
/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0000.jpg
/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0001.jpg
/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447608","1328447606","1328447636","1328447618"],"photo_ids_order":["1328447606","1328447608","1328447618","1328447636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e27214b8549ad634ef59017e29f135dd.jpg","text":"TemporaryFile(/tmp/multipartBody8243279511368309229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688332936,"filename":"image_12012025_14_24_02_729415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4466617364f8ab3c74a228ef2de75cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3836903548761227512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688332936,"filename":"image_12012025_14_23_02_600048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca121e02b4c6579b659576b40de1c0a9.jpg","text":"TemporaryFile(/tmp/multipartBody6979709370629720807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688332936,"filename":"image_12012025_14_24_02_729415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f808f7a75f2b3215065e0cb8ffd602be.jpg","text":"TemporaryFile(/tmp/multipartBody8332896527852703390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688332936,"filename":"image_12012025_14_24_02_729415_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447618","file1":"1328447608","file0":"1328447606","file3":"1328447636"},"map_files_photo_id_array":[{"photo_id":"1328447618","filename":"file2"},{"photo_id":"1328447608","filename":"file1"},{"photo_id":"1328447606","filename":"file0"},{"photo_id":"1328447636","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447608":["hashtag1","hashtag2"]},{"1328447606":["hashtag1","hashtag2"]},{"1328447636":["hashtag1","hashtag2"]},{"1328447618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447608, 1328447606, 1328447636, 1328447618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.99830913543701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:25:22.859415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0003.jpg', '/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0000.jpg', '/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0001.jpg', '/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/24/image_12012025_14_24_02_729415_0003.jpg
/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0000.jpg
/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0001.jpg
/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447644","1328447646","1328447649","1328447651"],"photo_ids_order":["1328447644","1328447646","1328447649","1328447651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d227e5cebabf978080dcf24e3618535e.jpg","text":"TemporaryFile(/tmp/multipartBody7247509784067678054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688393087,"filename":"image_12012025_14_24_02_729415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cef14c036a407d675710eb7616570846.jpg","text":"TemporaryFile(/tmp/multipartBody3260914541618822813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688393087,"filename":"image_12012025_14_25_02_935025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/244b0957ae6241a8fd8227ece047458c.jpg","text":"TemporaryFile(/tmp/multipartBody2364963372907447664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688393087,"filename":"image_12012025_14_25_02_935025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0dd6fd46b2db78228ad58d6047c82730.jpg","text":"TemporaryFile(/tmp/multipartBody8787175772807832836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688393087,"filename":"image_12012025_14_25_02_935025_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447649","file1":"1328447646","file0":"1328447644","file3":"1328447651"},"map_files_photo_id_array":[{"photo_id":"1328447649","filename":"file2"},{"photo_id":"1328447646","filename":"file1"},{"photo_id":"1328447644","filename":"file0"},{"photo_id":"1328447651","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447644":["hashtag1","hashtag2"]},{"1328447646":["hashtag1","hashtag2"]},{"1328447649":["hashtag1","hashtag2"]},{"1328447651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447644, 1328447646, 1328447649, 1328447651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.040234088897705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:26:21.912674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0003.jpg', '/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0000.jpg', '/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0001.jpg', '/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_02_935025_0003.jpg
/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0000.jpg
/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0001.jpg
/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447664","1328447667","1328447660","1328447662"],"photo_ids_order":["1328447660","1328447662","1328447664","1328447667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7b6574ff18fcfff40b4189ae9a2d906.jpg","text":"TemporaryFile(/tmp/multipartBody6690791160521074900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688452164,"filename":"image_12012025_14_26_03_059394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/900cf15f25d4bd358abee404a2af231c.jpg","text":"TemporaryFile(/tmp/multipartBody61283311742382445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688452164,"filename":"image_12012025_14_26_03_059394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/901cb7db43857cad97cc8d1205b627bf.jpg","text":"TemporaryFile(/tmp/multipartBody6049198663849191508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688452164,"filename":"image_12012025_14_25_02_935025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f1e5424e5278380438a697bc00f7ca8b.jpg","text":"TemporaryFile(/tmp/multipartBody5484888152753034781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688452164,"filename":"image_12012025_14_26_03_059394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447664","file1":"1328447662","file0":"1328447660","file3":"1328447667"},"map_files_photo_id_array":[{"photo_id":"1328447664","filename":"file2"},{"photo_id":"1328447662","filename":"file1"},{"photo_id":"1328447660","filename":"file0"},{"photo_id":"1328447667","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447664":["hashtag1","hashtag2"]},{"1328447667":["hashtag1","hashtag2"]},{"1328447660":["hashtag1","hashtag2"]},{"1328447662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447664, 1328447667, 1328447660, 1328447662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.20864939689636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:27:22.080380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0003.jpg', '/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0000.jpg', '/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0001.jpg', '/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/26/image_12012025_14_26_03_059394_0003.jpg
/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0000.jpg
/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0001.jpg
/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447754","1328447727","1328447753","1328447740"],"photo_ids_order":["1328447727","1328447740","1328447753","1328447754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/867ae5809357860086dec9377901f4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8264929689691777425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688512306,"filename":"image_12012025_14_27_02_306747_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a34c7603e6d7d0f7891bf61ed2ba2bf.jpg","text":"TemporaryFile(/tmp/multipartBody5603294664073769980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688512306,"filename":"image_12012025_14_26_03_059394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db2c9eb82477ddace64acf499f004639.jpg","text":"TemporaryFile(/tmp/multipartBody4225336186546873508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688512306,"filename":"image_12012025_14_27_02_306747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dacac514fbcfd008c5b4a83219367713.jpg","text":"TemporaryFile(/tmp/multipartBody3040333971912781094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688512306,"filename":"image_12012025_14_27_02_306747_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447753","file1":"1328447740","file0":"1328447727","file3":"1328447754"},"map_files_photo_id_array":[{"photo_id":"1328447753","filename":"file2"},{"photo_id":"1328447740","filename":"file1"},{"photo_id":"1328447727","filename":"file0"},{"photo_id":"1328447754","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447754":["hashtag1","hashtag2"]},{"1328447727":["hashtag1","hashtag2"]},{"1328447753":["hashtag1","hashtag2"]},{"1328447740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447754, 1328447727, 1328447753, 1328447740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.60985016822815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:28:02.744275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:28:22.293282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0003.jpg', '/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0000.jpg', '/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0001.jpg', '/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0003.jpg
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0000.jpg
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0001.jpg
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_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.958139181137085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:28:42.294136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0003.jpg', '/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0000.jpg', '/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0001.jpg', '/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/27/image_12012025_14_27_02_306747_0003.jpg
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0000.jpg
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0001.jpg
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447769","1328447768","1328447777","1328447773"],"photo_ids_order":["1328447768","1328447769","1328447773","1328447777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a79ee75655036c3eb257a1890eb72605.jpg","text":"TemporaryFile(/tmp/multipartBody6023510695400316876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688592640,"filename":"image_12012025_14_28_02_462758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c4ba9103c288c57236e7b923bcfffb3.jpg","text":"TemporaryFile(/tmp/multipartBody6150003868290048865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688592640,"filename":"image_12012025_14_27_02_306747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea790c88de2ff8cb518db6408eb9a685.jpg","text":"TemporaryFile(/tmp/multipartBody4977322847653947390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688592640,"filename":"image_12012025_14_28_02_462758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8cd719e7a3d905cfcdff2629318b66e.jpg","text":"TemporaryFile(/tmp/multipartBody3401057947802323135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688592640,"filename":"image_12012025_14_28_02_462758_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447773","file1":"1328447769","file0":"1328447768","file3":"1328447777"},"map_files_photo_id_array":[{"photo_id":"1328447773","filename":"file2"},{"photo_id":"1328447769","filename":"file1"},{"photo_id":"1328447768","filename":"file0"},{"photo_id":"1328447777","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447769":["hashtag1","hashtag2"]},{"1328447768":["hashtag1","hashtag2"]},{"1328447777":["hashtag1","hashtag2"]},{"1328447773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447769, 1328447768, 1328447777, 1328447773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06145429611206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 14:29:32.376102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0003.jpg', '/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0000.jpg', '/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0001.jpg', '/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/28/image_12012025_14_28_02_462758_0003.jpg
/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0000.jpg
/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0001.jpg
/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447793","1328447790","1328447795","1328447789"],"photo_ids_order":["1328447789","1328447790","1328447793","1328447795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c047ced566cc33dc2ace73a9b4ae9f2.jpg","text":"TemporaryFile(/tmp/multipartBody2300964016920611251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688642747,"filename":"image_12012025_14_29_02_602346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0276200b899146637fdec4fbdc7fe5f.jpg","text":"TemporaryFile(/tmp/multipartBody8303667456854412737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688642747,"filename":"image_12012025_14_29_02_602346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b714d67ea9c3c0cfdc8d94877e327f5.jpg","text":"TemporaryFile(/tmp/multipartBody2966343756500938396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688642747,"filename":"image_12012025_14_29_02_602346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a79f80f7ba6ae2bf046a348beb04a217.jpg","text":"TemporaryFile(/tmp/multipartBody4631936259951878424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688642747,"filename":"image_12012025_14_28_02_462758_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447793","file1":"1328447790","file0":"1328447789","file3":"1328447795"},"map_files_photo_id_array":[{"photo_id":"1328447793","filename":"file2"},{"photo_id":"1328447790","filename":"file1"},{"photo_id":"1328447789","filename":"file0"},{"photo_id":"1328447795","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447793":["hashtag1","hashtag2"]},{"1328447790":["hashtag1","hashtag2"]},{"1328447795":["hashtag1","hashtag2"]},{"1328447789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447793, 1328447790, 1328447795, 1328447789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.768803119659424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:30:22.608924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0003.jpg', '/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0000.jpg', '/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0001.jpg', '/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/29/image_12012025_14_29_02_602346_0003.jpg
/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0000.jpg
/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0001.jpg
/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447809","1328447818","1328447834","1328447833"],"photo_ids_order":["1328447809","1328447818","1328447833","1328447834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d61c8d7114e88d88f0410139d1a8ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5908399286071614458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688693123,"filename":"image_12012025_14_29_02_602346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47aae9a9eb37abb1192e6f36d0d3b932.jpg","text":"TemporaryFile(/tmp/multipartBody2423734033176887440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688693123,"filename":"image_12012025_14_30_02_754819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3d8c1d420325bcd369e159c13df476e.jpg","text":"TemporaryFile(/tmp/multipartBody425434468734175110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688693123,"filename":"image_12012025_14_30_02_754819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee32ed11434aa4e3ffd26f22cfe17d28.jpg","text":"TemporaryFile(/tmp/multipartBody1199201551509931032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688693123,"filename":"image_12012025_14_30_02_754819_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447833","file1":"1328447818","file0":"1328447809","file3":"1328447834"},"map_files_photo_id_array":[{"photo_id":"1328447833","filename":"file2"},{"photo_id":"1328447818","filename":"file1"},{"photo_id":"1328447809","filename":"file0"},{"photo_id":"1328447834","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447809":["hashtag1","hashtag2"]},{"1328447818":["hashtag1","hashtag2"]},{"1328447834":["hashtag1","hashtag2"]},{"1328447833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447809, 1328447818, 1328447834, 1328447833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25986933708191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:31:22.781326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0003.jpg', '/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0000.jpg', '/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0001.jpg', '/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_02_754819_0003.jpg
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0000.jpg
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0001.jpg
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447847","1328447843","1328447846","1328447845"],"photo_ids_order":["1328447843","1328447845","1328447846","1328447847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c8f50a56bfe7b52df96eb122c6f5153.jpg","text":"TemporaryFile(/tmp/multipartBody541478499552920073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688753185,"filename":"image_12012025_14_31_02_984669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be14f6c3a6c591bec5912b1346e0d421.jpg","text":"TemporaryFile(/tmp/multipartBody3964867606042039565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688753185,"filename":"image_12012025_14_30_02_754819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a13a2e64dc4760050c72988b628722d.jpg","text":"TemporaryFile(/tmp/multipartBody4763929539561053948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688753185,"filename":"image_12012025_14_31_02_984669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abff79e8c0922f1f2722a566e00c0069.jpg","text":"TemporaryFile(/tmp/multipartBody2517574986254505151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688753185,"filename":"image_12012025_14_31_02_984669_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447846","file1":"1328447845","file0":"1328447843","file3":"1328447847"},"map_files_photo_id_array":[{"photo_id":"1328447846","filename":"file2"},{"photo_id":"1328447845","filename":"file1"},{"photo_id":"1328447843","filename":"file0"},{"photo_id":"1328447847","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447847":["hashtag1","hashtag2"]},{"1328447843":["hashtag1","hashtag2"]},{"1328447846":["hashtag1","hashtag2"]},{"1328447845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447847, 1328447843, 1328447846, 1328447845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.2720627784729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:32:21.943866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0003.jpg', '/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0000.jpg', '/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0001.jpg', '/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_02_984669_0003.jpg
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0000.jpg
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0001.jpg
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447861","1328447855","1328447858","1328447863"],"photo_ids_order":["1328447855","1328447858","1328447861","1328447863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a69ba573973e57346ca5ad8978dc9e5.jpg","text":"TemporaryFile(/tmp/multipartBody862868566744167843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688812257,"filename":"image_12012025_14_32_03_088483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d21de54b63fa9ad7173418fe0b2ebb77.jpg","text":"TemporaryFile(/tmp/multipartBody238148109250825892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688812257,"filename":"image_12012025_14_31_02_984669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2dddf2b5018d63c741b64faafcce69e5.jpg","text":"TemporaryFile(/tmp/multipartBody4486340613343982800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688812257,"filename":"image_12012025_14_32_03_088483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/655b7b63b51045a6563f33c1c4c00948.jpg","text":"TemporaryFile(/tmp/multipartBody5000637342050127195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688812257,"filename":"image_12012025_14_32_03_088483_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447861","file1":"1328447858","file0":"1328447855","file3":"1328447863"},"map_files_photo_id_array":[{"photo_id":"1328447861","filename":"file2"},{"photo_id":"1328447858","filename":"file1"},{"photo_id":"1328447855","filename":"file0"},{"photo_id":"1328447863","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447861":["hashtag1","hashtag2"]},{"1328447855":["hashtag1","hashtag2"]},{"1328447858":["hashtag1","hashtag2"]},{"1328447863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447861, 1328447855, 1328447858, 1328447863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.045658588409424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:33:22.281387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0003.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0000.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0001.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_03_088483_0003.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0000.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0001.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447892","1328447894","1328447890","1328447893"],"photo_ids_order":["1328447890","1328447892","1328447893","1328447894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b4d5eba5d09d89dfb82fd33314a07d7.jpg","text":"TemporaryFile(/tmp/multipartBody5963852391251023759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688872729,"filename":"image_12012025_14_33_02_277948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4037c2af0911d7caf3d9255ff27125a7.jpg","text":"TemporaryFile(/tmp/multipartBody3537128350790053782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688872729,"filename":"image_12012025_14_33_02_277948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67187419d3b1a38d2d3bd80ff9a3ac6b.jpg","text":"TemporaryFile(/tmp/multipartBody121043811913024813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688872729,"filename":"image_12012025_14_32_03_088483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a2ef577850dccd24c7a9430fa0b9b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7050339394780605039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688872729,"filename":"image_12012025_14_33_02_277948_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447893","file1":"1328447892","file0":"1328447890","file3":"1328447894"},"map_files_photo_id_array":[{"photo_id":"1328447893","filename":"file2"},{"photo_id":"1328447892","filename":"file1"},{"photo_id":"1328447890","filename":"file0"},{"photo_id":"1328447894","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447892":["hashtag1","hashtag2"]},{"1328447894":["hashtag1","hashtag2"]},{"1328447890":["hashtag1","hashtag2"]},{"1328447893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447892, 1328447894, 1328447890, 1328447893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.920620918273926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:34:22.300303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0003.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0000.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0001.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0003.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0000.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0001.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_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.954425573348999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:34:42.267741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0003.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0000.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0001.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_02_277948_0003.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0000.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0001.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_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":["1328447908","1328447911","1328447910","1328447913"],"photo_ids_order":["1328447908","1328447910","1328447911","1328447913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9a8924e08ba8217e277866f5573c02f.jpg","text":"TemporaryFile(/tmp/multipartBody8071928533274283949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688952594,"filename":"image_12012025_14_33_02_277948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ccb9708a736107d90071c7b87e80ffcf.jpg","text":"TemporaryFile(/tmp/multipartBody4383656924782154589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688952594,"filename":"image_12012025_14_34_02_491434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d31add02d1b0e8ffe0e571a6a837047.jpg","text":"TemporaryFile(/tmp/multipartBody7790367374191987223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688952594,"filename":"image_12012025_14_34_02_491434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92f8744589ae59357f5683d6ed4bfd92.jpg","text":"TemporaryFile(/tmp/multipartBody7879402408138584196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688952594,"filename":"image_12012025_14_34_02_491434_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447911","file1":"1328447910","file0":"1328447908","file3":"1328447913"},"map_files_photo_id_array":[{"photo_id":"1328447911","filename":"file2"},{"photo_id":"1328447910","filename":"file1"},{"photo_id":"1328447908","filename":"file0"},{"photo_id":"1328447913","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447908":["hashtag1","hashtag2"]},{"1328447911":["hashtag1","hashtag2"]},{"1328447910":["hashtag1","hashtag2"]},{"1328447913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447908, 1328447911, 1328447910, 1328447913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32879948616028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:35:22.580540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0003.jpg', '/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0000.jpg', '/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0001.jpg', '/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_02_491434_0003.jpg
/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0000.jpg
/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0001.jpg
/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328447956","1328447955","1328447952","1328447954"],"photo_ids_order":["1328447952","1328447954","1328447955","1328447956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c033deb0b2e5bf954bbc1159223e08e.jpg","text":"TemporaryFile(/tmp/multipartBody7724468113150606216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688992891,"filename":"image_12012025_14_35_02_606964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8bf980d38e1927d55a8160af52f83c26.jpg","text":"TemporaryFile(/tmp/multipartBody8334851571800499296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688992891,"filename":"image_12012025_14_35_02_606964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab5e4d69d697da112d8ace71b9bf823f.jpg","text":"TemporaryFile(/tmp/multipartBody7338823288007620802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688992891,"filename":"image_12012025_14_34_02_491434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00d9ef7171dd26b8bd69449d25a50949.jpg","text":"TemporaryFile(/tmp/multipartBody294226788515370438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736688992891,"filename":"image_12012025_14_35_02_606964_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328447955","file1":"1328447954","file0":"1328447952","file3":"1328447956"},"map_files_photo_id_array":[{"photo_id":"1328447955","filename":"file2"},{"photo_id":"1328447954","filename":"file1"},{"photo_id":"1328447952","filename":"file0"},{"photo_id":"1328447956","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328447956":["hashtag1","hashtag2"]},{"1328447955":["hashtag1","hashtag2"]},{"1328447952":["hashtag1","hashtag2"]},{"1328447954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328447956, 1328447955, 1328447952, 1328447954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.73932886123657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:36:22.719022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0003.jpg', '/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0000.jpg', '/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0001.jpg', '/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/35/image_12012025_14_35_02_606964_0003.jpg
/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0000.jpg
/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0001.jpg
/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448081","1328448068","1328448082","1328448070"],"photo_ids_order":["1328448068","1328448070","1328448081","1328448082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48e5f18f59f4c2c4594bf3dc6dfcffd9.jpg","text":"TemporaryFile(/tmp/multipartBody7714256837670133102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689053040,"filename":"image_12012025_14_36_02_914328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/868682a6630589ace31cde6e8d2bea25.jpg","text":"TemporaryFile(/tmp/multipartBody2049580835615843144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689053040,"filename":"image_12012025_14_35_02_606964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01635b3323a14ca0ce3ca94e58bb62e7.jpg","text":"TemporaryFile(/tmp/multipartBody2408730484559179872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689053040,"filename":"image_12012025_14_36_02_914328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/463347c8651265b532a903a354743be8.jpg","text":"TemporaryFile(/tmp/multipartBody3465452988056189980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689053040,"filename":"image_12012025_14_36_02_914328_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448081","file1":"1328448070","file0":"1328448068","file3":"1328448082"},"map_files_photo_id_array":[{"photo_id":"1328448081","filename":"file2"},{"photo_id":"1328448070","filename":"file1"},{"photo_id":"1328448068","filename":"file0"},{"photo_id":"1328448082","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448081":["hashtag1","hashtag2"]},{"1328448068":["hashtag1","hashtag2"]},{"1328448082":["hashtag1","hashtag2"]},{"1328448070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448081, 1328448068, 1328448082, 1328448070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67529320716858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:37:21.918142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0003.jpg', '/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0000.jpg', '/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0001.jpg', '/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/36/image_12012025_14_36_02_914328_0003.jpg
/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0000.jpg
/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0001.jpg
/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448093","1328448095","1328448098","1328448101"],"photo_ids_order":["1328448093","1328448095","1328448098","1328448101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c7d1db754e5fe620ac0f788fa9ddf85.jpg","text":"TemporaryFile(/tmp/multipartBody277137329861130124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689112159,"filename":"image_12012025_14_36_02_914328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/93f98105b86f95229de55b098f04384f.jpg","text":"TemporaryFile(/tmp/multipartBody1902345521033061767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689112159,"filename":"image_12012025_14_37_03_063117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87ec616850e50b8a80ad092ee6ed7dac.jpg","text":"TemporaryFile(/tmp/multipartBody6040113282763646623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689112159,"filename":"image_12012025_14_37_03_063117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70c52c0f96ae9d10cb6bde995ebcd456.jpg","text":"TemporaryFile(/tmp/multipartBody6550746518781801620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689112159,"filename":"image_12012025_14_37_03_063117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448098","file1":"1328448095","file0":"1328448093","file3":"1328448101"},"map_files_photo_id_array":[{"photo_id":"1328448098","filename":"file2"},{"photo_id":"1328448095","filename":"file1"},{"photo_id":"1328448093","filename":"file0"},{"photo_id":"1328448101","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448093":["hashtag1","hashtag2"]},{"1328448095":["hashtag1","hashtag2"]},{"1328448098":["hashtag1","hashtag2"]},{"1328448101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448093, 1328448095, 1328448098, 1328448101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.754727602005005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:38:22.016344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0003.jpg', '/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0000.jpg', '/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0001.jpg', '/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/37/image_12012025_14_37_03_063117_0003.jpg
/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0000.jpg
/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0001.jpg
/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448114","1328448108","1328448119","1328448110"],"photo_ids_order":["1328448108","1328448110","1328448114","1328448119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b24ac48b6eccf35529ce953275a4aa87.jpg","text":"TemporaryFile(/tmp/multipartBody2546916389157063069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689172506,"filename":"image_12012025_14_38_02_237909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ccc0a0e7d24e5626090add02d6a57ca.jpg","text":"TemporaryFile(/tmp/multipartBody3759357777485531092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689172506,"filename":"image_12012025_14_37_03_063117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28654050e158ba238788a0d7b4e626e9.jpg","text":"TemporaryFile(/tmp/multipartBody487347864186111281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689172506,"filename":"image_12012025_14_38_02_237909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/556319f4378ac831642a2b0287b1a941.jpg","text":"TemporaryFile(/tmp/multipartBody6573290972540728311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689172506,"filename":"image_12012025_14_38_02_237909_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448114","file1":"1328448110","file0":"1328448108","file3":"1328448119"},"map_files_photo_id_array":[{"photo_id":"1328448114","filename":"file2"},{"photo_id":"1328448110","filename":"file1"},{"photo_id":"1328448108","filename":"file0"},{"photo_id":"1328448119","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448114":["hashtag1","hashtag2"]},{"1328448108":["hashtag1","hashtag2"]},{"1328448119":["hashtag1","hashtag2"]},{"1328448110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448114, 1328448108, 1328448119, 1328448110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46769070625305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:39:02.866141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:39:22.180788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0003.jpg', '/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0000.jpg', '/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0001.jpg', '/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/38/image_12012025_14_38_02_237909_0003.jpg
/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0000.jpg
/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0001.jpg
/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448153","1328448185","1328448164","1328448167"],"photo_ids_order":["1328448153","1328448164","1328448167","1328448185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/daeff26f95cb08b08322e44cc93e5706.jpg","text":"TemporaryFile(/tmp/multipartBody3020873410465269079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689232360,"filename":"image_12012025_14_38_02_237909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6190aed33a7838cec6fff3dfcc6bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody2448212535631338464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689232360,"filename":"image_12012025_14_39_02_402351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f1e9a868e6919bc6accf56a8fc9d1f3.jpg","text":"TemporaryFile(/tmp/multipartBody1913445326850031886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689232360,"filename":"image_12012025_14_39_02_402351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe3c0cf2bf9c1ce505c989159303471e.jpg","text":"TemporaryFile(/tmp/multipartBody24410984066070295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689232360,"filename":"image_12012025_14_39_02_402351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448167","file1":"1328448164","file0":"1328448153","file3":"1328448185"},"map_files_photo_id_array":[{"photo_id":"1328448167","filename":"file2"},{"photo_id":"1328448164","filename":"file1"},{"photo_id":"1328448153","filename":"file0"},{"photo_id":"1328448185","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448153":["hashtag1","hashtag2"]},{"1328448185":["hashtag1","hashtag2"]},{"1328448164":["hashtag1","hashtag2"]},{"1328448167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448153, 1328448185, 1328448164, 1328448167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.667386531829834 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-12 14:40:22.407462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0003.jpg', '/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0000.jpg', '/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0001.jpg', '/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0003.jpg
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0000.jpg
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0001.jpg
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_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.776419162750244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 14:40:42.411083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0003.jpg', '/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0000.jpg', '/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0001.jpg', '/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_02_402351_0003.jpg
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0000.jpg
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0001.jpg
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448195","1328448196","1328448199","1328448198"],"photo_ids_order":["1328448195","1328448196","1328448198","1328448199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43e87e21019f65b679c0019052ce80c3.jpg","text":"TemporaryFile(/tmp/multipartBody1180044489829918134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689312591,"filename":"image_12012025_14_39_02_402351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9bdd8cae622a2130dc05073646d185d7.jpg","text":"TemporaryFile(/tmp/multipartBody3786369757038440618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689312591,"filename":"image_12012025_14_40_02_652397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8456d0746b936c8ce96e9b87590919dd.jpg","text":"TemporaryFile(/tmp/multipartBody3617309508030964966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689312591,"filename":"image_12012025_14_40_02_652397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adf6539a37d51708bcddfb9d0685fa3c.jpg","text":"TemporaryFile(/tmp/multipartBody7126233773961747016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689312591,"filename":"image_12012025_14_40_02_652397_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448198","file1":"1328448196","file0":"1328448195","file3":"1328448199"},"map_files_photo_id_array":[{"photo_id":"1328448198","filename":"file2"},{"photo_id":"1328448196","filename":"file1"},{"photo_id":"1328448195","filename":"file0"},{"photo_id":"1328448199","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448195":["hashtag1","hashtag2"]},{"1328448196":["hashtag1","hashtag2"]},{"1328448199":["hashtag1","hashtag2"]},{"1328448198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448195, 1328448196, 1328448199, 1328448198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59894514083862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 14:41:32.596105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0003.jpg', '/home/pi/Desktop/images/12012025/14/41/image_12012025_14_41_02_807279_0001.jpg', '/home/pi/Desktop/images/12012025/14/41/image_12012025_14_41_02_807279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/40/image_12012025_14_40_02_652397_0003.jpg
/home/pi/Desktop/images/12012025/14/41/image_12012025_14_41_02_807279_0001.jpg
/home/pi/Desktop/images/12012025/14/41/image_12012025_14_41_02_807279_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448210","1328448209","1328448211"],"photo_ids_order":["1328448209","1328448210","1328448211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ffa27607b6a51d940d0feb45027251b5.jpg","text":"TemporaryFile(/tmp/multipartBody6167154435067514553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689360466,"filename":"image_12012025_14_41_02_807279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d16d2906e85e3ff291641f7d271b30e6.jpg","text":"TemporaryFile(/tmp/multipartBody1288146792279032186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689360466,"filename":"image_12012025_14_40_02_652397_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f5624c854b04646e304b5fb624483d3.jpg","text":"TemporaryFile(/tmp/multipartBody3340454726942873214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689360466,"filename":"image_12012025_14_41_02_807279_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448211","file1":"1328448210","file0":"1328448209"},"map_files_photo_id_array":[{"photo_id":"1328448211","filename":"file2"},{"photo_id":"1328448210","filename":"file1"},{"photo_id":"1328448209","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448210":["hashtag1","hashtag2"]},{"1328448209":["hashtag1","hashtag2"]},{"1328448211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448210, 1328448209, 1328448211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.7106454372406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:42:22.752009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/41/image_12012025_14_41_02_807279_0003.jpg', '/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0000.jpg', '/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0001.jpg', '/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/41/image_12012025_14_41_02_807279_0003.jpg
/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0000.jpg
/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0001.jpg
/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448234","1328448225","1328448219","1328448236"],"photo_ids_order":["1328448219","1328448225","1328448234","1328448236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05f82af01fd9e7e31a5af22900b99d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6468410289617148805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689413093,"filename":"image_12012025_14_42_02_942960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/430a7dc65fc03816fa714156ada78c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7423273156981309603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689413093,"filename":"image_12012025_14_42_02_942960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c4a6bcdea9139537a546ffa1235e9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8818694219590203327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689413093,"filename":"image_12012025_14_41_02_807279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67cc21ae8ee1f7b82b0034be56001e91.jpg","text":"TemporaryFile(/tmp/multipartBody3621870079180002606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689413093,"filename":"image_12012025_14_42_02_942960_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448234","file1":"1328448225","file0":"1328448219","file3":"1328448236"},"map_files_photo_id_array":[{"photo_id":"1328448234","filename":"file2"},{"photo_id":"1328448225","filename":"file1"},{"photo_id":"1328448219","filename":"file0"},{"photo_id":"1328448236","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448234":["hashtag1","hashtag2"]},{"1328448225":["hashtag1","hashtag2"]},{"1328448219":["hashtag1","hashtag2"]},{"1328448236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448234, 1328448225, 1328448219, 1328448236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.205020904541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:43:21.931118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0003.jpg', '/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0000.jpg', '/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0001.jpg', '/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/42/image_12012025_14_42_02_942960_0003.jpg
/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0000.jpg
/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0001.jpg
/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448246","1328448245","1328448248","1328448244"],"photo_ids_order":["1328448244","1328448245","1328448246","1328448248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b111433211057c7b6d98cc4851fbd42.jpg","text":"TemporaryFile(/tmp/multipartBody1600802056085778080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689472263,"filename":"image_12012025_14_43_03_074598_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbf3420e23e8288c3f11d135298638c1.jpg","text":"TemporaryFile(/tmp/multipartBody4299817707397581637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689472263,"filename":"image_12012025_14_43_03_074598_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f858da1fc58580b06f84c6c66d49e063.jpg","text":"TemporaryFile(/tmp/multipartBody6279352180984516092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689472263,"filename":"image_12012025_14_43_03_074598_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8866577a52b065c92c93c0457b3adca5.jpg","text":"TemporaryFile(/tmp/multipartBody1715577010564881556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689472263,"filename":"image_12012025_14_42_02_942960_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448246","file1":"1328448245","file0":"1328448244","file3":"1328448248"},"map_files_photo_id_array":[{"photo_id":"1328448246","filename":"file2"},{"photo_id":"1328448245","filename":"file1"},{"photo_id":"1328448244","filename":"file0"},{"photo_id":"1328448248","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448246":["hashtag1","hashtag2"]},{"1328448245":["hashtag1","hashtag2"]},{"1328448248":["hashtag1","hashtag2"]},{"1328448244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448246, 1328448245, 1328448248, 1328448244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.559794902801514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:44:22.122729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0003.jpg', '/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_02_322613_0000.jpg', '/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_02_322613_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/43/image_12012025_14_43_03_074598_0003.jpg
/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_02_322613_0000.jpg
/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_02_322613_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":["1328448270","1328448267","1328448272"],"photo_ids_order":["1328448267","1328448270","1328448272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b1d0e14d07518ecfa32ff4ec7faf936.jpg","text":"TemporaryFile(/tmp/multipartBody3192113110539268155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689529995,"filename":"image_12012025_14_44_02_322613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7af4131f5f0d254594079e9d697cf0c0.jpg","text":"TemporaryFile(/tmp/multipartBody29385861911582575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689529995,"filename":"image_12012025_14_43_03_074598_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/266067916e1b013019b7e5fd703f4562.jpg","text":"TemporaryFile(/tmp/multipartBody6925156700365329977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689529995,"filename":"image_12012025_14_44_02_322613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448272","file1":"1328448270","file0":"1328448267"},"map_files_photo_id_array":[{"photo_id":"1328448272","filename":"file2"},{"photo_id":"1328448270","filename":"file1"},{"photo_id":"1328448267","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448270":["hashtag1","hashtag2"]},{"1328448267":["hashtag1","hashtag2"]},{"1328448272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448270, 1328448267, 1328448272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.46455121040344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:45:02.934694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:45:22.303662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_02_322613_0003.jpg', '/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0000.jpg', '/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0001.jpg', '/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_02_322613_0003.jpg
/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0000.jpg
/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0001.jpg
/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448287","1328448311","1328448314","1328448297"],"photo_ids_order":["1328448287","1328448297","1328448311","1328448314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e34feff4bd109bb73d5f4b06a4a0e40.jpg","text":"TemporaryFile(/tmp/multipartBody8709485776510729634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689592711,"filename":"image_12012025_14_44_02_322613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1d00c379f704dd8eb7d8dd5fa21c932.jpg","text":"TemporaryFile(/tmp/multipartBody2766560365942158827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689592711,"filename":"image_12012025_14_45_02_513498_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/976a2335010b8483187be28598efd1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1709852705735875260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689592711,"filename":"image_12012025_14_45_02_513498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad45e6773a34c7907e654e42a9798a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7335952716641876875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689592711,"filename":"image_12012025_14_45_02_513498_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448311","file1":"1328448297","file0":"1328448287","file3":"1328448314"},"map_files_photo_id_array":[{"photo_id":"1328448311","filename":"file2"},{"photo_id":"1328448297","filename":"file1"},{"photo_id":"1328448287","filename":"file0"},{"photo_id":"1328448314","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448287":["hashtag1","hashtag2"]},{"1328448311":["hashtag1","hashtag2"]},{"1328448314":["hashtag1","hashtag2"]},{"1328448297":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448287, 1328448311, 1328448314, 1328448297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.025888442993164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:46:22.512082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0003.jpg', '/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0000.jpg', '/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0001.jpg', '/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/45/image_12012025_14_45_02_513498_0003.jpg
/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0000.jpg
/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0001.jpg
/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448332","1328448331","1328448325","1328448328"],"photo_ids_order":["1328448325","1328448328","1328448331","1328448332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc3ba1519aafed8df4f78533a67ce296.jpg","text":"TemporaryFile(/tmp/multipartBody5985966780580948701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689652943,"filename":"image_12012025_14_46_02_702255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df5472d30101831329ade2d8193dc8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7717247829540507737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689652943,"filename":"image_12012025_14_46_02_702255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/316049eb5b07991f98014d6e73b49334.jpg","text":"TemporaryFile(/tmp/multipartBody3634346193153910356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689652943,"filename":"image_12012025_14_45_02_513498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4035593130e329f62ffd6bbf1aa1e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody976501344846569819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689652943,"filename":"image_12012025_14_46_02_702255_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448331","file1":"1328448328","file0":"1328448325","file3":"1328448332"},"map_files_photo_id_array":[{"photo_id":"1328448331","filename":"file2"},{"photo_id":"1328448328","filename":"file1"},{"photo_id":"1328448325","filename":"file0"},{"photo_id":"1328448332","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448332":["hashtag1","hashtag2"]},{"1328448331":["hashtag1","hashtag2"]},{"1328448325":["hashtag1","hashtag2"]},{"1328448328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448332, 1328448331, 1328448325, 1328448328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61819911003113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:47:22.789954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0003.jpg', '/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0000.jpg', '/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0001.jpg', '/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/46/image_12012025_14_46_02_702255_0003.jpg
/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0000.jpg
/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0001.jpg
/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448342","1328448344","1328448340","1328448343"],"photo_ids_order":["1328448340","1328448342","1328448343","1328448344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d959eaeedfa60106892b8796d04e176.jpg","text":"TemporaryFile(/tmp/multipartBody2627908991268923589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689713153,"filename":"image_12012025_14_47_02_883169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef4435a40e6d2dd821b06b7af50e473f.jpg","text":"TemporaryFile(/tmp/multipartBody4568575248322712582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689713153,"filename":"image_12012025_14_47_02_883169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff3a2358f4a8438cf1b9992ff5fa0010.jpg","text":"TemporaryFile(/tmp/multipartBody7481645706880113528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689713153,"filename":"image_12012025_14_46_02_702255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1fc81554a267aecfcb93c2c8142d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody2729277286520408321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689713153,"filename":"image_12012025_14_47_02_883169_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448343","file1":"1328448342","file0":"1328448340","file3":"1328448344"},"map_files_photo_id_array":[{"photo_id":"1328448343","filename":"file2"},{"photo_id":"1328448342","filename":"file1"},{"photo_id":"1328448340","filename":"file0"},{"photo_id":"1328448344","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448342":["hashtag1","hashtag2"]},{"1328448344":["hashtag1","hashtag2"]},{"1328448340":["hashtag1","hashtag2"]},{"1328448343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448342, 1328448344, 1328448340, 1328448343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.553762912750244 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-12 14:48:21.920676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0003.jpg', '/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0000.jpg', '/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0001.jpg', '/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/47/image_12012025_14_47_02_883169_0003.jpg
/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0000.jpg
/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0001.jpg
/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448369","1328448360","1328448377","1328448353"],"photo_ids_order":["1328448353","1328448360","1328448369","1328448377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d921e9e9032927d293c7d869120d1027.jpg","text":"TemporaryFile(/tmp/multipartBody7211853362819330742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689772273,"filename":"image_12012025_14_48_03_085897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6456aad6d879d9a03db3335d2ee86c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5814696382397243353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689772273,"filename":"image_12012025_14_48_03_085897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a92df07b6d8d04e213e29379969b2378.jpg","text":"TemporaryFile(/tmp/multipartBody671696668528816505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689772273,"filename":"image_12012025_14_48_03_085897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b77ab6b25a91a5089819771b8580bbf.jpg","text":"TemporaryFile(/tmp/multipartBody5913604249740237974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689772273,"filename":"image_12012025_14_47_02_883169_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448369","file1":"1328448360","file0":"1328448353","file3":"1328448377"},"map_files_photo_id_array":[{"photo_id":"1328448369","filename":"file2"},{"photo_id":"1328448360","filename":"file1"},{"photo_id":"1328448353","filename":"file0"},{"photo_id":"1328448377","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448369":["hashtag1","hashtag2"]},{"1328448360":["hashtag1","hashtag2"]},{"1328448377":["hashtag1","hashtag2"]},{"1328448353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448369, 1328448360, 1328448377, 1328448353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.36392021179199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:49:22.188543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0003.jpg', '/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0000.jpg', '/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0001.jpg', '/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/48/image_12012025_14_48_03_085897_0003.jpg
/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0000.jpg
/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0001.jpg
/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448409","1328448384","1328448387","1328448411"],"photo_ids_order":["1328448384","1328448387","1328448409","1328448411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/155686070f8d606d2ecd0bf64f9bc4bb.jpg","text":"TemporaryFile(/tmp/multipartBody3174362687165776713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689832513,"filename":"image_12012025_14_49_02_262271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6e3ba3bdc184a74931432c091bcafd1.jpg","text":"TemporaryFile(/tmp/multipartBody4458614493087821230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689832513,"filename":"image_12012025_14_48_03_085897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63597a53b69762174a21fc3ee08d310c.jpg","text":"TemporaryFile(/tmp/multipartBody8233418703039945982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689832513,"filename":"image_12012025_14_49_02_262271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8de6deb6e64cf10347b2bfa7bb55460.jpg","text":"TemporaryFile(/tmp/multipartBody456257547942224770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689832513,"filename":"image_12012025_14_49_02_262271_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448409","file1":"1328448387","file0":"1328448384","file3":"1328448411"},"map_files_photo_id_array":[{"photo_id":"1328448409","filename":"file2"},{"photo_id":"1328448387","filename":"file1"},{"photo_id":"1328448384","filename":"file0"},{"photo_id":"1328448411","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448409":["hashtag1","hashtag2"]},{"1328448384":["hashtag1","hashtag2"]},{"1328448387":["hashtag1","hashtag2"]},{"1328448411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448409, 1328448384, 1328448387, 1328448411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.86616325378418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:50:02.577757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:50:22.335518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0003.jpg', '/home/pi/Desktop/images/12012025/14/50/image_12012025_14_50_02_392659_0001.jpg', '/home/pi/Desktop/images/12012025/14/50/image_12012025_14_50_02_392659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/49/image_12012025_14_49_02_262271_0003.jpg
/home/pi/Desktop/images/12012025/14/50/image_12012025_14_50_02_392659_0001.jpg
/home/pi/Desktop/images/12012025/14/50/image_12012025_14_50_02_392659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448426","1328448425","1328448421"],"photo_ids_order":["1328448421","1328448425","1328448426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5a1612087e92c90f8f6780fdbaee209.jpg","text":"TemporaryFile(/tmp/multipartBody8204890484032368391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689890138,"filename":"image_12012025_14_50_02_392659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eeeb7e889536d5be1856a93c0c296a1a.jpg","text":"TemporaryFile(/tmp/multipartBody5129681168005391028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689890138,"filename":"image_12012025_14_50_02_392659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37ca3122e582432188ba7f510aa772de.jpg","text":"TemporaryFile(/tmp/multipartBody3856448129528630369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689890138,"filename":"image_12012025_14_49_02_262271_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448426","file1":"1328448425","file0":"1328448421"},"map_files_photo_id_array":[{"photo_id":"1328448426","filename":"file2"},{"photo_id":"1328448425","filename":"file1"},{"photo_id":"1328448421","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448426":["hashtag1","hashtag2"]},{"1328448425":["hashtag1","hashtag2"]},{"1328448421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448426, 1328448425, 1328448421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.66983151435852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:51:02.947036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:51:22.410559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/50/image_12012025_14_50_02_392659_0003.jpg', '/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_02_604095_0000.jpg', '/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_02_604095_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/50/image_12012025_14_50_02_392659_0003.jpg
/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_02_604095_0000.jpg
/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_02_604095_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448482","1328448443","1328448605"],"photo_ids_order":["1328448443","1328448482","1328448605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49a296aa94ca2978deaf84da921f8f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3598007107284715584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689950211,"filename":"image_12012025_14_51_02_604095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/680b6f7f1ab86e77033cb21a3ca495bc.jpg","text":"TemporaryFile(/tmp/multipartBody5456261304515269551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689950211,"filename":"image_12012025_14_50_02_392659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc7a2349329a17b7d68f38bef0df3b63.jpg","text":"TemporaryFile(/tmp/multipartBody7062434004528832082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736689950211,"filename":"image_12012025_14_51_02_604095_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448605","file1":"1328448482","file0":"1328448443"},"map_files_photo_id_array":[{"photo_id":"1328448605","filename":"file2"},{"photo_id":"1328448482","filename":"file1"},{"photo_id":"1328448443","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448482":["hashtag1","hashtag2"]},{"1328448443":["hashtag1","hashtag2"]},{"1328448605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448482, 1328448443, 1328448605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.564526081085205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:52:02.945094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:52:22.615605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_02_604095_0003.jpg', '/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0000.jpg', '/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0001.jpg', '/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_02_604095_0003.jpg
/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0000.jpg
/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0001.jpg
/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448633","1328448635","1328448631","1328448628"],"photo_ids_order":["1328448628","1328448631","1328448633","1328448635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60c836ae092c287457c05790186f34b8.jpg","text":"TemporaryFile(/tmp/multipartBody4789750906497527291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690012951,"filename":"image_12012025_14_52_02_773541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bf75d08e28850ee5c6bbc9f36778707.jpg","text":"TemporaryFile(/tmp/multipartBody5243814999720652104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690012951,"filename":"image_12012025_14_52_02_773541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97c8ae3e152cf3698f675157bba72574.jpg","text":"TemporaryFile(/tmp/multipartBody5771772291654966333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690012951,"filename":"image_12012025_14_52_02_773541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f4ed9caf22918392c90a15e06e2077a.jpg","text":"TemporaryFile(/tmp/multipartBody5220479299741253586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690012951,"filename":"image_12012025_14_51_02_604095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448633","file1":"1328448631","file0":"1328448628","file3":"1328448635"},"map_files_photo_id_array":[{"photo_id":"1328448633","filename":"file2"},{"photo_id":"1328448631","filename":"file1"},{"photo_id":"1328448628","filename":"file0"},{"photo_id":"1328448635","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448633":["hashtag1","hashtag2"]},{"1328448635":["hashtag1","hashtag2"]},{"1328448631":["hashtag1","hashtag2"]},{"1328448628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448633, 1328448635, 1328448631, 1328448628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66311240196228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:53:21.849296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0003.jpg', '/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0000.jpg', '/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0001.jpg', '/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/52/image_12012025_14_52_02_773541_0003.jpg
/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0000.jpg
/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0001.jpg
/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448653","1328448647","1328448650","1328448643"],"photo_ids_order":["1328448643","1328448647","1328448650","1328448653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e39b2113021088a4c5d23df14cdbd2e.jpg","text":"TemporaryFile(/tmp/multipartBody8589466961714103584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690072080,"filename":"image_12012025_14_53_03_018264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8834ca31d1b64390975c343ea6b3cb8b.jpg","text":"TemporaryFile(/tmp/multipartBody8138768227157705962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690072080,"filename":"image_12012025_14_53_03_018264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ef4959b99503face02869816df16170.jpg","text":"TemporaryFile(/tmp/multipartBody9185781247992669679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690072080,"filename":"image_12012025_14_53_03_018264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba14f1f92af40cca7e18a857dfb833d9.jpg","text":"TemporaryFile(/tmp/multipartBody7614305281936801725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690072080,"filename":"image_12012025_14_52_02_773541_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448650","file1":"1328448647","file0":"1328448643","file3":"1328448653"},"map_files_photo_id_array":[{"photo_id":"1328448650","filename":"file2"},{"photo_id":"1328448647","filename":"file1"},{"photo_id":"1328448643","filename":"file0"},{"photo_id":"1328448653","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448653":["hashtag1","hashtag2"]},{"1328448647":["hashtag1","hashtag2"]},{"1328448650":["hashtag1","hashtag2"]},{"1328448643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448653, 1328448647, 1328448650, 1328448643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.031105518341064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 14:54:02.400383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:54:21.998593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0003.jpg', '/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0000.jpg', '/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0003.jpg
/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0000.jpg
/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.465457439422607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 14:54:31.901630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0003.jpg', '/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0000.jpg', '/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/53/image_12012025_14_53_03_018264_0003.jpg
/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0000.jpg
/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448672","1328448671","1328448668"],"photo_ids_order":["1328448668","1328448671","1328448672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e1aa9647e2b5ae0bfa207634d60e763.jpg","text":"TemporaryFile(/tmp/multipartBody3154348693182569084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690139783,"filename":"image_12012025_14_54_02_125903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dca5b83ab6f8c74ad94c87b39b6de4eb.jpg","text":"TemporaryFile(/tmp/multipartBody3337983226157368376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690139783,"filename":"image_12012025_14_54_02_125903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd3b3ea349c61ca6ce756c05e275bbf6.jpg","text":"TemporaryFile(/tmp/multipartBody5167710735552411898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690139783,"filename":"image_12012025_14_53_03_018264_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448672","file1":"1328448671","file0":"1328448668"},"map_files_photo_id_array":[{"photo_id":"1328448672","filename":"file2"},{"photo_id":"1328448671","filename":"file1"},{"photo_id":"1328448668","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448672":["hashtag1","hashtag2"]},{"1328448671":["hashtag1","hashtag2"]},{"1328448668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448672, 1328448671, 1328448668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.25119972229004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:55:22.173553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0003.jpg', '/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0000.jpg', '/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0001.jpg', '/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/54/image_12012025_14_54_02_125903_0003.jpg
/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0000.jpg
/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0001.jpg
/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448681","1328448684","1328448689","1328448687"],"photo_ids_order":["1328448681","1328448684","1328448687","1328448689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f91531ee07b653d830e6d54f433bb0d0.jpg","text":"TemporaryFile(/tmp/multipartBody6800114075459799629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690192542,"filename":"image_12012025_14_54_02_125903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/425ccc681030bf7390a3a4665148bd85.jpg","text":"TemporaryFile(/tmp/multipartBody2128788482736285943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690192542,"filename":"image_12012025_14_55_02_274097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f4768f5889036b5c4cc02f46b08e5c5.jpg","text":"TemporaryFile(/tmp/multipartBody2164397468960077488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690192542,"filename":"image_12012025_14_55_02_274097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f341ea4a79774280d2e54f0177870adb.jpg","text":"TemporaryFile(/tmp/multipartBody8807998042630982181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690192542,"filename":"image_12012025_14_55_02_274097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448687","file1":"1328448684","file0":"1328448681","file3":"1328448689"},"map_files_photo_id_array":[{"photo_id":"1328448687","filename":"file2"},{"photo_id":"1328448684","filename":"file1"},{"photo_id":"1328448681","filename":"file0"},{"photo_id":"1328448689","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448681":["hashtag1","hashtag2"]},{"1328448684":["hashtag1","hashtag2"]},{"1328448689":["hashtag1","hashtag2"]},{"1328448687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448681, 1328448684, 1328448689, 1328448687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7088828086853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:56:22.314432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0003.jpg', '/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0000.jpg', '/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0001.jpg', '/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_02_274097_0003.jpg
/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0000.jpg
/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0001.jpg
/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448698","1328448702","1328448697","1328448700"],"photo_ids_order":["1328448697","1328448698","1328448700","1328448702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a03f27977b0c1fd96ce0a2c5c32fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody1578669109873576585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690252553,"filename":"image_12012025_14_56_02_462199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1129460a25eb4604ed1eb74de2a33943.jpg","text":"TemporaryFile(/tmp/multipartBody2696292040983431001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690252553,"filename":"image_12012025_14_56_02_462199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/815de824b8161766d4597202632d906c.jpg","text":"TemporaryFile(/tmp/multipartBody612426074375708559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690252553,"filename":"image_12012025_14_55_02_274097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd920a6708e408ae13fbe86a53688eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7240809583127052678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690252553,"filename":"image_12012025_14_56_02_462199_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448700","file1":"1328448698","file0":"1328448697","file3":"1328448702"},"map_files_photo_id_array":[{"photo_id":"1328448700","filename":"file2"},{"photo_id":"1328448698","filename":"file1"},{"photo_id":"1328448697","filename":"file0"},{"photo_id":"1328448702","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448698":["hashtag1","hashtag2"]},{"1328448702":["hashtag1","hashtag2"]},{"1328448697":["hashtag1","hashtag2"]},{"1328448700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448698, 1328448702, 1328448697, 1328448700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3184494972229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 14:57:22.533963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0003.jpg', '/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0000.jpg', '/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0001.jpg', '/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0003.jpg
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0000.jpg
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0001.jpg
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_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-12 14:59:02.391782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0003.jpg', '/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0000.jpg', '/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0001.jpg', '/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/56/image_12012025_14_56_02_462199_0003.jpg
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0000.jpg
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0001.jpg
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328448740","1328448734","1328448751","1328448748"],"photo_ids_order":["1328448734","1328448740","1328448748","1328448751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6baa5146e0263ad98b502b71656c5bda.jpg","text":"TemporaryFile(/tmp/multipartBody7353871577359719557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690412779,"filename":"image_12012025_14_57_02_695858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4d99c060df231d0cef2ac64611018a6.jpg","text":"TemporaryFile(/tmp/multipartBody2297101664100468803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690412779,"filename":"image_12012025_14_56_02_462199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6f258b59171dcb881bd71f0af443f30.jpg","text":"TemporaryFile(/tmp/multipartBody631250007402955727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690412779,"filename":"image_12012025_14_57_02_695858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f1f3490f7ce3e55894ee6d231876c96d.jpg","text":"TemporaryFile(/tmp/multipartBody5674194426412161072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690412779,"filename":"image_12012025_14_57_02_695858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448748","file1":"1328448740","file0":"1328448734","file3":"1328448751"},"map_files_photo_id_array":[{"photo_id":"1328448748","filename":"file2"},{"photo_id":"1328448740","filename":"file1"},{"photo_id":"1328448734","filename":"file0"},{"photo_id":"1328448751","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448740":["hashtag1","hashtag2"]},{"1328448734":["hashtag1","hashtag2"]},{"1328448751":["hashtag1","hashtag2"]},{"1328448748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448740, 1328448734, 1328448751, 1328448748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.86092805862427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 14:59:51.799049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0003.jpg', '/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0000.jpg', '/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0001.jpg', '/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0002.jpg', '/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0003.jpg', '/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/57/image_12012025_14_57_02_695858_0003.jpg
/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0000.jpg
/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0001.jpg
/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0002.jpg
/home/pi/Desktop/images/12012025/14/58/image_12012025_14_58_02_849642_0003.jpg
/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_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":["1328448774","1328448782","1328448770","1328448767","1328448778","1328448763"],"photo_ids_order":["1328448763","1328448767","1328448770","1328448774","1328448778","1328448782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c8a89f2631e39288ca4714964cd1024.jpg","text":"TemporaryFile(/tmp/multipartBody8790818430918697782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690466804,"filename":"image_12012025_14_58_02_849642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c8266d771ae595738b2a3508686d9da.jpg","text":"TemporaryFile(/tmp/multipartBody831328677137525086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690466804,"filename":"image_12012025_14_59_03_050672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd0b80edb7be2ebf89ec3cb83afda53d.jpg","text":"TemporaryFile(/tmp/multipartBody1941694677601280994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690466804,"filename":"image_12012025_14_58_02_849642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48b2070243bcc2d39271a5179e90d664.jpg","text":"TemporaryFile(/tmp/multipartBody927421882027950929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690466804,"filename":"image_12012025_14_58_02_849642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6e93a2aeea3a760501335014510c6df.jpg","text":"TemporaryFile(/tmp/multipartBody5569029627476260958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690466804,"filename":"image_12012025_14_58_02_849642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e6e185ec613e60e0baa99a0680a26c3.jpg","text":"TemporaryFile(/tmp/multipartBody8172414239241084404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690466804,"filename":"image_12012025_14_57_02_695858_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328448770","file1":"1328448767","file0":"1328448763","file4":"1328448778","file5":"1328448782","file3":"1328448774"},"map_files_photo_id_array":[{"photo_id":"1328448782","filename":"file5"},{"photo_id":"1328448770","filename":"file2"},{"photo_id":"1328448778","filename":"file4"},{"photo_id":"1328448767","filename":"file1"},{"photo_id":"1328448763","filename":"file0"},{"photo_id":"1328448774","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328448774":["hashtag1","hashtag2"]},{"1328448782":["hashtag1","hashtag2"]},{"1328448770":["hashtag1","hashtag2"]},{"1328448767":["hashtag1","hashtag2"]},{"1328448778":["hashtag1","hashtag2"]},{"1328448763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328448774, 1328448782, 1328448770, 1328448767, 1328448778, 1328448763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.09936881065369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:00:51.992583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0001.jpg', '/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0002.jpg', '/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0003.jpg', '/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0001.jpg', '/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0001.jpg
/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0002.jpg
/home/pi/Desktop/images/12012025/14/59/image_12012025_14_59_03_050672_0003.jpg
/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0001.jpg
/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328449803","1328449820","1328449814","1328449805","1328449810"],"photo_ids_order":["1328449803","1328449805","1328449810","1328449814","1328449820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0785a428f74a89bd25f83cc82f9ab8e.jpg","text":"TemporaryFile(/tmp/multipartBody79317092780753287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690524521,"filename":"image_12012025_14_59_03_050672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da5caedff5484a04cbc462ae4dd1a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2740468566732071304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690524521,"filename":"image_12012025_15_00_02_199324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58aa1a5feb2ee7deea2c3b906810841a.jpg","text":"TemporaryFile(/tmp/multipartBody6284954969664728309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690524521,"filename":"image_12012025_15_00_02_199324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b23d3e55a6cd96b2c4d02d60c7dbe782.jpg","text":"TemporaryFile(/tmp/multipartBody514929314768030402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690524521,"filename":"image_12012025_14_59_03_050672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d96ed1b7e8ca44db4046a7f6b3310f30.jpg","text":"TemporaryFile(/tmp/multipartBody401968898713537750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690524521,"filename":"image_12012025_14_59_03_050672_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328449810","file1":"1328449805","file0":"1328449803","file4":"1328449820","file3":"1328449814"},"map_files_photo_id_array":[{"photo_id":"1328449810","filename":"file2"},{"photo_id":"1328449820","filename":"file4"},{"photo_id":"1328449805","filename":"file1"},{"photo_id":"1328449803","filename":"file0"},{"photo_id":"1328449814","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328449803":["hashtag1","hashtag2"]},{"1328449820":["hashtag1","hashtag2"]},{"1328449814":["hashtag1","hashtag2"]},{"1328449805":["hashtag1","hashtag2"]},{"1328449810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328449803, 1328449820, 1328449814, 1328449805, 1328449810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.32824087142944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:01:42.223958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0003.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0000.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0001.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0003.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0000.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0001.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_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.90044617652893 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:02:02.831899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0003.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0000.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0001.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/00/image_12012025_15_00_02_199324_0003.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0000.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0001.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328450706","1328450540","1328450968","1328450895"],"photo_ids_order":["1328450540","1328450706","1328450895","1328450968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/920cc7453d07594bda43d4fbf96aee93.jpg","text":"TemporaryFile(/tmp/multipartBody3944529341733390428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690593110,"filename":"image_12012025_15_01_02_397286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88f2df1fa0c436105583618f3740e825.jpg","text":"TemporaryFile(/tmp/multipartBody7171778821383775594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690593110,"filename":"image_12012025_15_00_02_199324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2ef1a6696ca80965a7c0a1738051c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5445127623365186965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690593110,"filename":"image_12012025_15_01_02_397286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e604ace719854fc6e670a9543123ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6577880731782375622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690593110,"filename":"image_12012025_15_01_02_397286_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328450895","file1":"1328450706","file0":"1328450540","file3":"1328450968"},"map_files_photo_id_array":[{"photo_id":"1328450895","filename":"file2"},{"photo_id":"1328450706","filename":"file1"},{"photo_id":"1328450540","filename":"file0"},{"photo_id":"1328450968","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328450706":["hashtag1","hashtag2"]},{"1328450540":["hashtag1","hashtag2"]},{"1328450968":["hashtag1","hashtag2"]},{"1328450895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328450706, 1328450540, 1328450968, 1328450895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.998857259750366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:02:52.362470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0003.jpg', '/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0000.jpg', '/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0001.jpg', '/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_02_397286_0003.jpg
/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0000.jpg
/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0001.jpg
/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_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":["1328451117","1328451126","1328451114","1328451092"],"photo_ids_order":["1328451092","1328451114","1328451117","1328451126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f73f7cb358934b1afcc0c3b7d16ec02.jpg","text":"TemporaryFile(/tmp/multipartBody8891854307518583361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690642629,"filename":"image_12012025_15_02_02_506382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21510e92df8abcbb6f9d87bbe101cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody4212019793186728255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690642629,"filename":"image_12012025_15_02_02_506382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c7431bfc8162051c760fbfe79f81efe.jpg","text":"TemporaryFile(/tmp/multipartBody4853113625146275853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690642629,"filename":"image_12012025_15_02_02_506382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9574880c1aaec7d304476a4d51b9ffed.jpg","text":"TemporaryFile(/tmp/multipartBody7048118097735333387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690642629,"filename":"image_12012025_15_01_02_397286_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451117","file1":"1328451114","file0":"1328451092","file3":"1328451126"},"map_files_photo_id_array":[{"photo_id":"1328451117","filename":"file2"},{"photo_id":"1328451114","filename":"file1"},{"photo_id":"1328451092","filename":"file0"},{"photo_id":"1328451126","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451117":["hashtag1","hashtag2"]},{"1328451126":["hashtag1","hashtag2"]},{"1328451114":["hashtag1","hashtag2"]},{"1328451092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451117, 1328451126, 1328451114, 1328451092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.651357889175415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:03:32.668033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0003.jpg', '/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0000.jpg', '/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0001.jpg', '/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/02/image_12012025_15_02_02_506382_0003.jpg
/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0000.jpg
/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0001.jpg
/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451420","1328451438","1328451417","1328451439"],"photo_ids_order":["1328451417","1328451420","1328451438","1328451439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/180515bdfa81f6568b96561ea23bca0f.jpg","text":"TemporaryFile(/tmp/multipartBody9092314673917435785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690682987,"filename":"image_12012025_15_03_02_762413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84f57449e3cc94ee9314601c2ba90562.jpg","text":"TemporaryFile(/tmp/multipartBody3456898841090419999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690682987,"filename":"image_12012025_15_03_02_762413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3a8e499a05bb88545e60e26d8774964.jpg","text":"TemporaryFile(/tmp/multipartBody4521076094865707425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690682987,"filename":"image_12012025_15_02_02_506382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e473b34070f077b4fdd7f17602d9241.jpg","text":"TemporaryFile(/tmp/multipartBody5158414754429289587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690682987,"filename":"image_12012025_15_03_02_762413_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451438","file1":"1328451420","file0":"1328451417","file3":"1328451439"},"map_files_photo_id_array":[{"photo_id":"1328451438","filename":"file2"},{"photo_id":"1328451420","filename":"file1"},{"photo_id":"1328451417","filename":"file0"},{"photo_id":"1328451439","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451420":["hashtag1","hashtag2"]},{"1328451438":["hashtag1","hashtag2"]},{"1328451417":["hashtag1","hashtag2"]},{"1328451439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451420, 1328451438, 1328451417, 1328451439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07823920249939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:04:22.751027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0003.jpg', '/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0000.jpg', '/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0001.jpg', '/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/03/image_12012025_15_03_02_762413_0003.jpg
/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0000.jpg
/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0001.jpg
/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451452","1328451454","1328451448","1328451453"],"photo_ids_order":["1328451448","1328451452","1328451453","1328451454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a695c79d44386188df8be31d0c187b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7844763448113844243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690732950,"filename":"image_12012025_15_04_02_960891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/532a5fdd38837f58117c850b403fd952.jpg","text":"TemporaryFile(/tmp/multipartBody1130461338412654296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690732950,"filename":"image_12012025_15_04_02_960891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54ac708dd36fcb0e5ef08f5f4ada7454.jpg","text":"TemporaryFile(/tmp/multipartBody1552335397108575365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690732950,"filename":"image_12012025_15_03_02_762413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1717c0575ada10c6b7d6410bd91d572.jpg","text":"TemporaryFile(/tmp/multipartBody1750526745615535428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690732950,"filename":"image_12012025_15_04_02_960891_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451453","file1":"1328451452","file0":"1328451448","file3":"1328451454"},"map_files_photo_id_array":[{"photo_id":"1328451453","filename":"file2"},{"photo_id":"1328451452","filename":"file1"},{"photo_id":"1328451448","filename":"file0"},{"photo_id":"1328451454","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451452":["hashtag1","hashtag2"]},{"1328451454":["hashtag1","hashtag2"]},{"1328451448":["hashtag1","hashtag2"]},{"1328451453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451452, 1328451454, 1328451448, 1328451453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.736494302749634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:05:21.981774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0003.jpg', '/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0000.jpg', '/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0001.jpg', '/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/04/image_12012025_15_04_02_960891_0003.jpg
/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0000.jpg
/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0001.jpg
/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451467","1328451463","1328451465","1328451468"],"photo_ids_order":["1328451463","1328451465","1328451467","1328451468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d3036959657b9ae053f3f56ebfc8969c.jpg","text":"TemporaryFile(/tmp/multipartBody5514953045018414219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690792324,"filename":"image_12012025_15_05_03_093706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8e8febcedfe4d50d21fba2e77522a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7054511368633311457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690792324,"filename":"image_12012025_15_04_02_960891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6d6ae309e03fc81ec11fd6687e27825.jpg","text":"TemporaryFile(/tmp/multipartBody2744269079532058619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690792324,"filename":"image_12012025_15_05_03_093706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bc09a4140c2e3a65e018674adee62b6.jpg","text":"TemporaryFile(/tmp/multipartBody7826102741314980712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690792324,"filename":"image_12012025_15_05_03_093706_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451467","file1":"1328451465","file0":"1328451463","file3":"1328451468"},"map_files_photo_id_array":[{"photo_id":"1328451467","filename":"file2"},{"photo_id":"1328451465","filename":"file1"},{"photo_id":"1328451463","filename":"file0"},{"photo_id":"1328451468","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451467":["hashtag1","hashtag2"]},{"1328451463":["hashtag1","hashtag2"]},{"1328451465":["hashtag1","hashtag2"]},{"1328451468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451467, 1328451463, 1328451465, 1328451468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.12727451324463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:06:22.111739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0003.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0000.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0001.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0003.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0000.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0001.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_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.78609585762024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:06:42.185265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0003.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0000.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0001.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/05/image_12012025_15_05_03_093706_0003.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0000.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0001.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_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":["1328451496","1328451515","1328451517","1328451514"],"photo_ids_order":["1328451496","1328451514","1328451515","1328451517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0aa74d1a11d619e4ef62652f6e6d6022.jpg","text":"TemporaryFile(/tmp/multipartBody460726158985639268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690872364,"filename":"image_12012025_15_05_03_093706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74ebc94c24a7a26e0e7956f31e988c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8679369977677657827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690872364,"filename":"image_12012025_15_06_02_266770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a863d7ce0df8f460b829a3ca7be7c87d.jpg","text":"TemporaryFile(/tmp/multipartBody8500236100430875322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690872364,"filename":"image_12012025_15_06_02_266770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c46487eb4b92e0b5ec3b1e11ecd6ae29.jpg","text":"TemporaryFile(/tmp/multipartBody4546312636563358968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690872364,"filename":"image_12012025_15_06_02_266770_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451515","file1":"1328451514","file0":"1328451496","file3":"1328451517"},"map_files_photo_id_array":[{"photo_id":"1328451515","filename":"file2"},{"photo_id":"1328451514","filename":"file1"},{"photo_id":"1328451496","filename":"file0"},{"photo_id":"1328451517","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451496":["hashtag1","hashtag2"]},{"1328451515":["hashtag1","hashtag2"]},{"1328451517":["hashtag1","hashtag2"]},{"1328451514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451496, 1328451515, 1328451517, 1328451514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.484227895736694 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-12 15:07:32.267590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0003.jpg', '/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0000.jpg', '/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0001.jpg', '/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_02_266770_0003.jpg
/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0000.jpg
/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0001.jpg
/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451528","1328451530","1328451533","1328451527"],"photo_ids_order":["1328451527","1328451528","1328451530","1328451533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6c06c80a40f2b69232149e9b6604d44.jpg","text":"TemporaryFile(/tmp/multipartBody2124243867528958123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690922379,"filename":"image_12012025_15_07_02_463454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aca5d8b72069332343866f30d724ad20.jpg","text":"TemporaryFile(/tmp/multipartBody8946800460178018277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690922379,"filename":"image_12012025_15_07_02_463454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/965b832c62ecb0fc91f8217ab31083ac.jpg","text":"TemporaryFile(/tmp/multipartBody3964495089598773390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690922379,"filename":"image_12012025_15_07_02_463454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a0e4750d7ea34f3c50803baa33e8c17c.jpg","text":"TemporaryFile(/tmp/multipartBody443161614303091322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690922379,"filename":"image_12012025_15_06_02_266770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451530","file1":"1328451528","file0":"1328451527","file3":"1328451533"},"map_files_photo_id_array":[{"photo_id":"1328451530","filename":"file2"},{"photo_id":"1328451528","filename":"file1"},{"photo_id":"1328451527","filename":"file0"},{"photo_id":"1328451533","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451528":["hashtag1","hashtag2"]},{"1328451530":["hashtag1","hashtag2"]},{"1328451533":["hashtag1","hashtag2"]},{"1328451527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451528, 1328451530, 1328451533, 1328451527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31413245201111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:08:22.487763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0003.jpg', '/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0000.jpg', '/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0001.jpg', '/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/07/image_12012025_15_07_02_463454_0003.jpg
/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0000.jpg
/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0001.jpg
/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451584","1328451580","1328451582","1328451579"],"photo_ids_order":["1328451579","1328451580","1328451582","1328451584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b9ea8114966d30a61ba045d149f6b64.jpg","text":"TemporaryFile(/tmp/multipartBody9146277864606906281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690972708,"filename":"image_12012025_15_08_02_637540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d7c40c37b81ac0de423e22736c633ae.jpg","text":"TemporaryFile(/tmp/multipartBody3645960377678743511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690972708,"filename":"image_12012025_15_08_02_637540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b37cfbd8a09dc4283b5b742a052857d9.jpg","text":"TemporaryFile(/tmp/multipartBody6676369016537259393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690972708,"filename":"image_12012025_15_08_02_637540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/687285ceb9c3594ead0d6e6178e6e8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6514717383628318771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736690972708,"filename":"image_12012025_15_07_02_463454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451582","file1":"1328451580","file0":"1328451579","file3":"1328451584"},"map_files_photo_id_array":[{"photo_id":"1328451582","filename":"file2"},{"photo_id":"1328451580","filename":"file1"},{"photo_id":"1328451579","filename":"file0"},{"photo_id":"1328451584","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451584":["hashtag1","hashtag2"]},{"1328451580":["hashtag1","hashtag2"]},{"1328451582":["hashtag1","hashtag2"]},{"1328451579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451584, 1328451580, 1328451582, 1328451579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.146146297454834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:09:22.669712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0003.jpg', '/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0000.jpg', '/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0001.jpg', '/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_02_637540_0003.jpg
/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0000.jpg
/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0001.jpg
/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451623","1328451598","1328451602","1328451591"],"photo_ids_order":["1328451591","1328451598","1328451602","1328451623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05996a8389d2196f9df843c5b4aa7b46.jpg","text":"TemporaryFile(/tmp/multipartBody3842442656294503888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691032950,"filename":"image_12012025_15_09_02_889650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/458228337365fd14be7037a10ae79582.jpg","text":"TemporaryFile(/tmp/multipartBody986915450494185149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691032950,"filename":"image_12012025_15_09_02_889650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5d7b32043c2fd46087d2ba974da8164.jpg","text":"TemporaryFile(/tmp/multipartBody9055904815623207796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691032950,"filename":"image_12012025_15_09_02_889650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86ae6a055f87e7f77850dc5d09f4f0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4033181460084310704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691032950,"filename":"image_12012025_15_08_02_637540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451602","file1":"1328451598","file0":"1328451591","file3":"1328451623"},"map_files_photo_id_array":[{"photo_id":"1328451602","filename":"file2"},{"photo_id":"1328451598","filename":"file1"},{"photo_id":"1328451591","filename":"file0"},{"photo_id":"1328451623","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451623":["hashtag1","hashtag2"]},{"1328451598":["hashtag1","hashtag2"]},{"1328451602":["hashtag1","hashtag2"]},{"1328451591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451623, 1328451598, 1328451602, 1328451591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81298542022705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:10:21.800584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0003.jpg', '/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0000.jpg', '/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0001.jpg', '/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0003.jpg
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0000.jpg
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0001.jpg
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_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.843653202056885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:10:41.850878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0003.jpg', '/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0000.jpg', '/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0001.jpg', '/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/09/image_12012025_15_09_02_889650_0003.jpg
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0000.jpg
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0001.jpg
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_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":["1328451668","1328451662","1328451664","1328451666"],"photo_ids_order":["1328451662","1328451664","1328451666","1328451668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b0e0edd56504e4b8bb6441f991dd5d7.jpg","text":"TemporaryFile(/tmp/multipartBody6750276395576003331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691112084,"filename":"image_12012025_15_10_03_081836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14ebf4e15fc4c5274121f9fd0fa1e01e.jpg","text":"TemporaryFile(/tmp/multipartBody3654991536324827029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691112084,"filename":"image_12012025_15_09_02_889650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/79cfbab3fd690b49ad995b48a798b7fb.jpg","text":"TemporaryFile(/tmp/multipartBody776606157898929497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691112084,"filename":"image_12012025_15_10_03_081836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6732b1d8973315e4650ee31bad8edb53.jpg","text":"TemporaryFile(/tmp/multipartBody1851198208488419110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691112084,"filename":"image_12012025_15_10_03_081836_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451666","file1":"1328451664","file0":"1328451662","file3":"1328451668"},"map_files_photo_id_array":[{"photo_id":"1328451666","filename":"file2"},{"photo_id":"1328451664","filename":"file1"},{"photo_id":"1328451662","filename":"file0"},{"photo_id":"1328451668","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451668":["hashtag1","hashtag2"]},{"1328451662":["hashtag1","hashtag2"]},{"1328451664":["hashtag1","hashtag2"]},{"1328451666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451668, 1328451662, 1328451664, 1328451666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.028804540634155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:11:21.934799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0003.jpg', '/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0000.jpg', '/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0001.jpg', '/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/10/image_12012025_15_10_03_081836_0003.jpg
/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0000.jpg
/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0001.jpg
/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451806","1328451766","1328451811","1328451808"],"photo_ids_order":["1328451766","1328451806","1328451808","1328451811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee125dfa0faaee516238a66b07331bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5258481180320987363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691152212,"filename":"image_12012025_15_11_02_189666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df7402628dd1c053a6d256eb5b0b09f5.jpg","text":"TemporaryFile(/tmp/multipartBody8692215934189617191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691152212,"filename":"image_12012025_15_10_03_081836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/421aae4757f180c3096a51fbe0fad547.jpg","text":"TemporaryFile(/tmp/multipartBody6398612027569795586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691152212,"filename":"image_12012025_15_11_02_189666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4727925d36b163501e4fdb124c410423.jpg","text":"TemporaryFile(/tmp/multipartBody4828335625810826624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691152212,"filename":"image_12012025_15_11_02_189666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451808","file1":"1328451806","file0":"1328451766","file3":"1328451811"},"map_files_photo_id_array":[{"photo_id":"1328451808","filename":"file2"},{"photo_id":"1328451806","filename":"file1"},{"photo_id":"1328451766","filename":"file0"},{"photo_id":"1328451811","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451806":["hashtag1","hashtag2"]},{"1328451766":["hashtag1","hashtag2"]},{"1328451811":["hashtag1","hashtag2"]},{"1328451808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451806, 1328451766, 1328451811, 1328451808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16451358795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:12:02.447018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:12:22.191284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0003.jpg', '/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0000.jpg', '/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0001.jpg', '/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/11/image_12012025_15_11_02_189666_0003.jpg
/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0000.jpg
/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0001.jpg
/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451860","1328451844","1328451861","1328451837"],"photo_ids_order":["1328451837","1328451844","1328451860","1328451861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9311db43331f43ba750105fc41736971.jpg","text":"TemporaryFile(/tmp/multipartBody7472302499352162928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691212941,"filename":"image_12012025_15_12_02_365329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b5e3451c1fc53a0c3c1e86e27ca648c.jpg","text":"TemporaryFile(/tmp/multipartBody84036100600917158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691212941,"filename":"image_12012025_15_12_02_365329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f341bd7cd9729533040d342fd078bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6944670717929043693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691212941,"filename":"image_12012025_15_12_02_365329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75e04c9e7d8ad1abb75d12c465ca5a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8870089821824828202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691212941,"filename":"image_12012025_15_11_02_189666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451860","file1":"1328451844","file0":"1328451837","file3":"1328451861"},"map_files_photo_id_array":[{"photo_id":"1328451860","filename":"file2"},{"photo_id":"1328451844","filename":"file1"},{"photo_id":"1328451837","filename":"file0"},{"photo_id":"1328451861","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451860":["hashtag1","hashtag2"]},{"1328451844":["hashtag1","hashtag2"]},{"1328451861":["hashtag1","hashtag2"]},{"1328451837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451860, 1328451844, 1328451861, 1328451837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.59579157829285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:13:22.409675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0003.jpg', '/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0000.jpg', '/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0001.jpg', '/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_02_365329_0003.jpg
/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0000.jpg
/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0001.jpg
/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451879","1328451873","1328451876","1328451870"],"photo_ids_order":["1328451870","1328451873","1328451876","1328451879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3ce16848de6948d1bbd437160c3c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody4874770969070093220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691272775,"filename":"image_12012025_15_13_02_626155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a70f400b6c9363fc7534afb99db80027.jpg","text":"TemporaryFile(/tmp/multipartBody635466358264773264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691272775,"filename":"image_12012025_15_13_02_626155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc304161bf6852128292bf8e5b94f323.jpg","text":"TemporaryFile(/tmp/multipartBody8940464018713680739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691272775,"filename":"image_12012025_15_13_02_626155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c41896f22779233fa9df10c01c16d885.jpg","text":"TemporaryFile(/tmp/multipartBody1687337150255213465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691272775,"filename":"image_12012025_15_12_02_365329_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328451876","file1":"1328451873","file0":"1328451870","file3":"1328451879"},"map_files_photo_id_array":[{"photo_id":"1328451876","filename":"file2"},{"photo_id":"1328451873","filename":"file1"},{"photo_id":"1328451870","filename":"file0"},{"photo_id":"1328451879","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451879":["hashtag1","hashtag2"]},{"1328451873":["hashtag1","hashtag2"]},{"1328451876":["hashtag1","hashtag2"]},{"1328451870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451879, 1328451873, 1328451876, 1328451870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68613123893738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:14:02.960698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:14:22.596607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0003.jpg', '/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0000.jpg', '/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0001.jpg', '/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0003.jpg
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0000.jpg
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0001.jpg
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_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.018452882766724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:14:42.605938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0003.jpg', '/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0000.jpg', '/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0001.jpg', '/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/13/image_12012025_15_13_02_626155_0003.jpg
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0000.jpg
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0001.jpg
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328451962","1328451911","1328452144","1328452086"],"photo_ids_order":["1328451911","1328451962","1328452086","1328452144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ab40a08b3f117e588cc59eaf4a004b8.jpg","text":"TemporaryFile(/tmp/multipartBody8813648875832474151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691353035,"filename":"image_12012025_15_14_02_749283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5365a9745fe90f45dfaba9a3093cea3f.jpg","text":"TemporaryFile(/tmp/multipartBody6386850125704132762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691353035,"filename":"image_12012025_15_13_02_626155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad360658c37d122ac2f5985a66d726f9.jpg","text":"TemporaryFile(/tmp/multipartBody7643348118037939005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691353035,"filename":"image_12012025_15_14_02_749283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d22445dd208898076f5c892a3150905.jpg","text":"TemporaryFile(/tmp/multipartBody8471825623032935024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691353035,"filename":"image_12012025_15_14_02_749283_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452086","file1":"1328451962","file0":"1328451911","file3":"1328452144"},"map_files_photo_id_array":[{"photo_id":"1328452086","filename":"file2"},{"photo_id":"1328451962","filename":"file1"},{"photo_id":"1328451911","filename":"file0"},{"photo_id":"1328452144","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328451962":["hashtag1","hashtag2"]},{"1328451911":["hashtag1","hashtag2"]},{"1328452144":["hashtag1","hashtag2"]},{"1328452086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328451962, 1328451911, 1328452144, 1328452086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80163025856018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:15:32.695500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0003.jpg', '/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0000.jpg', '/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0001.jpg', '/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/14/image_12012025_15_14_02_749283_0003.jpg
/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0000.jpg
/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0001.jpg
/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452157","1328452183","1328452179","1328452164"],"photo_ids_order":["1328452157","1328452164","1328452179","1328452183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/accf6057b24c0b87515cbc0addc4369f.jpg","text":"TemporaryFile(/tmp/multipartBody7383665648025207580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691403080,"filename":"image_12012025_15_14_02_749283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01b7258437c41fb15997d716f837a995.jpg","text":"TemporaryFile(/tmp/multipartBody3354379837371941342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691403080,"filename":"image_12012025_15_15_02_845066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b3f0983c46af29700e1cfec75588682.jpg","text":"TemporaryFile(/tmp/multipartBody4939460470998633376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691403080,"filename":"image_12012025_15_15_02_845066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ece550edad179660ae945bf30b427637.jpg","text":"TemporaryFile(/tmp/multipartBody5630917078707771701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691403080,"filename":"image_12012025_15_15_02_845066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452179","file1":"1328452164","file0":"1328452157","file3":"1328452183"},"map_files_photo_id_array":[{"photo_id":"1328452179","filename":"file2"},{"photo_id":"1328452164","filename":"file1"},{"photo_id":"1328452157","filename":"file0"},{"photo_id":"1328452183","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452157":["hashtag1","hashtag2"]},{"1328452183":["hashtag1","hashtag2"]},{"1328452179":["hashtag1","hashtag2"]},{"1328452164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452157, 1328452183, 1328452179, 1328452164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.802626609802246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:16:21.974066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0003.jpg', '/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0000.jpg', '/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0001.jpg', '/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/15/image_12012025_15_15_02_845066_0003.jpg
/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0000.jpg
/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0001.jpg
/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452199","1328452194","1328452197","1328452201"],"photo_ids_order":["1328452194","1328452197","1328452199","1328452201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc067612dde57662ad784c9dd3bb3cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4288048096704386129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691452307,"filename":"image_12012025_15_16_03_083111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6793f5cb932070c21da72991d2c87a3.jpg","text":"TemporaryFile(/tmp/multipartBody504458728423580481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691452307,"filename":"image_12012025_15_15_02_845066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03b4bcd0c3bcc09dc1600dffbc342668.jpg","text":"TemporaryFile(/tmp/multipartBody2990318852258481015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691452307,"filename":"image_12012025_15_16_03_083111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f3e9e98f96ad3fe8ad11abd7d925b31.jpg","text":"TemporaryFile(/tmp/multipartBody7129983616940499469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691452307,"filename":"image_12012025_15_16_03_083111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452199","file1":"1328452197","file0":"1328452194","file3":"1328452201"},"map_files_photo_id_array":[{"photo_id":"1328452199","filename":"file2"},{"photo_id":"1328452197","filename":"file1"},{"photo_id":"1328452194","filename":"file0"},{"photo_id":"1328452201","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452199":["hashtag1","hashtag2"]},{"1328452194":["hashtag1","hashtag2"]},{"1328452197":["hashtag1","hashtag2"]},{"1328452201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452199, 1328452194, 1328452197, 1328452201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32566523551941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:17:02.754841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:17:22.154928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0003.jpg', '/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0000.jpg', '/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0001.jpg', '/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_03_083111_0003.jpg
/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0000.jpg
/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0001.jpg
/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452211","1328452210","1328452212","1328452215"],"photo_ids_order":["1328452210","1328452211","1328452212","1328452215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ea98d25875c3ccfc3e4814ce72d2ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5485988395271880461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691512392,"filename":"image_12012025_15_17_02_370341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8fa6126576b787112618bd8d9e88a59.jpg","text":"TemporaryFile(/tmp/multipartBody4420333070952115034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691512392,"filename":"image_12012025_15_16_03_083111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de56ed766c7a7763f6bfbaccd70c734b.jpg","text":"TemporaryFile(/tmp/multipartBody4424295323137000722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691512392,"filename":"image_12012025_15_17_02_370341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24b4e0d86bfe38167cf99c5fcccb0b57.jpg","text":"TemporaryFile(/tmp/multipartBody8695617624450991953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691512392,"filename":"image_12012025_15_17_02_370341_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452212","file1":"1328452211","file0":"1328452210","file3":"1328452215"},"map_files_photo_id_array":[{"photo_id":"1328452212","filename":"file2"},{"photo_id":"1328452211","filename":"file1"},{"photo_id":"1328452210","filename":"file0"},{"photo_id":"1328452215","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452211":["hashtag1","hashtag2"]},{"1328452210":["hashtag1","hashtag2"]},{"1328452212":["hashtag1","hashtag2"]},{"1328452215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452211, 1328452210, 1328452212, 1328452215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.41754698753357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:18:22.361106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0003.jpg', '/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0000.jpg', '/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0001.jpg', '/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/17/image_12012025_15_17_02_370341_0003.jpg
/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0000.jpg
/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0001.jpg
/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452223","1328452232","1328452222","1328452251"],"photo_ids_order":["1328452222","1328452223","1328452232","1328452251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1777e27b979a484c9a3c68b704217a4.jpg","text":"TemporaryFile(/tmp/multipartBody2790256044675608116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691572683,"filename":"image_12012025_15_18_02_465536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b99dd4b04b2a082e58087aafb122c1c.jpg","text":"TemporaryFile(/tmp/multipartBody1942975348543717696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691572683,"filename":"image_12012025_15_18_02_465536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3842dacdf2b631c471e9373f6281747.jpg","text":"TemporaryFile(/tmp/multipartBody1189921803793037545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691572683,"filename":"image_12012025_15_17_02_370341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9e50a4adf52adc65ff9e1487de730eb.jpg","text":"TemporaryFile(/tmp/multipartBody8501323932480213525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691572683,"filename":"image_12012025_15_18_02_465536_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452232","file1":"1328452223","file0":"1328452222","file3":"1328452251"},"map_files_photo_id_array":[{"photo_id":"1328452232","filename":"file2"},{"photo_id":"1328452223","filename":"file1"},{"photo_id":"1328452222","filename":"file0"},{"photo_id":"1328452251","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452223":["hashtag1","hashtag2"]},{"1328452232":["hashtag1","hashtag2"]},{"1328452222":["hashtag1","hashtag2"]},{"1328452251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452223, 1328452232, 1328452222, 1328452251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.355993032455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:19:22.537547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0003.jpg', '/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0000.jpg', '/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0001.jpg', '/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/18/image_12012025_15_18_02_465536_0003.jpg
/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0000.jpg
/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0001.jpg
/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452305","1328452310","1328452307","1328452309"],"photo_ids_order":["1328452305","1328452307","1328452309","1328452310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5725f26d5f5d1a1f14bcce5de895abb6.jpg","text":"TemporaryFile(/tmp/multipartBody3623251145264879412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691633772,"filename":"image_12012025_15_18_02_465536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c819cfd5f4f41bbe58ac56274619fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody4623078041063294313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691633772,"filename":"image_12012025_15_19_02_672302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74f49afe2c5cd3a1e5371223915737f0.jpg","text":"TemporaryFile(/tmp/multipartBody194260498509183889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691633772,"filename":"image_12012025_15_19_02_672302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ef993f5a681894768e4b4450ffd70e9.jpg","text":"TemporaryFile(/tmp/multipartBody7478443969909713982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691633772,"filename":"image_12012025_15_19_02_672302_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452309","file1":"1328452307","file0":"1328452305","file3":"1328452310"},"map_files_photo_id_array":[{"photo_id":"1328452309","filename":"file2"},{"photo_id":"1328452307","filename":"file1"},{"photo_id":"1328452305","filename":"file0"},{"photo_id":"1328452310","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452305":["hashtag1","hashtag2"]},{"1328452310":["hashtag1","hashtag2"]},{"1328452307":["hashtag1","hashtag2"]},{"1328452309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452305, 1328452310, 1328452307, 1328452309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.0794358253479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:20:22.743908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0003.jpg', '/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0000.jpg', '/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0001.jpg', '/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0003.jpg
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0000.jpg
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0001.jpg
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_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.775543689727783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:20:42.671444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0003.jpg', '/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0000.jpg', '/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0001.jpg', '/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/19/image_12012025_15_19_02_672302_0003.jpg
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0000.jpg
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0001.jpg
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_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":["1328452517","1328452516","1328452519","1328452515"],"photo_ids_order":["1328452515","1328452516","1328452517","1328452519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5c0926c2689fb76e9f682ca89559b56.jpg","text":"TemporaryFile(/tmp/multipartBody4360690999052120709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691712856,"filename":"image_12012025_15_20_02_862800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e8bf14500c8cf14898de272f56471dc.jpg","text":"TemporaryFile(/tmp/multipartBody5949780772515445987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691712856,"filename":"image_12012025_15_20_02_862800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3a5a7b9dd5141af97a389c9f81c286c.jpg","text":"TemporaryFile(/tmp/multipartBody2924354139769523773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691712856,"filename":"image_12012025_15_20_02_862800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b40fbd8a8c0bd878ffde2c5f2e074c8.jpg","text":"TemporaryFile(/tmp/multipartBody4133500236180916259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691712856,"filename":"image_12012025_15_19_02_672302_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452517","file1":"1328452516","file0":"1328452515","file3":"1328452519"},"map_files_photo_id_array":[{"photo_id":"1328452517","filename":"file2"},{"photo_id":"1328452516","filename":"file1"},{"photo_id":"1328452515","filename":"file0"},{"photo_id":"1328452519","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452517":["hashtag1","hashtag2"]},{"1328452516":["hashtag1","hashtag2"]},{"1328452519":["hashtag1","hashtag2"]},{"1328452515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452517, 1328452516, 1328452519, 1328452515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84646487236023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:21:21.850020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0003.jpg', '/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0000.jpg', '/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0001.jpg', '/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/20/image_12012025_15_20_02_862800_0003.jpg
/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0000.jpg
/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0001.jpg
/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452556","1328452557","1328452542","1328452527"],"photo_ids_order":["1328452527","1328452542","1328452556","1328452557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9725c4e374083c257d714e8d71101a8.jpg","text":"TemporaryFile(/tmp/multipartBody7070551144325904731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691752106,"filename":"image_12012025_15_21_03_007237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67fca16e3bc9d2e66643ba84162f8996.jpg","text":"TemporaryFile(/tmp/multipartBody172544247954781360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691752106,"filename":"image_12012025_15_21_03_007237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ece2c1e073538074c2b57f068a3eceda.jpg","text":"TemporaryFile(/tmp/multipartBody7387829287232470015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691752106,"filename":"image_12012025_15_21_03_007237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f3b6734fcbfc3e4b486daa5e6d8950c.jpg","text":"TemporaryFile(/tmp/multipartBody5049025641715979421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691752106,"filename":"image_12012025_15_20_02_862800_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452556","file1":"1328452542","file0":"1328452527","file3":"1328452557"},"map_files_photo_id_array":[{"photo_id":"1328452556","filename":"file2"},{"photo_id":"1328452542","filename":"file1"},{"photo_id":"1328452527","filename":"file0"},{"photo_id":"1328452557","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452556":["hashtag1","hashtag2"]},{"1328452557":["hashtag1","hashtag2"]},{"1328452542":["hashtag1","hashtag2"]},{"1328452527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452556, 1328452557, 1328452542, 1328452527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3397479057312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:22:02.354997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:22:22.049047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0003.jpg', '/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0000.jpg', '/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0001.jpg', '/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0003.jpg
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0000.jpg
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0001.jpg
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_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.767124652862549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:22:42.008718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0003.jpg', '/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0000.jpg', '/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0001.jpg', '/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_03_007237_0003.jpg
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0000.jpg
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0001.jpg
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452592","1328452594","1328452591","1328452590"],"photo_ids_order":["1328452590","1328452591","1328452592","1328452594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df04c594f127cfac31de7d63539c3ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3403795299260345661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691832180,"filename":"image_12012025_15_22_02_267309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/322947d57f7564aa57f9bd2d21b02506.jpg","text":"TemporaryFile(/tmp/multipartBody3402313944660630958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691832180,"filename":"image_12012025_15_22_02_267309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d814456f9ee942839be997cccd751b6e.jpg","text":"TemporaryFile(/tmp/multipartBody2665595238761144629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691832180,"filename":"image_12012025_15_22_02_267309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcdfea4c5cee4a5b326adc8cb5bc636e.jpg","text":"TemporaryFile(/tmp/multipartBody5245928597137196853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691832180,"filename":"image_12012025_15_21_03_007237_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452592","file1":"1328452591","file0":"1328452590","file3":"1328452594"},"map_files_photo_id_array":[{"photo_id":"1328452592","filename":"file2"},{"photo_id":"1328452591","filename":"file1"},{"photo_id":"1328452590","filename":"file0"},{"photo_id":"1328452594","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452592":["hashtag1","hashtag2"]},{"1328452594":["hashtag1","hashtag2"]},{"1328452591":["hashtag1","hashtag2"]},{"1328452590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452592, 1328452594, 1328452591, 1328452590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.98513054847717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:23:32.171020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0003.jpg', '/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0000.jpg', '/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0001.jpg', '/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/22/image_12012025_15_22_02_267309_0003.jpg
/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0000.jpg
/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0001.jpg
/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452602","1328452604","1328452607","1328452603"],"photo_ids_order":["1328452602","1328452603","1328452604","1328452607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36dc51fba249c2c8103696623d0385a3.jpg","text":"TemporaryFile(/tmp/multipartBody1252583697704273277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691882348,"filename":"image_12012025_15_22_02_267309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e5f83c05acde8a300c399cd7ae44593.jpg","text":"TemporaryFile(/tmp/multipartBody3486459771643005011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691882348,"filename":"image_12012025_15_23_02_375485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3d97c8510d3f22c955289f43164bfd9.jpg","text":"TemporaryFile(/tmp/multipartBody3375806864121766627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691882348,"filename":"image_12012025_15_23_02_375485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2df55439aa164ed546f4a92d75c3e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8156916532952302766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691882348,"filename":"image_12012025_15_23_02_375485_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452604","file1":"1328452603","file0":"1328452602","file3":"1328452607"},"map_files_photo_id_array":[{"photo_id":"1328452604","filename":"file2"},{"photo_id":"1328452603","filename":"file1"},{"photo_id":"1328452602","filename":"file0"},{"photo_id":"1328452607","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452602":["hashtag1","hashtag2"]},{"1328452604":["hashtag1","hashtag2"]},{"1328452607":["hashtag1","hashtag2"]},{"1328452603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452602, 1328452604, 1328452607, 1328452603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16334819793701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:24:22.344865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0003.jpg', '/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0000.jpg', '/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0001.jpg', '/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/23/image_12012025_15_23_02_375485_0003.jpg
/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0000.jpg
/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0001.jpg
/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452733","1328452736","1328452633","1328452653"],"photo_ids_order":["1328452633","1328452653","1328452733","1328452736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c18999ccc754fffd92745b8416e3eefa.jpg","text":"TemporaryFile(/tmp/multipartBody9025808213041875589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691932545,"filename":"image_12012025_15_24_02_525020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e84eff7e23215d1699c642696ad15705.jpg","text":"TemporaryFile(/tmp/multipartBody146661386901710140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691932545,"filename":"image_12012025_15_24_02_525020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e0026ffc776fadfedaceea8281c0cc10.jpg","text":"TemporaryFile(/tmp/multipartBody1903409957628470813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691932545,"filename":"image_12012025_15_23_02_375485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee31bebcdff18f8c84c3e9b2f3168269.jpg","text":"TemporaryFile(/tmp/multipartBody1236988669049139515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691932545,"filename":"image_12012025_15_24_02_525020_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452733","file1":"1328452653","file0":"1328452633","file3":"1328452736"},"map_files_photo_id_array":[{"photo_id":"1328452733","filename":"file2"},{"photo_id":"1328452653","filename":"file1"},{"photo_id":"1328452633","filename":"file0"},{"photo_id":"1328452736","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452733":["hashtag1","hashtag2"]},{"1328452736":["hashtag1","hashtag2"]},{"1328452633":["hashtag1","hashtag2"]},{"1328452653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452733, 1328452736, 1328452633, 1328452653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26680135726929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:25:03.191739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:25:22.529049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0003.jpg', '/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0000.jpg', '/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0001.jpg', '/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/24/image_12012025_15_24_02_525020_0003.jpg
/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0000.jpg
/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0001.jpg
/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452763","1328452768","1328452765","1328452770"],"photo_ids_order":["1328452763","1328452765","1328452768","1328452770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3515fc05a9b7a670c39f34bbace93d6.jpg","text":"TemporaryFile(/tmp/multipartBody6601317405069013350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691992675,"filename":"image_12012025_15_24_02_525020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c6195d9b7276cce839e9b37aa84dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody1613320501017376695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691992675,"filename":"image_12012025_15_25_02_738544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d8bfc554edb9331b7c9a14fb11581fc.jpg","text":"TemporaryFile(/tmp/multipartBody1542767843338216725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691992675,"filename":"image_12012025_15_25_02_738544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/966839cc09abcefeed95b6b48735c247.jpg","text":"TemporaryFile(/tmp/multipartBody472840122941449459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736691992675,"filename":"image_12012025_15_25_02_738544_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452768","file1":"1328452765","file0":"1328452763","file3":"1328452770"},"map_files_photo_id_array":[{"photo_id":"1328452768","filename":"file2"},{"photo_id":"1328452765","filename":"file1"},{"photo_id":"1328452763","filename":"file0"},{"photo_id":"1328452770","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452763":["hashtag1","hashtag2"]},{"1328452768":["hashtag1","hashtag2"]},{"1328452765":["hashtag1","hashtag2"]},{"1328452770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452763, 1328452768, 1328452765, 1328452770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56226897239685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:26:02.976915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:26:22.631400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0003.jpg', '/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0000.jpg', '/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0001.jpg', '/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_02_738544_0003.jpg
/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0000.jpg
/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0001.jpg
/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452786","1328452780","1328452783","1328452777"],"photo_ids_order":["1328452777","1328452780","1328452783","1328452786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0bd33b686a333cbd5ea7226c966b84e.jpg","text":"TemporaryFile(/tmp/multipartBody4911708227414945919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692052873,"filename":"image_12012025_15_26_02_905299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e531c86f0685b1834fcf0ff99d29b81.jpg","text":"TemporaryFile(/tmp/multipartBody8268155611987554236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692052873,"filename":"image_12012025_15_26_02_905299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dccf34d58a082039eb82128d1b974d68.jpg","text":"TemporaryFile(/tmp/multipartBody925780075459483467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692052873,"filename":"image_12012025_15_26_02_905299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3fe0c592e99d84f7eb76a6953e9744e8.jpg","text":"TemporaryFile(/tmp/multipartBody4992114586431757061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692052873,"filename":"image_12012025_15_25_02_738544_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452783","file1":"1328452780","file0":"1328452777","file3":"1328452786"},"map_files_photo_id_array":[{"photo_id":"1328452783","filename":"file2"},{"photo_id":"1328452780","filename":"file1"},{"photo_id":"1328452777","filename":"file0"},{"photo_id":"1328452786","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452786":["hashtag1","hashtag2"]},{"1328452780":["hashtag1","hashtag2"]},{"1328452783":["hashtag1","hashtag2"]},{"1328452777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452786, 1328452780, 1328452783, 1328452777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56477737426758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:27:21.982151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0003.jpg', '/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0000.jpg', '/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0001.jpg', '/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/26/image_12012025_15_26_02_905299_0003.jpg
/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0000.jpg
/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0001.jpg
/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452799","1328452822","1328452801","1328452806"],"photo_ids_order":["1328452799","1328452801","1328452806","1328452822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8d5ad52432b61afad64eb655ac8d5d0.jpg","text":"TemporaryFile(/tmp/multipartBody5064469923543293173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692112305,"filename":"image_12012025_15_26_02_905299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18277d993632925b95e5863ed5671322.jpg","text":"TemporaryFile(/tmp/multipartBody7686569671278206149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692112305,"filename":"image_12012025_15_27_02_996863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd999bda56345e03ec28ae322a6b4d75.jpg","text":"TemporaryFile(/tmp/multipartBody706793788883051381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692112305,"filename":"image_12012025_15_27_02_996863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c0987ee41f6c277417a4822776b54e7.jpg","text":"TemporaryFile(/tmp/multipartBody3819042079115924832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692112305,"filename":"image_12012025_15_27_02_996863_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452806","file1":"1328452801","file0":"1328452799","file3":"1328452822"},"map_files_photo_id_array":[{"photo_id":"1328452806","filename":"file2"},{"photo_id":"1328452801","filename":"file1"},{"photo_id":"1328452799","filename":"file0"},{"photo_id":"1328452822","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452799":["hashtag1","hashtag2"]},{"1328452822":["hashtag1","hashtag2"]},{"1328452801":["hashtag1","hashtag2"]},{"1328452806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452799, 1328452822, 1328452801, 1328452806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.138583183288574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:28:22.061615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0003.jpg', '/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0000.jpg', '/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0001.jpg', '/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0003.jpg
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0000.jpg
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0001.jpg
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_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.13887333869934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:28:42.058053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0003.jpg', '/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0000.jpg', '/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0001.jpg', '/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_02_996863_0003.jpg
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0000.jpg
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0001.jpg
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_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":["1328452862","1328452856","1328452859","1328452854"],"photo_ids_order":["1328452854","1328452856","1328452859","1328452862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64004986608b6dd8b8f0f5bc487a846b.jpg","text":"TemporaryFile(/tmp/multipartBody7639866853526780853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692192584,"filename":"image_12012025_15_28_02_259366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7760aedb3c67d1860b5c8f2c26b56f71.jpg","text":"TemporaryFile(/tmp/multipartBody5955080522863155800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692192584,"filename":"image_12012025_15_28_02_259366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/99ca7600ca48ac40abd7a2e1687feae3.jpg","text":"TemporaryFile(/tmp/multipartBody8241239894018156786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692192584,"filename":"image_12012025_15_28_02_259366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80f11d959e00e2a7f0d11f9bfbe23b21.jpg","text":"TemporaryFile(/tmp/multipartBody3505554422261971257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692192584,"filename":"image_12012025_15_27_02_996863_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452859","file1":"1328452856","file0":"1328452854","file3":"1328452862"},"map_files_photo_id_array":[{"photo_id":"1328452859","filename":"file2"},{"photo_id":"1328452856","filename":"file1"},{"photo_id":"1328452854","filename":"file0"},{"photo_id":"1328452862","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452862":["hashtag1","hashtag2"]},{"1328452856":["hashtag1","hashtag2"]},{"1328452859":["hashtag1","hashtag2"]},{"1328452854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452862, 1328452856, 1328452859, 1328452854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79653716087341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:29:22.383376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0003.jpg', '/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0000.jpg', '/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0001.jpg', '/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/28/image_12012025_15_28_02_259366_0003.jpg
/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0000.jpg
/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0001.jpg
/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452943","1328452942","1328452939","1328452944"],"photo_ids_order":["1328452939","1328452942","1328452943","1328452944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab8dc5485e86fbd25a33033b4ee4fa15.jpg","text":"TemporaryFile(/tmp/multipartBody9075827022790684480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692232518,"filename":"image_12012025_15_29_02_435591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6db81c18f58588df9573839c389f6c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2716403905816324687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692232518,"filename":"image_12012025_15_29_02_435591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e921f443190e07084c243135c1ae8030.jpg","text":"TemporaryFile(/tmp/multipartBody5082835093436617262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692232518,"filename":"image_12012025_15_28_02_259366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa1a688816297010630070f58231a8b3.jpg","text":"TemporaryFile(/tmp/multipartBody62781257933512848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692232518,"filename":"image_12012025_15_29_02_435591_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452943","file1":"1328452942","file0":"1328452939","file3":"1328452944"},"map_files_photo_id_array":[{"photo_id":"1328452943","filename":"file2"},{"photo_id":"1328452942","filename":"file1"},{"photo_id":"1328452939","filename":"file0"},{"photo_id":"1328452944","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452943":["hashtag1","hashtag2"]},{"1328452942":["hashtag1","hashtag2"]},{"1328452939":["hashtag1","hashtag2"]},{"1328452944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452943, 1328452942, 1328452939, 1328452944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53828430175781 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-12 15:30:22.504599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0003.jpg', '/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0000.jpg', '/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0001.jpg', '/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_02_435591_0003.jpg
/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0000.jpg
/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0001.jpg
/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328452990","1328452984","1328452988","1328452967"],"photo_ids_order":["1328452967","1328452984","1328452988","1328452990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad49ce5c88a92edc641110bccbaf4f1b.jpg","text":"TemporaryFile(/tmp/multipartBody758710900090662656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692292722,"filename":"image_12012025_15_30_02_676947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4ccdbbf699515ff80a9a70184b5b905.jpg","text":"TemporaryFile(/tmp/multipartBody1714764970883855910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692292722,"filename":"image_12012025_15_30_02_676947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9929bce451ee19bf25eddd2009d43bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4947929587916628642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692292722,"filename":"image_12012025_15_30_02_676947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7562d084053c44bd3ef75a83ede40368.jpg","text":"TemporaryFile(/tmp/multipartBody2521972067720698728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692292722,"filename":"image_12012025_15_29_02_435591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328452988","file1":"1328452984","file0":"1328452967","file3":"1328452990"},"map_files_photo_id_array":[{"photo_id":"1328452988","filename":"file2"},{"photo_id":"1328452984","filename":"file1"},{"photo_id":"1328452967","filename":"file0"},{"photo_id":"1328452990","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328452990":["hashtag1","hashtag2"]},{"1328452984":["hashtag1","hashtag2"]},{"1328452988":["hashtag1","hashtag2"]},{"1328452967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328452990, 1328452984, 1328452988, 1328452967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43638825416565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:31:22.587441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0003.jpg', '/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0000.jpg', '/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0001.jpg', '/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/30/image_12012025_15_30_02_676947_0003.jpg
/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0000.jpg
/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0001.jpg
/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453006","1328453007","1328453001","1328453004"],"photo_ids_order":["1328453001","1328453004","1328453006","1328453007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81f28137c5568e6f47ae2fcc8441dabe.jpg","text":"TemporaryFile(/tmp/multipartBody7786480697603856479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692352798,"filename":"image_12012025_15_31_02_802008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07154d9c4c46fab96cc343d73a14034a.jpg","text":"TemporaryFile(/tmp/multipartBody7579335215233443186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692352798,"filename":"image_12012025_15_31_02_802008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47f08b83c3f7075eca350363c7dd1667.jpg","text":"TemporaryFile(/tmp/multipartBody1690600189653390663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692352798,"filename":"image_12012025_15_30_02_676947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/faa37e7bbd8317b287f83ae696111dda.jpg","text":"TemporaryFile(/tmp/multipartBody6103059750452249516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692352798,"filename":"image_12012025_15_31_02_802008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453006","file1":"1328453004","file0":"1328453001","file3":"1328453007"},"map_files_photo_id_array":[{"photo_id":"1328453006","filename":"file2"},{"photo_id":"1328453004","filename":"file1"},{"photo_id":"1328453001","filename":"file0"},{"photo_id":"1328453007","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453006":["hashtag1","hashtag2"]},{"1328453007":["hashtag1","hashtag2"]},{"1328453001":["hashtag1","hashtag2"]},{"1328453004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453006, 1328453007, 1328453001, 1328453004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93218779563904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:32:21.775702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0003.jpg', '/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_02_987583_0001.jpg', '/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_02_987583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/31/image_12012025_15_31_02_802008_0003.jpg
/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_02_987583_0001.jpg
/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_02_987583_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453018","1328453020","1328453014"],"photo_ids_order":["1328453014","1328453018","1328453020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f13c9607d0e715e0fea1202ad0e8d378.jpg","text":"TemporaryFile(/tmp/multipartBody2365661439805113711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692409650,"filename":"image_12012025_15_32_02_987583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55ce1bf0e790fe12a4ac99170510d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1958536281685692029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692409650,"filename":"image_12012025_15_32_02_987583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7435888d1be08e163b6f3f2a84edef86.jpg","text":"TemporaryFile(/tmp/multipartBody8433077309740054901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692409650,"filename":"image_12012025_15_31_02_802008_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453020","file1":"1328453018","file0":"1328453014"},"map_files_photo_id_array":[{"photo_id":"1328453020","filename":"file2"},{"photo_id":"1328453018","filename":"file1"},{"photo_id":"1328453014","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453018":["hashtag1","hashtag2"]},{"1328453020":["hashtag1","hashtag2"]},{"1328453014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453018, 1328453020, 1328453014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.70333003997803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:33:02.445555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:33:21.946714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_02_987583_0003.jpg', '/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0000.jpg', '/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0001.jpg', '/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_02_987583_0003.jpg
/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0000.jpg
/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0001.jpg
/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453039","1328453033","1328453026","1328453028"],"photo_ids_order":["1328453026","1328453028","1328453033","1328453039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a507009bcfb5534d4234fc544d2f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody293973068116570163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692472187,"filename":"image_12012025_15_33_02_155916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8b1bb6f65e7013798f9c5fa9d170920.jpg","text":"TemporaryFile(/tmp/multipartBody7901441828180434642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692472187,"filename":"image_12012025_15_33_02_155916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d00942e2dae731b90b6b4c7e9100112.jpg","text":"TemporaryFile(/tmp/multipartBody7210870439075770928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692472187,"filename":"image_12012025_15_32_02_987583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cb92d30871b9c7c56f6fdb93c660a15.jpg","text":"TemporaryFile(/tmp/multipartBody3231001315511495589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692472187,"filename":"image_12012025_15_33_02_155916_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453033","file1":"1328453028","file0":"1328453026","file3":"1328453039"},"map_files_photo_id_array":[{"photo_id":"1328453033","filename":"file2"},{"photo_id":"1328453028","filename":"file1"},{"photo_id":"1328453026","filename":"file0"},{"photo_id":"1328453039","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453039":["hashtag1","hashtag2"]},{"1328453033":["hashtag1","hashtag2"]},{"1328453026":["hashtag1","hashtag2"]},{"1328453028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453039, 1328453033, 1328453026, 1328453028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.32457375526428 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:34:22.130883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0003.jpg', '/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0000.jpg', '/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0001.jpg', '/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/33/image_12012025_15_33_02_155916_0003.jpg
/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0000.jpg
/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0001.jpg
/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453056","1328453061","1328453058","1328453060"],"photo_ids_order":["1328453056","1328453058","1328453060","1328453061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d92cf1cf46ab4ad8be064c894ff221d3.jpg","text":"TemporaryFile(/tmp/multipartBody1220036814317947541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692532458,"filename":"image_12012025_15_33_02_155916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7b8f04e73c74c68a8f8e87f9068866a.jpg","text":"TemporaryFile(/tmp/multipartBody2094362814491525832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692532458,"filename":"image_12012025_15_34_02_314409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ab870814bcb7bfc6695ee050c363f61.jpg","text":"TemporaryFile(/tmp/multipartBody6472152851960936900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692532458,"filename":"image_12012025_15_34_02_314409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a766fcf98ffae1432138f56e4b7c702.jpg","text":"TemporaryFile(/tmp/multipartBody8297736754928804867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692532458,"filename":"image_12012025_15_34_02_314409_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453060","file1":"1328453058","file0":"1328453056","file3":"1328453061"},"map_files_photo_id_array":[{"photo_id":"1328453060","filename":"file2"},{"photo_id":"1328453058","filename":"file1"},{"photo_id":"1328453056","filename":"file0"},{"photo_id":"1328453061","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453056":["hashtag1","hashtag2"]},{"1328453061":["hashtag1","hashtag2"]},{"1328453058":["hashtag1","hashtag2"]},{"1328453060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453056, 1328453061, 1328453058, 1328453060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.18944478034973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:35:22.328363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0003.jpg', '/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0000.jpg', '/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0001.jpg', '/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_02_314409_0003.jpg
/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0000.jpg
/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0001.jpg
/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453071","1328453068","1328453073","1328453075"],"photo_ids_order":["1328453068","1328453071","1328453073","1328453075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bec19bc0a6f0e145239f82763f8eb788.jpg","text":"TemporaryFile(/tmp/multipartBody2713541702272191357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692592599,"filename":"image_12012025_15_35_02_452435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b939805910ca0c7dc3ecc5006b7a99b5.jpg","text":"TemporaryFile(/tmp/multipartBody8545270048312239199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692592599,"filename":"image_12012025_15_34_02_314409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a18e39e6b2d4df331bfc2f2b075e7418.jpg","text":"TemporaryFile(/tmp/multipartBody3300901315603734066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692592599,"filename":"image_12012025_15_35_02_452435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b82a860f5b4f4301dde7d85d7ed169a7.jpg","text":"TemporaryFile(/tmp/multipartBody851972413668225183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692592599,"filename":"image_12012025_15_35_02_452435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453073","file1":"1328453071","file0":"1328453068","file3":"1328453075"},"map_files_photo_id_array":[{"photo_id":"1328453073","filename":"file2"},{"photo_id":"1328453071","filename":"file1"},{"photo_id":"1328453068","filename":"file0"},{"photo_id":"1328453075","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453071":["hashtag1","hashtag2"]},{"1328453068":["hashtag1","hashtag2"]},{"1328453073":["hashtag1","hashtag2"]},{"1328453075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453071, 1328453068, 1328453073, 1328453075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.144607067108154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:36:22.610672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0003.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0000.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0001.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0003.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0000.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0001.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_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.820149421691895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:36:42.500471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0003.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0000.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0001.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/35/image_12012025_15_35_02_452435_0003.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0000.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0001.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453134","1328453166","1328453162","1328453129"],"photo_ids_order":["1328453129","1328453134","1328453162","1328453166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4fa0945fafe7905d5be2083f02ae149.jpg","text":"TemporaryFile(/tmp/multipartBody8105676033411728104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692672721,"filename":"image_12012025_15_36_02_667082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e424733aeb3592323e8fbc8f3eacb282.jpg","text":"TemporaryFile(/tmp/multipartBody912945608285156254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692672721,"filename":"image_12012025_15_36_02_667082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff4927305c593f7e5d80fcde01c0294d.jpg","text":"TemporaryFile(/tmp/multipartBody1912881348174336754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692672721,"filename":"image_12012025_15_36_02_667082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbfb7c17644090c2d48d12ed0a3cea79.jpg","text":"TemporaryFile(/tmp/multipartBody8484795804741860754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692672721,"filename":"image_12012025_15_35_02_452435_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453162","file1":"1328453134","file0":"1328453129","file3":"1328453166"},"map_files_photo_id_array":[{"photo_id":"1328453162","filename":"file2"},{"photo_id":"1328453134","filename":"file1"},{"photo_id":"1328453129","filename":"file0"},{"photo_id":"1328453166","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453134":["hashtag1","hashtag2"]},{"1328453166":["hashtag1","hashtag2"]},{"1328453162":["hashtag1","hashtag2"]},{"1328453129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453134, 1328453166, 1328453162, 1328453129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55978202819824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:37:31.782385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0003.jpg', '/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0000.jpg', '/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0001.jpg', '/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_02_667082_0003.jpg
/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0000.jpg
/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0001.jpg
/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453182","1328453184","1328453183","1328453186"],"photo_ids_order":["1328453182","1328453183","1328453184","1328453186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ff3da64d6232a03c906224e65cf7f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3735270653795765042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692721977,"filename":"image_12012025_15_36_02_667082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0185fa33c408ef23c4bd412005f5cddc.jpg","text":"TemporaryFile(/tmp/multipartBody8683977445372822363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692721977,"filename":"image_12012025_15_37_02_849402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11f99b315f56359a2c1129b9b9f80a4b.jpg","text":"TemporaryFile(/tmp/multipartBody1416821860345204436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692721977,"filename":"image_12012025_15_37_02_849402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5fedff67fc024de41b2614f0db02170d.jpg","text":"TemporaryFile(/tmp/multipartBody4028855184022085141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692721977,"filename":"image_12012025_15_37_02_849402_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453184","file1":"1328453183","file0":"1328453182","file3":"1328453186"},"map_files_photo_id_array":[{"photo_id":"1328453184","filename":"file2"},{"photo_id":"1328453183","filename":"file1"},{"photo_id":"1328453182","filename":"file0"},{"photo_id":"1328453186","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453182":["hashtag1","hashtag2"]},{"1328453184":["hashtag1","hashtag2"]},{"1328453183":["hashtag1","hashtag2"]},{"1328453186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453182, 1328453184, 1328453183, 1328453186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.11716318130493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:38:22.013569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0003.jpg', '/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0000.jpg', '/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0001.jpg', '/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_02_849402_0003.jpg
/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0000.jpg
/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0001.jpg
/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453204","1328453201","1328453196","1328453198"],"photo_ids_order":["1328453196","1328453198","1328453201","1328453204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/edf772915fd62b42b940dc3e08b1c2b5.jpg","text":"TemporaryFile(/tmp/multipartBody629733713779332353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692772357,"filename":"image_12012025_15_38_02_168569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f30f3d2cbca5bafe160405dd86c27842.jpg","text":"TemporaryFile(/tmp/multipartBody3692172699158041412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692772357,"filename":"image_12012025_15_38_02_168569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6edfeab420cd5c4beeb69d461ebfd6e3.jpg","text":"TemporaryFile(/tmp/multipartBody4377740103035386823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692772357,"filename":"image_12012025_15_37_02_849402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/efa25236f82d97f9c5b1ffd19fd986e9.jpg","text":"TemporaryFile(/tmp/multipartBody632249127146440974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692772357,"filename":"image_12012025_15_38_02_168569_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453201","file1":"1328453198","file0":"1328453196","file3":"1328453204"},"map_files_photo_id_array":[{"photo_id":"1328453201","filename":"file2"},{"photo_id":"1328453198","filename":"file1"},{"photo_id":"1328453196","filename":"file0"},{"photo_id":"1328453204","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453204":["hashtag1","hashtag2"]},{"1328453201":["hashtag1","hashtag2"]},{"1328453196":["hashtag1","hashtag2"]},{"1328453198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453204, 1328453201, 1328453196, 1328453198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23020625114441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:39:02.702095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:39:22.107997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0003.jpg', '/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_02_307737_0000.jpg', '/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_02_307737_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/38/image_12012025_15_38_02_168569_0003.jpg
/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_02_307737_0000.jpg
/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_02_307737_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":["1328453223","1328453211","1328453214"],"photo_ids_order":["1328453211","1328453214","1328453223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3bc221f89dc4d947bf8aa32a65d7fe2.jpg","text":"TemporaryFile(/tmp/multipartBody682181588880683051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692829963,"filename":"image_12012025_15_39_02_307737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c11056c801db41ec544b88646db7f2eb.jpg","text":"TemporaryFile(/tmp/multipartBody4023018667821527529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692829963,"filename":"image_12012025_15_38_02_168569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e9c276ddc1a261d9ba7a9d0802358cd.jpg","text":"TemporaryFile(/tmp/multipartBody1743843387489122547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692829963,"filename":"image_12012025_15_39_02_307737_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453223","file1":"1328453214","file0":"1328453211"},"map_files_photo_id_array":[{"photo_id":"1328453223","filename":"file2"},{"photo_id":"1328453214","filename":"file1"},{"photo_id":"1328453211","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453223":["hashtag1","hashtag2"]},{"1328453211":["hashtag1","hashtag2"]},{"1328453214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453223, 1328453211, 1328453214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.914895057678223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:40:02.676510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:40:22.287768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_02_307737_0003.jpg', '/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0000.jpg', '/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0001.jpg', '/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_02_307737_0003.jpg
/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0000.jpg
/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0001.jpg
/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453312","1328453306","1328453314","1328453307"],"photo_ids_order":["1328453306","1328453307","1328453312","1328453314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfab218624b2ca185bfd333778b43920.jpg","text":"TemporaryFile(/tmp/multipartBody8137527594873054196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692892510,"filename":"image_12012025_15_40_02_549107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1e551cce63fa2d23f9f8cb9f41bab03.jpg","text":"TemporaryFile(/tmp/multipartBody2513221924648696488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692892510,"filename":"image_12012025_15_39_02_307737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8d40e7878c6a5bf469b372e1f81a167.jpg","text":"TemporaryFile(/tmp/multipartBody5760308730275270497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692892510,"filename":"image_12012025_15_40_02_549107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3632bbcb95acad79e0b5f657bb2ac6e.jpg","text":"TemporaryFile(/tmp/multipartBody5282057752517914875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692892510,"filename":"image_12012025_15_40_02_549107_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453312","file1":"1328453307","file0":"1328453306","file3":"1328453314"},"map_files_photo_id_array":[{"photo_id":"1328453312","filename":"file2"},{"photo_id":"1328453307","filename":"file1"},{"photo_id":"1328453306","filename":"file0"},{"photo_id":"1328453314","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453312":["hashtag1","hashtag2"]},{"1328453306":["hashtag1","hashtag2"]},{"1328453314":["hashtag1","hashtag2"]},{"1328453307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453312, 1328453306, 1328453314, 1328453307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.546138286590576 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-12 15:41:22.507270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0003.jpg', '/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0000.jpg', '/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0001.jpg', '/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/40/image_12012025_15_40_02_549107_0003.jpg
/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0000.jpg
/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0001.jpg
/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453332","1328453442","1328453331","1328453378"],"photo_ids_order":["1328453331","1328453332","1328453378","1328453442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7eeeee4ff5117dd92fe8d70ae53783b2.jpg","text":"TemporaryFile(/tmp/multipartBody5919223358790894369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692952949,"filename":"image_12012025_15_41_02_711883_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69c1d785a0ea5e8d3dbcac4405134629.jpg","text":"TemporaryFile(/tmp/multipartBody3556851201934726065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692952949,"filename":"image_12012025_15_41_02_711883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75e5ef89b00dad44b80fe6c93059092e.jpg","text":"TemporaryFile(/tmp/multipartBody3151315160510228442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692952949,"filename":"image_12012025_15_40_02_549107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c72a6c298bb9178927392863a171e04b.jpg","text":"TemporaryFile(/tmp/multipartBody1039533928034383632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736692952949,"filename":"image_12012025_15_41_02_711883_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453378","file1":"1328453332","file0":"1328453331","file3":"1328453442"},"map_files_photo_id_array":[{"photo_id":"1328453378","filename":"file2"},{"photo_id":"1328453332","filename":"file1"},{"photo_id":"1328453331","filename":"file0"},{"photo_id":"1328453442","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453332":["hashtag1","hashtag2"]},{"1328453442":["hashtag1","hashtag2"]},{"1328453331":["hashtag1","hashtag2"]},{"1328453378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453332, 1328453442, 1328453331, 1328453378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.798096895217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:42:22.674996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0003.jpg', '/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0000.jpg', '/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0003.jpg
/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0000.jpg
/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.453405857086182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:42:32.592376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0003.jpg', '/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0000.jpg', '/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_02_711883_0003.jpg
/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0000.jpg
/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453456","1328453466","1328453480"],"photo_ids_order":["1328453456","1328453466","1328453480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/182573ab68581b9b4558d0bf95ff45b1.jpg","text":"TemporaryFile(/tmp/multipartBody2050716198164698980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693020423,"filename":"image_12012025_15_41_02_711883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07578f4bcea15dcaedbdd5d4716e4e83.jpg","text":"TemporaryFile(/tmp/multipartBody3564961162948998466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693020423,"filename":"image_12012025_15_42_02_791410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3972e1efeea7597d97aee01f5d3f7f38.jpg","text":"TemporaryFile(/tmp/multipartBody6084461553915446159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693020423,"filename":"image_12012025_15_42_02_791410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453480","file1":"1328453466","file0":"1328453456"},"map_files_photo_id_array":[{"photo_id":"1328453480","filename":"file2"},{"photo_id":"1328453466","filename":"file1"},{"photo_id":"1328453456","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453456":["hashtag1","hashtag2"]},{"1328453466":["hashtag1","hashtag2"]},{"1328453480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453456, 1328453466, 1328453480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.854472637176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:43:21.824877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0003.jpg', '/home/pi/Desktop/images/12012025/15/43/image_12012025_15_43_02_971272_0001.jpg', '/home/pi/Desktop/images/12012025/15/43/image_12012025_15_43_02_971272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_02_791410_0003.jpg
/home/pi/Desktop/images/12012025/15/43/image_12012025_15_43_02_971272_0001.jpg
/home/pi/Desktop/images/12012025/15/43/image_12012025_15_43_02_971272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453494","1328453490","1328453493"],"photo_ids_order":["1328453490","1328453493","1328453494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/104171d3da657dc35f09fc3fc122ef65.jpg","text":"TemporaryFile(/tmp/multipartBody3545013648526309466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693069704,"filename":"image_12012025_15_43_02_971272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45b45bef1244423f2f28825e37c19c12.jpg","text":"TemporaryFile(/tmp/multipartBody3674626281554806536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693069704,"filename":"image_12012025_15_42_02_791410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1151b319194c42e141964e6d65af31ac.jpg","text":"TemporaryFile(/tmp/multipartBody699634025693563827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693069704,"filename":"image_12012025_15_43_02_971272_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453494","file1":"1328453493","file0":"1328453490"},"map_files_photo_id_array":[{"photo_id":"1328453494","filename":"file2"},{"photo_id":"1328453493","filename":"file1"},{"photo_id":"1328453490","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453494":["hashtag1","hashtag2"]},{"1328453490":["hashtag1","hashtag2"]},{"1328453493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453494, 1328453490, 1328453493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.761687994003296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:44:02.413263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:44:22.003168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/43/image_12012025_15_43_02_971272_0003.jpg', '/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0000.jpg', '/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0001.jpg', '/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/43/image_12012025_15_43_02_971272_0003.jpg
/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0000.jpg
/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0001.jpg
/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453522","1328453518","1328453514","1328453525"],"photo_ids_order":["1328453514","1328453518","1328453522","1328453525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e598a90366e600fb2b2d75c1f068788a.jpg","text":"TemporaryFile(/tmp/multipartBody2720219339450337536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693132450,"filename":"image_12012025_15_44_02_188756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10af55c86eb4ae3b82f4257eeb2a2505.jpg","text":"TemporaryFile(/tmp/multipartBody461663712059029339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693132450,"filename":"image_12012025_15_44_02_188756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa44c0f703d7f2854b16ec60ef8886c3.jpg","text":"TemporaryFile(/tmp/multipartBody8777969901124467406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693132450,"filename":"image_12012025_15_43_02_971272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d809b66c5bbc5b534a29526429102ef.jpg","text":"TemporaryFile(/tmp/multipartBody3965202805402258515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693132450,"filename":"image_12012025_15_44_02_188756_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453522","file1":"1328453518","file0":"1328453514","file3":"1328453525"},"map_files_photo_id_array":[{"photo_id":"1328453522","filename":"file2"},{"photo_id":"1328453518","filename":"file1"},{"photo_id":"1328453514","filename":"file0"},{"photo_id":"1328453525","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453522":["hashtag1","hashtag2"]},{"1328453518":["hashtag1","hashtag2"]},{"1328453514":["hashtag1","hashtag2"]},{"1328453525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453522, 1328453518, 1328453514, 1328453525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34234356880188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:45:22.243421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0003.jpg', '/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0000.jpg', '/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0001.jpg', '/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_02_188756_0003.jpg
/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0000.jpg
/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0001.jpg
/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453539","1328453547","1328453562","1328453541"],"photo_ids_order":["1328453539","1328453541","1328453547","1328453562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1fe6d53bca3c797881f1642102b90f50.jpg","text":"TemporaryFile(/tmp/multipartBody3353705898651231043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693192550,"filename":"image_12012025_15_44_02_188756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4926b896da7b81ba9e6cd53aafd183df.jpg","text":"TemporaryFile(/tmp/multipartBody5744410870074963080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693192550,"filename":"image_12012025_15_45_02_457488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8d52b341fd8262533935bf96180d979.jpg","text":"TemporaryFile(/tmp/multipartBody8873411455691241461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693192550,"filename":"image_12012025_15_45_02_457488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd56fd21bcc150330e4df0275f11bc3b.jpg","text":"TemporaryFile(/tmp/multipartBody390921836650522849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693192550,"filename":"image_12012025_15_45_02_457488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453547","file1":"1328453541","file0":"1328453539","file3":"1328453562"},"map_files_photo_id_array":[{"photo_id":"1328453547","filename":"file2"},{"photo_id":"1328453541","filename":"file1"},{"photo_id":"1328453539","filename":"file0"},{"photo_id":"1328453562","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453539":["hashtag1","hashtag2"]},{"1328453547":["hashtag1","hashtag2"]},{"1328453562":["hashtag1","hashtag2"]},{"1328453541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453539, 1328453547, 1328453562, 1328453541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88668656349182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:46:22.343692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0003.jpg', '/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0000.jpg', '/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0001.jpg', '/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_02_457488_0003.jpg
/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0000.jpg
/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0001.jpg
/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453587","1328453586","1328453589","1328453591"],"photo_ids_order":["1328453586","1328453587","1328453589","1328453591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14763630bf2eafcbb0d403d8251bdcda.jpg","text":"TemporaryFile(/tmp/multipartBody7276066564419641059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693252526,"filename":"image_12012025_15_46_02_511406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46e7c983ed73402dece523bb5a5e19a9.jpg","text":"TemporaryFile(/tmp/multipartBody4568746474109057236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693252526,"filename":"image_12012025_15_45_02_457488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cd99f21e35518de866b3f88221d5444.jpg","text":"TemporaryFile(/tmp/multipartBody6292967432373866299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693252526,"filename":"image_12012025_15_46_02_511406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e595b1550f5333c8d2ca2a217b1446b2.jpg","text":"TemporaryFile(/tmp/multipartBody1715879572617622519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693252526,"filename":"image_12012025_15_46_02_511406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453589","file1":"1328453587","file0":"1328453586","file3":"1328453591"},"map_files_photo_id_array":[{"photo_id":"1328453589","filename":"file2"},{"photo_id":"1328453587","filename":"file1"},{"photo_id":"1328453586","filename":"file0"},{"photo_id":"1328453591","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453587":["hashtag1","hashtag2"]},{"1328453586":["hashtag1","hashtag2"]},{"1328453589":["hashtag1","hashtag2"]},{"1328453591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453587, 1328453586, 1328453589, 1328453591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.62708353996277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:47:22.628853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0003.jpg', '/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0000.jpg', '/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0001.jpg', '/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/46/image_12012025_15_46_02_511406_0003.jpg
/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0000.jpg
/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0001.jpg
/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453606","1328453603","1328453608","1328453607"],"photo_ids_order":["1328453603","1328453606","1328453607","1328453608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52cd61c98aa9aaf6cc7ce3f26d4ae285.jpg","text":"TemporaryFile(/tmp/multipartBody6886512240701630282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693312752,"filename":"image_12012025_15_47_02_765372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b017a168f7ca7fa8ca0124e503905dc.jpg","text":"TemporaryFile(/tmp/multipartBody2174816022764714455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693312752,"filename":"image_12012025_15_46_02_511406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9abed23a735e54c94f8b7353ae464c57.jpg","text":"TemporaryFile(/tmp/multipartBody4957138005448158224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693312752,"filename":"image_12012025_15_47_02_765372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13002d08e66092b951990cc29dd26994.jpg","text":"TemporaryFile(/tmp/multipartBody3609026776641550153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693312752,"filename":"image_12012025_15_47_02_765372_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453607","file1":"1328453606","file0":"1328453603","file3":"1328453608"},"map_files_photo_id_array":[{"photo_id":"1328453607","filename":"file2"},{"photo_id":"1328453606","filename":"file1"},{"photo_id":"1328453603","filename":"file0"},{"photo_id":"1328453608","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453606":["hashtag1","hashtag2"]},{"1328453603":["hashtag1","hashtag2"]},{"1328453608":["hashtag1","hashtag2"]},{"1328453607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453606, 1328453603, 1328453608, 1328453607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03128004074097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:48:03.134539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:48:22.639075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0003.jpg', '/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0000.jpg', '/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0001.jpg', '/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0003.jpg
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0000.jpg
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0001.jpg
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_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.72423005104065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:48:42.652895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0003.jpg', '/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0000.jpg', '/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0001.jpg', '/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_02_765372_0003.jpg
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0000.jpg
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0001.jpg
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453670","1328453739","1328453742","1328453738"],"photo_ids_order":["1328453670","1328453738","1328453739","1328453742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f229c8bd071973214c72e4525ea30ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6068058051898010922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693392782,"filename":"image_12012025_15_47_02_765372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d5021088b341563a27e1178aa111cee.jpg","text":"TemporaryFile(/tmp/multipartBody7520493701612565154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693392782,"filename":"image_12012025_15_48_02_845354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/01b82d35a2944e8557d13276ff63de46.jpg","text":"TemporaryFile(/tmp/multipartBody3473813178376460621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693392782,"filename":"image_12012025_15_48_02_845354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86e80f5d10cd5700b476324c3d6ac38d.jpg","text":"TemporaryFile(/tmp/multipartBody1829141160017090705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693392782,"filename":"image_12012025_15_48_02_845354_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453739","file1":"1328453738","file0":"1328453670","file3":"1328453742"},"map_files_photo_id_array":[{"photo_id":"1328453739","filename":"file2"},{"photo_id":"1328453738","filename":"file1"},{"photo_id":"1328453670","filename":"file0"},{"photo_id":"1328453742","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453670":["hashtag1","hashtag2"]},{"1328453739":["hashtag1","hashtag2"]},{"1328453742":["hashtag1","hashtag2"]},{"1328453738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453670, 1328453739, 1328453742, 1328453738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96585130691528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 15:49:31.855962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0003.jpg', '/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0000.jpg', '/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0001.jpg', '/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/48/image_12012025_15_48_02_845354_0003.jpg
/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0000.jpg
/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0001.jpg
/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453755","1328453754","1328453753","1328453756"],"photo_ids_order":["1328453753","1328453754","1328453755","1328453756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48084b125261f389e2548fc224c0ae93.jpg","text":"TemporaryFile(/tmp/multipartBody3612483951303443963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693442017,"filename":"image_12012025_15_49_02_986011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc04ada8bb80ac9427ceb1eba2fbdba9.jpg","text":"TemporaryFile(/tmp/multipartBody7157321854580092643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693442017,"filename":"image_12012025_15_49_02_986011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f2fb45ff4a3c56711533bbdbad827fe.jpg","text":"TemporaryFile(/tmp/multipartBody8448437820250593215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693442017,"filename":"image_12012025_15_48_02_845354_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aabec33b2ebc58d7371abca87a77f5c7.jpg","text":"TemporaryFile(/tmp/multipartBody3228566750829563949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693442017,"filename":"image_12012025_15_49_02_986011_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453755","file1":"1328453754","file0":"1328453753","file3":"1328453756"},"map_files_photo_id_array":[{"photo_id":"1328453755","filename":"file2"},{"photo_id":"1328453754","filename":"file1"},{"photo_id":"1328453753","filename":"file0"},{"photo_id":"1328453756","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453755":["hashtag1","hashtag2"]},{"1328453754":["hashtag1","hashtag2"]},{"1328453753":["hashtag1","hashtag2"]},{"1328453756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453755, 1328453754, 1328453753, 1328453756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.548823833465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:50:22.017516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0003.jpg', '/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_02_199941_0000.jpg', '/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_02_199941_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_02_986011_0003.jpg
/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_02_199941_0000.jpg
/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_02_199941_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":["1328453764","1328453763","1328453765"],"photo_ids_order":["1328453763","1328453764","1328453765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4817947b2aa1b27790dbffea81128de.jpg","text":"TemporaryFile(/tmp/multipartBody8249199332374266881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693489854,"filename":"image_12012025_15_50_02_199941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ce52ddd1816e8ee4ffa8d5a93649e25.jpg","text":"TemporaryFile(/tmp/multipartBody3884409956276638373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693489854,"filename":"image_12012025_15_49_02_986011_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0128ec1e7f381eebf4a8265e7a5122d8.jpg","text":"TemporaryFile(/tmp/multipartBody3864741177551699723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693489854,"filename":"image_12012025_15_50_02_199941_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453765","file1":"1328453764","file0":"1328453763"},"map_files_photo_id_array":[{"photo_id":"1328453765","filename":"file2"},{"photo_id":"1328453764","filename":"file1"},{"photo_id":"1328453763","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453764":["hashtag1","hashtag2"]},{"1328453763":["hashtag1","hashtag2"]},{"1328453765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453764, 1328453763, 1328453765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.609666109085083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:51:02.861428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:51:22.268767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_02_199941_0002.jpg', '/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0000.jpg', '/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0001.jpg', '/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_02_199941_0002.jpg
/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0000.jpg
/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0001.jpg
/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453807","1328453787","1328453775","1328453778"],"photo_ids_order":["1328453775","1328453778","1328453787","1328453807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0708c3d0c225ff669900f34bf435cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5209667404862330997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693552643,"filename":"image_12012025_15_51_02_369613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fec4705a07bc20f5d46048fe6e7957da.jpg","text":"TemporaryFile(/tmp/multipartBody6739450480812916391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693552643,"filename":"image_12012025_15_51_02_369613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cbaae693d81fab27abb22cfa446679ee.jpg","text":"TemporaryFile(/tmp/multipartBody1036088772254134204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693552643,"filename":"image_12012025_15_50_02_199941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d054d4ecd553848f9d66a82014294e32.jpg","text":"TemporaryFile(/tmp/multipartBody9030058800599102898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693552643,"filename":"image_12012025_15_51_02_369613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453787","file1":"1328453778","file0":"1328453775","file3":"1328453807"},"map_files_photo_id_array":[{"photo_id":"1328453787","filename":"file2"},{"photo_id":"1328453778","filename":"file1"},{"photo_id":"1328453775","filename":"file0"},{"photo_id":"1328453807","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453807":["hashtag1","hashtag2"]},{"1328453787":["hashtag1","hashtag2"]},{"1328453775":["hashtag1","hashtag2"]},{"1328453778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453807, 1328453787, 1328453775, 1328453778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09672474861145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:52:22.438870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0003.jpg', '/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0000.jpg', '/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0001.jpg', '/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/51/image_12012025_15_51_02_369613_0003.jpg
/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0000.jpg
/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0001.jpg
/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453818","1328453826","1328453823","1328453816"],"photo_ids_order":["1328453816","1328453818","1328453823","1328453826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/656ab86a4195d4d3a33aea9b9c1e148b.jpg","text":"TemporaryFile(/tmp/multipartBody7823709533111668505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693612899,"filename":"image_12012025_15_52_02_577702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a87d1170cd52c988d4a50dc8482d9ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2659331829388897356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693612899,"filename":"image_12012025_15_52_02_577702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7c663606745fb5314e09393d4aaec04.jpg","text":"TemporaryFile(/tmp/multipartBody4084520672756497276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693612899,"filename":"image_12012025_15_52_02_577702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc8e52afd8864f527b290871c0e66271.jpg","text":"TemporaryFile(/tmp/multipartBody8946523950096646817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693612899,"filename":"image_12012025_15_51_02_369613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453823","file1":"1328453818","file0":"1328453816","file3":"1328453826"},"map_files_photo_id_array":[{"photo_id":"1328453823","filename":"file2"},{"photo_id":"1328453818","filename":"file1"},{"photo_id":"1328453816","filename":"file0"},{"photo_id":"1328453826","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453818":["hashtag1","hashtag2"]},{"1328453826":["hashtag1","hashtag2"]},{"1328453823":["hashtag1","hashtag2"]},{"1328453816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453818, 1328453826, 1328453823, 1328453816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83168029785156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 15:53:03.260985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:53:22.639779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0003.jpg', '/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0000.jpg', '/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0001.jpg', '/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_02_577702_0003.jpg
/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0000.jpg
/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0001.jpg
/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453846","1328453844","1328453847","1328453841"],"photo_ids_order":["1328453841","1328453844","1328453846","1328453847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d2bb36a1b52f310917f424f1546fe54.jpg","text":"TemporaryFile(/tmp/multipartBody1886082971612476399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693672867,"filename":"image_12012025_15_53_02_859040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/97159fa3269397ce4c9981052699983a.jpg","text":"TemporaryFile(/tmp/multipartBody4147737966732973893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693672867,"filename":"image_12012025_15_53_02_859040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c6e4a2233a4459cf9ef675916b5bb07.jpg","text":"TemporaryFile(/tmp/multipartBody4000868598334067014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693672867,"filename":"image_12012025_15_53_02_859040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/678d51eecad8dec42eb177774116f04e.jpg","text":"TemporaryFile(/tmp/multipartBody6505225486711465107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693672867,"filename":"image_12012025_15_52_02_577702_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453846","file1":"1328453844","file0":"1328453841","file3":"1328453847"},"map_files_photo_id_array":[{"photo_id":"1328453846","filename":"file2"},{"photo_id":"1328453844","filename":"file1"},{"photo_id":"1328453841","filename":"file0"},{"photo_id":"1328453847","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453846":["hashtag1","hashtag2"]},{"1328453844":["hashtag1","hashtag2"]},{"1328453847":["hashtag1","hashtag2"]},{"1328453841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453846, 1328453844, 1328453847, 1328453841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.49001359939575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:54:22.782418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0003.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0000.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0001.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0003.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0000.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0001.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_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.850355625152588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:54:42.770752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0003.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0000.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0001.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/53/image_12012025_15_53_02_859040_0003.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0000.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0001.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_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":["1328453869","1328453868","1328453871","1328453867"],"photo_ids_order":["1328453867","1328453868","1328453869","1328453871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22d7c02f206f6428cb31b1c1472c3e62.jpg","text":"TemporaryFile(/tmp/multipartBody8030570850637254945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693753048,"filename":"image_12012025_15_54_02_922206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a2d341e500b78579c20f7d40f73e533.jpg","text":"TemporaryFile(/tmp/multipartBody684515753433697221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693753048,"filename":"image_12012025_15_54_02_922206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0c13e458cc61a108bea0cfa9f6c0bb75.jpg","text":"TemporaryFile(/tmp/multipartBody744739974930899861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693753048,"filename":"image_12012025_15_54_02_922206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f9114728a1c43d489f0347e00042577.jpg","text":"TemporaryFile(/tmp/multipartBody4983918888988780945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693753048,"filename":"image_12012025_15_53_02_859040_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453869","file1":"1328453868","file0":"1328453867","file3":"1328453871"},"map_files_photo_id_array":[{"photo_id":"1328453869","filename":"file2"},{"photo_id":"1328453868","filename":"file1"},{"photo_id":"1328453867","filename":"file0"},{"photo_id":"1328453871","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453869":["hashtag1","hashtag2"]},{"1328453868":["hashtag1","hashtag2"]},{"1328453871":["hashtag1","hashtag2"]},{"1328453867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453869, 1328453868, 1328453871, 1328453867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30131196975708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:55:21.834868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0003.jpg', '/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0000.jpg', '/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0001.jpg', '/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_02_922206_0003.jpg
/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0000.jpg
/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0001.jpg
/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328453884","1328453893","1328453879","1328453882"],"photo_ids_order":["1328453879","1328453882","1328453884","1328453893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6469248162f93d54e6fe02518051734.jpg","text":"TemporaryFile(/tmp/multipartBody3215440035263013206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693791982,"filename":"image_12012025_15_55_03_125740_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c226b741dde971ec6740fe0ad7a25fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6264519295190818621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693791982,"filename":"image_12012025_15_55_03_125740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43ff7beb9a95e4f8f0de366c12c2a15e.jpg","text":"TemporaryFile(/tmp/multipartBody7667082127662688104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693791982,"filename":"image_12012025_15_54_02_922206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c758e74c93ca6ce72a1c18dcbfb02e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1348249880397843773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693791982,"filename":"image_12012025_15_55_03_125740_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453884","file1":"1328453882","file0":"1328453879","file3":"1328453893"},"map_files_photo_id_array":[{"photo_id":"1328453884","filename":"file2"},{"photo_id":"1328453882","filename":"file1"},{"photo_id":"1328453879","filename":"file0"},{"photo_id":"1328453893","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453884":["hashtag1","hashtag2"]},{"1328453893":["hashtag1","hashtag2"]},{"1328453879":["hashtag1","hashtag2"]},{"1328453882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453884, 1328453893, 1328453879, 1328453882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.49408769607544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:56:22.148438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0003.jpg', '/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0000.jpg', '/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0001.jpg', '/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0003.jpg
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0000.jpg
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0001.jpg
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_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.668153762817383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 15:56:42.126309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0003.jpg', '/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0000.jpg', '/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0001.jpg', '/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_03_125740_0003.jpg
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0000.jpg
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0001.jpg
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_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":["1328453965","1328453968","1328453964","1328453966"],"photo_ids_order":["1328453964","1328453965","1328453966","1328453968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/788aea5ef42163c958319852a32b2f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8876818162463729365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693872184,"filename":"image_12012025_15_56_02_228965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2f11e8481b06a7973fe1ea083d6f283.jpg","text":"TemporaryFile(/tmp/multipartBody3181083241094221176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693872184,"filename":"image_12012025_15_56_02_228965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebf5c13605fb24b737fe9e626214bf9f.jpg","text":"TemporaryFile(/tmp/multipartBody7660167311483387463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693872184,"filename":"image_12012025_15_55_03_125740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa6c52fe8d13d3b5bc8051d9cb6a69f9.jpg","text":"TemporaryFile(/tmp/multipartBody7849400231653123757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736693872184,"filename":"image_12012025_15_56_02_228965_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328453966","file1":"1328453965","file0":"1328453964","file3":"1328453968"},"map_files_photo_id_array":[{"photo_id":"1328453966","filename":"file2"},{"photo_id":"1328453965","filename":"file1"},{"photo_id":"1328453964","filename":"file0"},{"photo_id":"1328453968","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328453965":["hashtag1","hashtag2"]},{"1328453968":["hashtag1","hashtag2"]},{"1328453964":["hashtag1","hashtag2"]},{"1328453966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328453965, 1328453968, 1328453964, 1328453966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.568599462509155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:57:22.300364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0003.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0000.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0001.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0003.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0000.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0001.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_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-12 15:59:03.193892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0003.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0000.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0001.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0002.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0003.jpg', '/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0003.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0000.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0001.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0002.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0003.jpg
/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_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.662801504135132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 15:59:22.644427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0003.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0000.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0001.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0002.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0003.jpg', '/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/56/image_12012025_15_56_02_228965_0003.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0000.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0001.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0002.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_02_474741_0003.jpg
/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_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":["1328454727","1328454721","1328454753","1328454723","1328454717","1328454725"],"photo_ids_order":["1328454717","1328454721","1328454723","1328454725","1328454727","1328454753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eee9ea2709fbc3264ab28565cb071ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6074518511279586349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694037668,"filename":"image_12012025_15_57_02_474741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37bd5a4beaf8b079c9bf96f9fcfc6b89.jpg","text":"TemporaryFile(/tmp/multipartBody2689059349742048576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694037668,"filename":"image_12012025_15_57_02_474741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfdb64f32bdd21896154c8de56c32103.jpg","text":"TemporaryFile(/tmp/multipartBody4453156401348057662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694037668,"filename":"image_12012025_15_58_02_615620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4fd3b607ec7d0261cbd330ba6d0aa06f.jpg","text":"TemporaryFile(/tmp/multipartBody7251878564801862610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694037668,"filename":"image_12012025_15_57_02_474741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a1042d3fef4b419811df165c5a72a373.jpg","text":"TemporaryFile(/tmp/multipartBody19560154230110691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694037668,"filename":"image_12012025_15_56_02_228965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fd05593b56e9a120eb58ed28deba2c0.jpg","text":"TemporaryFile(/tmp/multipartBody577768940850335478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694037668,"filename":"image_12012025_15_57_02_474741_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328454723","file1":"1328454721","file0":"1328454717","file4":"1328454727","file5":"1328454753","file3":"1328454725"},"map_files_photo_id_array":[{"photo_id":"1328454753","filename":"file5"},{"photo_id":"1328454723","filename":"file2"},{"photo_id":"1328454727","filename":"file4"},{"photo_id":"1328454721","filename":"file1"},{"photo_id":"1328454717","filename":"file0"},{"photo_id":"1328454725","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328454727":["hashtag1","hashtag2"]},{"1328454721":["hashtag1","hashtag2"]},{"1328454753":["hashtag1","hashtag2"]},{"1328454723":["hashtag1","hashtag2"]},{"1328454717":["hashtag1","hashtag2"]},{"1328454725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328454727, 1328454721, 1328454753, 1328454723, 1328454717, 1328454725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.966283321380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:00:21.856181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0001.jpg', '/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0002.jpg', '/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0003.jpg', '/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0000.jpg', '/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0001.jpg', '/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0001.jpg
/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0002.jpg
/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_02_615620_0003.jpg
/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0000.jpg
/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0001.jpg
/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328454997","1328454990","1328454987","1328454989","1328455001","1328454988"],"photo_ids_order":["1328454987","1328454988","1328454989","1328454990","1328454997","1328455001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b2d5738164ca62d24f00c4ac597b849.jpg","text":"TemporaryFile(/tmp/multipartBody1075327309537630565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694097218,"filename":"image_12012025_15_59_02_790405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eef2c03c0fb9b12057122b9b0fa9552f.jpg","text":"TemporaryFile(/tmp/multipartBody2949823788083192803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694097218,"filename":"image_12012025_15_59_02_790405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c43985fe20f24ee331474ac55dae58ae.jpg","text":"TemporaryFile(/tmp/multipartBody8868844847747685930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694097218,"filename":"image_12012025_15_58_02_615620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6fa655890fc5028399437de67d77f84.jpg","text":"TemporaryFile(/tmp/multipartBody2812876042866635167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694097218,"filename":"image_12012025_15_58_02_615620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/418f01015555a3ec1537bcca4908cb5a.jpg","text":"TemporaryFile(/tmp/multipartBody436758073312527980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694097218,"filename":"image_12012025_15_59_02_790405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/72ff47c8c919561225111ac9894aead5.jpg","text":"TemporaryFile(/tmp/multipartBody6016585388630121487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694097218,"filename":"image_12012025_15_58_02_615620_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328454989","file1":"1328454988","file0":"1328454987","file4":"1328454997","file5":"1328455001","file3":"1328454990"},"map_files_photo_id_array":[{"photo_id":"1328455001","filename":"file5"},{"photo_id":"1328454989","filename":"file2"},{"photo_id":"1328454997","filename":"file4"},{"photo_id":"1328454988","filename":"file1"},{"photo_id":"1328454987","filename":"file0"},{"photo_id":"1328454990","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328454997":["hashtag1","hashtag2"]},{"1328454990":["hashtag1","hashtag2"]},{"1328454987":["hashtag1","hashtag2"]},{"1328454989":["hashtag1","hashtag2"]},{"1328455001":["hashtag1","hashtag2"]},{"1328454988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328454997, 1328454990, 1328454987, 1328454989, 1328455001, 1328454988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8510262966156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:01:21.953233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0003.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0000.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0001.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0002.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0003.jpg', '/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0003.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0000.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0001.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0002.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0003.jpg
/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_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.726121425628662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:01:41.985554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0003.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0000.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0001.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0002.jpg', '/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0003.jpg', '/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_02_790405_0003.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0000.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0001.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0002.jpg
/home/pi/Desktop/images/12012025/16/00/image_12012025_16_00_02_973980_0003.jpg
/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_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":["1328455051","1328455039","1328455047","1328455041","1328455043","1328455037"],"photo_ids_order":["1328455037","1328455039","1328455041","1328455043","1328455047","1328455051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b010e0a33e3d131c26c0ac7f7aa364a.jpg","text":"TemporaryFile(/tmp/multipartBody4479087459579576800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694177100,"filename":"image_12012025_16_01_02_176549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/457467815a881f0d154959ed72e17290.jpg","text":"TemporaryFile(/tmp/multipartBody4113663901840738388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694177100,"filename":"image_12012025_16_00_02_973980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7961c7dd709dc71c3632e82a2374d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5855378835775054588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694177100,"filename":"image_12012025_16_00_02_973980_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c9b00cbebbc63001a98344cad96d3d3.jpg","text":"TemporaryFile(/tmp/multipartBody4864353390668962234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694177100,"filename":"image_12012025_16_00_02_973980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/554a8d2a555953aaca3b8f80ae0508cb.jpg","text":"TemporaryFile(/tmp/multipartBody5253981645746634071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694177100,"filename":"image_12012025_16_00_02_973980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e62fcbdb3f991890f4fe84ba1817fc68.jpg","text":"TemporaryFile(/tmp/multipartBody5937513577285665787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694177100,"filename":"image_12012025_15_59_02_790405_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328455041","file1":"1328455039","file0":"1328455037","file4":"1328455047","file5":"1328455051","file3":"1328455043"},"map_files_photo_id_array":[{"photo_id":"1328455051","filename":"file5"},{"photo_id":"1328455041","filename":"file2"},{"photo_id":"1328455047","filename":"file4"},{"photo_id":"1328455039","filename":"file1"},{"photo_id":"1328455037","filename":"file0"},{"photo_id":"1328455043","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328455051":["hashtag1","hashtag2"]},{"1328455039":["hashtag1","hashtag2"]},{"1328455047":["hashtag1","hashtag2"]},{"1328455041":["hashtag1","hashtag2"]},{"1328455043":["hashtag1","hashtag2"]},{"1328455037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328455051, 1328455039, 1328455047, 1328455041, 1328455043, 1328455037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.898348808288574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:02:42.171534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_0002.jpg', '/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_0003.jpg', '/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_02_304997_0001.jpg', '/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_02_304997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_0002.jpg
/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_02_176549_0003.jpg
/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_02_304997_0001.jpg
/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_02_304997_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":["1328455062","1328455061","1328455064","1328455060"],"photo_ids_order":["1328455060","1328455061","1328455062","1328455064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b1648425a20df131dc5a3803278a981.jpg","text":"TemporaryFile(/tmp/multipartBody504723387594285908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694232304,"filename":"image_12012025_16_02_02_304997_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8be989d1aeca11ae72a0fb71e804e79c.jpg","text":"TemporaryFile(/tmp/multipartBody5278254866502747114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694232304,"filename":"image_12012025_16_01_02_176549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48c601e84034f864457c2c9f8d98d861.jpg","text":"TemporaryFile(/tmp/multipartBody5548250257936470685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694232304,"filename":"image_12012025_16_02_02_304997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f842c4640a167df5371f419580af7511.jpg","text":"TemporaryFile(/tmp/multipartBody3880757250593960054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694232304,"filename":"image_12012025_16_01_02_176549_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328455062","file1":"1328455061","file0":"1328455060","file3":"1328455064"},"map_files_photo_id_array":[{"photo_id":"1328455062","filename":"file2"},{"photo_id":"1328455061","filename":"file1"},{"photo_id":"1328455060","filename":"file0"},{"photo_id":"1328455064","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328455062":["hashtag1","hashtag2"]},{"1328455061":["hashtag1","hashtag2"]},{"1328455064":["hashtag1","hashtag2"]},{"1328455060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328455062, 1328455061, 1328455064, 1328455060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39674353599548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:03:22.333111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_02_304997_0003.jpg', '/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0000.jpg', '/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_02_304997_0003.jpg
/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0000.jpg
/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328455880","1328455928","1328455933"],"photo_ids_order":["1328455880","1328455928","1328455933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b7963cdcb4355a1d8b6e04a71082f49.jpg","text":"TemporaryFile(/tmp/multipartBody8713466092310423294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694270053,"filename":"image_12012025_16_02_02_304997_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c425357893b0dbc284c7c9af3dc5059.jpg","text":"TemporaryFile(/tmp/multipartBody4415606041808568668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694270053,"filename":"image_12012025_16_03_02_536948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/332719b030f451788df245ff8b45ef96.jpg","text":"TemporaryFile(/tmp/multipartBody4526120145228134255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694270053,"filename":"image_12012025_16_03_02_536948_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328455933","file1":"1328455928","file0":"1328455880"},"map_files_photo_id_array":[{"photo_id":"1328455933","filename":"file2"},{"photo_id":"1328455928","filename":"file1"},{"photo_id":"1328455880","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328455880":["hashtag1","hashtag2"]},{"1328455928":["hashtag1","hashtag2"]},{"1328455933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328455880, 1328455928, 1328455933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.31596827507019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:04:02.993315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:04:22.520345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0003.jpg', '/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0000.jpg', '/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0003.jpg
/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0000.jpg
/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_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.350761413574219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 16:04:32.535403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0003.jpg', '/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0000.jpg', '/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_02_536948_0003.jpg
/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0000.jpg
/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_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":["1328456952","1328456951","1328456953"],"photo_ids_order":["1328456951","1328456952","1328456953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/065b6910013cfb38adf51f6a2dfbacf0.jpg","text":"TemporaryFile(/tmp/multipartBody8374136265866841145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694340282,"filename":"image_12012025_16_04_02_831720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4c6a2ce7d23d76909065faee50a2b04.jpg","text":"TemporaryFile(/tmp/multipartBody7543149500370976263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694340282,"filename":"image_12012025_16_03_02_536948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc116d4aa22c5b36ad4921abf0602dba.jpg","text":"TemporaryFile(/tmp/multipartBody5764163925871975965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694340282,"filename":"image_12012025_16_04_02_831720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328456953","file1":"1328456952","file0":"1328456951"},"map_files_photo_id_array":[{"photo_id":"1328456953","filename":"file2"},{"photo_id":"1328456952","filename":"file1"},{"photo_id":"1328456951","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328456952":["hashtag1","hashtag2"]},{"1328456951":["hashtag1","hashtag2"]},{"1328456953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328456952, 1328456951, 1328456953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.78514575958252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:05:22.803063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0003.jpg', '/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0000.jpg', '/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0001.jpg', '/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_02_831720_0003.jpg
/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0000.jpg
/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0001.jpg
/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457201","1328456962","1328456965","1328456967"],"photo_ids_order":["1328456962","1328456965","1328456967","1328457201"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a532709450ebf9b6febd11683bf8fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody4792483521699605369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694393033,"filename":"image_12012025_16_05_02_912464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58722d4cc75a521377b94770499a9033.jpg","text":"TemporaryFile(/tmp/multipartBody8947466630092759890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694393033,"filename":"image_12012025_16_04_02_831720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fabbdec85a46a58ad6cbd7ca4976d57a.jpg","text":"TemporaryFile(/tmp/multipartBody1134684589707061572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694393033,"filename":"image_12012025_16_05_02_912464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd06f10141e1110da02226238d047840.jpg","text":"TemporaryFile(/tmp/multipartBody1738442347686045992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694393033,"filename":"image_12012025_16_05_02_912464_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328456967","file1":"1328456965","file0":"1328456962","file3":"1328457201"},"map_files_photo_id_array":[{"photo_id":"1328456967","filename":"file2"},{"photo_id":"1328456965","filename":"file1"},{"photo_id":"1328456962","filename":"file0"},{"photo_id":"1328457201","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457201":["hashtag1","hashtag2"]},{"1328456962":["hashtag1","hashtag2"]},{"1328456965":["hashtag1","hashtag2"]},{"1328456967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457201, 1328456962, 1328456965, 1328456967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.156782150268555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:06:21.966655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0003.jpg', '/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0000.jpg', '/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0001.jpg', '/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/05/image_12012025_16_05_02_912464_0003.jpg
/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0000.jpg
/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0001.jpg
/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457476","1328457461","1328457449","1328457445"],"photo_ids_order":["1328457445","1328457449","1328457461","1328457476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7701c9a691b50c26659b2a917295aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2008495635119087456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694452182,"filename":"image_12012025_16_06_03_147987_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28de5f2ea9741e7c3d483598a99e6977.jpg","text":"TemporaryFile(/tmp/multipartBody6211020824252516531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694452182,"filename":"image_12012025_16_06_03_147987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e59628874fd84688c3624e4c86e60e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1354305294582422230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694452182,"filename":"image_12012025_16_06_03_147987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54951c4e972c51d380ad401bb98e8778.jpg","text":"TemporaryFile(/tmp/multipartBody1136692379019669485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694452182,"filename":"image_12012025_16_05_02_912464_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457461","file1":"1328457449","file0":"1328457445","file3":"1328457476"},"map_files_photo_id_array":[{"photo_id":"1328457461","filename":"file2"},{"photo_id":"1328457449","filename":"file1"},{"photo_id":"1328457445","filename":"file0"},{"photo_id":"1328457476","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457476":["hashtag1","hashtag2"]},{"1328457461":["hashtag1","hashtag2"]},{"1328457449":["hashtag1","hashtag2"]},{"1328457445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457476, 1328457461, 1328457449, 1328457445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.677406311035156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:07:22.231407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0003.jpg', '/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0000.jpg', '/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0001.jpg', '/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_03_147987_0003.jpg
/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0000.jpg
/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0001.jpg
/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457485","1328457490","1328457487","1328457492"],"photo_ids_order":["1328457485","1328457487","1328457490","1328457492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67a865dd6edbbb59af038c3fbfbaed7d.jpg","text":"TemporaryFile(/tmp/multipartBody7239598574665743217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694512391,"filename":"image_12012025_16_06_03_147987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41881a872a8abfcb03befb2395bf2516.jpg","text":"TemporaryFile(/tmp/multipartBody7573030430868329401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694512391,"filename":"image_12012025_16_07_02_298056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/533bd8606ccf5d831b0ac63bfc65c1e2.jpg","text":"TemporaryFile(/tmp/multipartBody1428930879586057790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694512391,"filename":"image_12012025_16_07_02_298056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/231cedb1073a9e568646666300b1a754.jpg","text":"TemporaryFile(/tmp/multipartBody6165030946655913424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694512391,"filename":"image_12012025_16_07_02_298056_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457490","file1":"1328457487","file0":"1328457485","file3":"1328457492"},"map_files_photo_id_array":[{"photo_id":"1328457490","filename":"file2"},{"photo_id":"1328457487","filename":"file1"},{"photo_id":"1328457485","filename":"file0"},{"photo_id":"1328457492","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457485":["hashtag1","hashtag2"]},{"1328457490":["hashtag1","hashtag2"]},{"1328457487":["hashtag1","hashtag2"]},{"1328457492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457485, 1328457490, 1328457487, 1328457492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.991015672683716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:08:22.354508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0003.jpg', '/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0000.jpg', '/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0001.jpg', '/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_02_298056_0003.jpg
/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0000.jpg
/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0001.jpg
/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457527","1328457515","1328457517","1328457519"],"photo_ids_order":["1328457515","1328457517","1328457519","1328457527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fee7ac4a366976878718f88a8af54d39.jpg","text":"TemporaryFile(/tmp/multipartBody6791243125988009838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694572411,"filename":"image_12012025_16_08_02_584362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/902d022332541d512278a6eb4ba5242a.jpg","text":"TemporaryFile(/tmp/multipartBody2924650466294271866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694572411,"filename":"image_12012025_16_07_02_298056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec70e8a448ad35ddf1c8320c4048c56d.jpg","text":"TemporaryFile(/tmp/multipartBody7394692347022531581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694572411,"filename":"image_12012025_16_08_02_584362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55499474b8a2d046f2a5ca13ac9554cd.jpg","text":"TemporaryFile(/tmp/multipartBody8328656845626627651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694572411,"filename":"image_12012025_16_08_02_584362_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457519","file1":"1328457517","file0":"1328457515","file3":"1328457527"},"map_files_photo_id_array":[{"photo_id":"1328457519","filename":"file2"},{"photo_id":"1328457517","filename":"file1"},{"photo_id":"1328457515","filename":"file0"},{"photo_id":"1328457527","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457527":["hashtag1","hashtag2"]},{"1328457515":["hashtag1","hashtag2"]},{"1328457517":["hashtag1","hashtag2"]},{"1328457519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457527, 1328457515, 1328457517, 1328457519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.88884258270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:09:22.545482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0003.jpg', '/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0000.jpg', '/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0001.jpg', '/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_02_584362_0003.jpg
/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0000.jpg
/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0001.jpg
/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457662","1328457676","1328457576","1328457579"],"photo_ids_order":["1328457576","1328457579","1328457662","1328457676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ff39fb4060a38e7d7e64a334a20c12b.jpg","text":"TemporaryFile(/tmp/multipartBody5025503790096353214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694632747,"filename":"image_12012025_16_09_02_751856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09e6ad4a6b1bc7121a252a0a9f518425.jpg","text":"TemporaryFile(/tmp/multipartBody346207444007185453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694632747,"filename":"image_12012025_16_09_02_751856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe10fcc6871fb7ba0b99d6c3cab05023.jpg","text":"TemporaryFile(/tmp/multipartBody4752862615017269647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694632747,"filename":"image_12012025_16_08_02_584362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/034e8348dc5bf7d20fab78b21c9f6acc.jpg","text":"TemporaryFile(/tmp/multipartBody1723096042626319232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694632747,"filename":"image_12012025_16_09_02_751856_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457662","file1":"1328457579","file0":"1328457576","file3":"1328457676"},"map_files_photo_id_array":[{"photo_id":"1328457662","filename":"file2"},{"photo_id":"1328457579","filename":"file1"},{"photo_id":"1328457576","filename":"file0"},{"photo_id":"1328457676","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457662":["hashtag1","hashtag2"]},{"1328457676":["hashtag1","hashtag2"]},{"1328457576":["hashtag1","hashtag2"]},{"1328457579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457662, 1328457676, 1328457576, 1328457579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.985188007354736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:10:03.093138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:10:22.676876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0003.jpg', '/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0000.jpg', '/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0001.jpg', '/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0003.jpg
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0000.jpg
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0001.jpg
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_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.690191745758057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:10:42.677033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0003.jpg', '/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0000.jpg', '/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0001.jpg', '/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_02_751856_0003.jpg
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0000.jpg
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0001.jpg
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457691","1328457690","1328457693","1328457696"],"photo_ids_order":["1328457690","1328457691","1328457693","1328457696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7dfad4e2e0affa913d2e58aac8d014b0.jpg","text":"TemporaryFile(/tmp/multipartBody697212112922072561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694712768,"filename":"image_12012025_16_10_02_931234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d59dad2f897238ec6fe4255e4f7399fe.jpg","text":"TemporaryFile(/tmp/multipartBody2853287338361274018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694712768,"filename":"image_12012025_16_09_02_751856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1630a4581f9145baa624456d4454158.jpg","text":"TemporaryFile(/tmp/multipartBody6891695128248541903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694712768,"filename":"image_12012025_16_10_02_931234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8789f85ce62b555c07858102b0ddf5ce.jpg","text":"TemporaryFile(/tmp/multipartBody8940366586048777900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694712768,"filename":"image_12012025_16_10_02_931234_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457693","file1":"1328457691","file0":"1328457690","file3":"1328457696"},"map_files_photo_id_array":[{"photo_id":"1328457693","filename":"file2"},{"photo_id":"1328457691","filename":"file1"},{"photo_id":"1328457690","filename":"file0"},{"photo_id":"1328457696","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457691":["hashtag1","hashtag2"]},{"1328457690":["hashtag1","hashtag2"]},{"1328457693":["hashtag1","hashtag2"]},{"1328457696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457691, 1328457690, 1328457693, 1328457696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.69456934928894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 16:11:31.872530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0003.jpg', '/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_03_087648_0000.jpg', '/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_03_087648_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/10/image_12012025_16_10_02_931234_0003.jpg
/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_03_087648_0000.jpg
/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_03_087648_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":["1328457708","1328457706","1328457709"],"photo_ids_order":["1328457706","1328457708","1328457709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87d1a270ee7881a0193b76b8fed33202.jpg","text":"TemporaryFile(/tmp/multipartBody6444560702719147079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694759756,"filename":"image_12012025_16_11_03_087648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8452f098818fd74aec8354d1d0dff418.jpg","text":"TemporaryFile(/tmp/multipartBody2543377831419414675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694759756,"filename":"image_12012025_16_10_02_931234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c907a598f9cc49e0bdb7a9c2bff347f3.jpg","text":"TemporaryFile(/tmp/multipartBody5797618748808664073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694759756,"filename":"image_12012025_16_11_03_087648_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457709","file1":"1328457708","file0":"1328457706"},"map_files_photo_id_array":[{"photo_id":"1328457709","filename":"file2"},{"photo_id":"1328457708","filename":"file1"},{"photo_id":"1328457706","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457708":["hashtag1","hashtag2"]},{"1328457706":["hashtag1","hashtag2"]},{"1328457709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457708, 1328457706, 1328457709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.00511837005615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:12:22.162493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_03_087648_0002.jpg', '/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_02_321985_0000.jpg', '/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_02_321985_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_03_087648_0002.jpg
/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_02_321985_0000.jpg
/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_02_321985_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":["1328457720","1328457719","1328457717"],"photo_ids_order":["1328457717","1328457719","1328457720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/139b225ef6e75082b6583a6559d4f228.jpg","text":"TemporaryFile(/tmp/multipartBody1472804305762292340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694809980,"filename":"image_12012025_16_12_02_321985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ccfee61a81ef833b693d684e1c7a3529.jpg","text":"TemporaryFile(/tmp/multipartBody905089999293678893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694809980,"filename":"image_12012025_16_12_02_321985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d3445608a0a2abe3edcf6c55339c4ee.jpg","text":"TemporaryFile(/tmp/multipartBody2159228022276977283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694809980,"filename":"image_12012025_16_11_03_087648_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457720","file1":"1328457719","file0":"1328457717"},"map_files_photo_id_array":[{"photo_id":"1328457720","filename":"file2"},{"photo_id":"1328457719","filename":"file1"},{"photo_id":"1328457717","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457720":["hashtag1","hashtag2"]},{"1328457719":["hashtag1","hashtag2"]},{"1328457717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457720, 1328457719, 1328457717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.92334246635437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:13:02.784902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:13:22.324553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_02_321985_0002.jpg', '/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0000.jpg', '/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0001.jpg', '/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_02_321985_0002.jpg
/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0000.jpg
/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0001.jpg
/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457810","1328457804","1328457806","1328457808"],"photo_ids_order":["1328457804","1328457806","1328457808","1328457810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7101117f00666e5c622b86c9f04d4596.jpg","text":"TemporaryFile(/tmp/multipartBody5667140727697538846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694872645,"filename":"image_12012025_16_13_02_437130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/103ca4417f58a1b11c2649accaf655f3.jpg","text":"TemporaryFile(/tmp/multipartBody98935231349687813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694872645,"filename":"image_12012025_16_12_02_321985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b06ac80d40eb8b6b7ce6be3bc7d3f46.jpg","text":"TemporaryFile(/tmp/multipartBody164085534221972885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694872645,"filename":"image_12012025_16_13_02_437130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/734e0dc84e6c0797d5e9fb5464b406e9.jpg","text":"TemporaryFile(/tmp/multipartBody4782810634148217097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694872645,"filename":"image_12012025_16_13_02_437130_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457808","file1":"1328457806","file0":"1328457804","file3":"1328457810"},"map_files_photo_id_array":[{"photo_id":"1328457808","filename":"file2"},{"photo_id":"1328457806","filename":"file1"},{"photo_id":"1328457804","filename":"file0"},{"photo_id":"1328457810","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457810":["hashtag1","hashtag2"]},{"1328457804":["hashtag1","hashtag2"]},{"1328457806":["hashtag1","hashtag2"]},{"1328457808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457810, 1328457804, 1328457806, 1328457808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.049992084503174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:14:22.528813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0003.jpg', '/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0000.jpg', '/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0001.jpg', '/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0003.jpg
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0000.jpg
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0001.jpg
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_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.839675903320312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:14:42.430249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0003.jpg', '/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0000.jpg', '/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0001.jpg', '/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_02_437130_0003.jpg
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0000.jpg
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0001.jpg
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_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":["1328457860","1328457923","1328457976","1328457856"],"photo_ids_order":["1328457856","1328457860","1328457923","1328457976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d9ad04eecf560e838af192f2b799d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1580583358872377385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694952665,"filename":"image_12012025_16_14_02_628520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5deba9fb9a775d07d58928cc69e3b65.jpg","text":"TemporaryFile(/tmp/multipartBody4036359748925890052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694952665,"filename":"image_12012025_16_14_02_628520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4ce66347c2cd5bfe0eea417e2067e33.jpg","text":"TemporaryFile(/tmp/multipartBody8593140812233094988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694952665,"filename":"image_12012025_16_14_02_628520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a17d1ef519dbe26a0ea286ecf65b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody843405228664511770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694952665,"filename":"image_12012025_16_13_02_437130_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457923","file1":"1328457860","file0":"1328457856","file3":"1328457976"},"map_files_photo_id_array":[{"photo_id":"1328457923","filename":"file2"},{"photo_id":"1328457860","filename":"file1"},{"photo_id":"1328457856","filename":"file0"},{"photo_id":"1328457976","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457860":["hashtag1","hashtag2"]},{"1328457923":["hashtag1","hashtag2"]},{"1328457976":["hashtag1","hashtag2"]},{"1328457856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457860, 1328457923, 1328457976, 1328457856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45597529411316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:15:22.671227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0003.jpg', '/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0000.jpg', '/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0001.jpg', '/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_02_628520_0003.jpg
/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0000.jpg
/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0001.jpg
/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328457980","1328458004","1328457982","1328457990"],"photo_ids_order":["1328457980","1328457982","1328457990","1328458004"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bbfeacad7a9ef44d7c415d5c5fd39e3.jpg","text":"TemporaryFile(/tmp/multipartBody7843871983834949599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694993013,"filename":"image_12012025_16_14_02_628520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adad36f5cf39fce8c007b29f083d276e.jpg","text":"TemporaryFile(/tmp/multipartBody8998072352602619743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694993013,"filename":"image_12012025_16_15_02_878233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6909ffb5060874658d0e27d20ec8ac80.jpg","text":"TemporaryFile(/tmp/multipartBody3636820673283590529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694993013,"filename":"image_12012025_16_15_02_878233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f570ce63cb3ccd984c4a5ad673bd1b2.jpg","text":"TemporaryFile(/tmp/multipartBody5900720474819597156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736694993013,"filename":"image_12012025_16_15_02_878233_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328457990","file1":"1328457982","file0":"1328457980","file3":"1328458004"},"map_files_photo_id_array":[{"photo_id":"1328457990","filename":"file2"},{"photo_id":"1328457982","filename":"file1"},{"photo_id":"1328457980","filename":"file0"},{"photo_id":"1328458004","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328457980":["hashtag1","hashtag2"]},{"1328458004":["hashtag1","hashtag2"]},{"1328457982":["hashtag1","hashtag2"]},{"1328457990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328457980, 1328458004, 1328457982, 1328457990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24596381187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:16:02.201995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:16:21.776167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0003.jpg', '/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0000.jpg', '/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0001.jpg', '/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/15/image_12012025_16_15_02_878233_0003.jpg
/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0000.jpg
/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0001.jpg
/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458022","1328458021","1328458020","1328458017"],"photo_ids_order":["1328458017","1328458020","1328458021","1328458022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e143503e0b4d667e8fa7c977112a9193.jpg","text":"TemporaryFile(/tmp/multipartBody2959802176065294006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695052113,"filename":"image_12012025_16_16_03_046318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/580bc77fddc08323f9f8689ace1483fc.jpg","text":"TemporaryFile(/tmp/multipartBody759883308284603182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695052113,"filename":"image_12012025_16_16_03_046318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18f590db53c75976ecb792e5b7844ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8526208561508818470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695052113,"filename":"image_12012025_16_16_03_046318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c49b9de36ecaf07d6b0f22afdd5d03bb.jpg","text":"TemporaryFile(/tmp/multipartBody1649652532155966025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695052113,"filename":"image_12012025_16_15_02_878233_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458021","file1":"1328458020","file0":"1328458017","file3":"1328458022"},"map_files_photo_id_array":[{"photo_id":"1328458021","filename":"file2"},{"photo_id":"1328458020","filename":"file1"},{"photo_id":"1328458017","filename":"file0"},{"photo_id":"1328458022","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458022":["hashtag1","hashtag2"]},{"1328458021":["hashtag1","hashtag2"]},{"1328458020":["hashtag1","hashtag2"]},{"1328458017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458022, 1328458021, 1328458020, 1328458017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.75393319129944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:17:22.174210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0003.jpg', '/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0000.jpg', '/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0001.jpg', '/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_03_046318_0003.jpg
/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0000.jpg
/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0001.jpg
/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458031","1328458030","1328458033","1328458035"],"photo_ids_order":["1328458030","1328458031","1328458033","1328458035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68a919a3f063998888eebe6c0128cebe.jpg","text":"TemporaryFile(/tmp/multipartBody6786253102497883216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695112555,"filename":"image_12012025_16_17_02_267716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c59569f6956cd569dcff37daf910949b.jpg","text":"TemporaryFile(/tmp/multipartBody7123878325189084406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695112555,"filename":"image_12012025_16_16_03_046318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58e9cb5a0c78e70a68d081d6eeb128e4.jpg","text":"TemporaryFile(/tmp/multipartBody399410575643333011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695112555,"filename":"image_12012025_16_17_02_267716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36aaad989a0b7fc608aba7059a7863d4.jpg","text":"TemporaryFile(/tmp/multipartBody8991061543877842226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695112555,"filename":"image_12012025_16_17_02_267716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458033","file1":"1328458031","file0":"1328458030","file3":"1328458035"},"map_files_photo_id_array":[{"photo_id":"1328458033","filename":"file2"},{"photo_id":"1328458031","filename":"file1"},{"photo_id":"1328458030","filename":"file0"},{"photo_id":"1328458035","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458031":["hashtag1","hashtag2"]},{"1328458030":["hashtag1","hashtag2"]},{"1328458033":["hashtag1","hashtag2"]},{"1328458035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458031, 1328458030, 1328458033, 1328458035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14321041107178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:18:22.429544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0003.jpg', '/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0000.jpg', '/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0001.jpg', '/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_02_267716_0003.jpg
/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0000.jpg
/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0001.jpg
/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458043","1328458052","1328458045","1328458065"],"photo_ids_order":["1328458043","1328458045","1328458052","1328458065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13527b69df43206235729ab50b65b000.jpg","text":"TemporaryFile(/tmp/multipartBody782633061790035480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695172753,"filename":"image_12012025_16_17_02_267716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51f406d17788e29d177d8ba2cfe6b80d.jpg","text":"TemporaryFile(/tmp/multipartBody8236061168515933328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695172753,"filename":"image_12012025_16_18_02_575805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85b71bdc8aeb7fd407d97b2e86657c77.jpg","text":"TemporaryFile(/tmp/multipartBody2536457327468915809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695172753,"filename":"image_12012025_16_18_02_575805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b136e08a4e9fce0ee84d735e6d336a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2315691972001998108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695172753,"filename":"image_12012025_16_18_02_575805_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458052","file1":"1328458045","file0":"1328458043","file3":"1328458065"},"map_files_photo_id_array":[{"photo_id":"1328458052","filename":"file2"},{"photo_id":"1328458045","filename":"file1"},{"photo_id":"1328458043","filename":"file0"},{"photo_id":"1328458065","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458043":["hashtag1","hashtag2"]},{"1328458052":["hashtag1","hashtag2"]},{"1328458045":["hashtag1","hashtag2"]},{"1328458065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458043, 1328458052, 1328458045, 1328458065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64080309867859 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:19:22.601112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0003.jpg', '/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0000.jpg', '/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0001.jpg', '/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_02_575805_0003.jpg
/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0000.jpg
/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0001.jpg
/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458082","1328458081","1328458080","1328458077"],"photo_ids_order":["1328458077","1328458080","1328458081","1328458082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2899cf7d9bc40bf989d22f223d777d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8960103574152971101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695232952,"filename":"image_12012025_16_19_02_800656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/519a6a84f3f41f452974c3ee96336a40.jpg","text":"TemporaryFile(/tmp/multipartBody8428529040758418189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695232952,"filename":"image_12012025_16_19_02_800656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14489e79f90df7b0432988c30835aae3.jpg","text":"TemporaryFile(/tmp/multipartBody335357049044121595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695232952,"filename":"image_12012025_16_19_02_800656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee63113a0e5c745b6276ef8ea1c12f8c.jpg","text":"TemporaryFile(/tmp/multipartBody9048479390217825521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695232952,"filename":"image_12012025_16_18_02_575805_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458081","file1":"1328458080","file0":"1328458077","file3":"1328458082"},"map_files_photo_id_array":[{"photo_id":"1328458081","filename":"file2"},{"photo_id":"1328458080","filename":"file1"},{"photo_id":"1328458077","filename":"file0"},{"photo_id":"1328458082","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458082":["hashtag1","hashtag2"]},{"1328458081":["hashtag1","hashtag2"]},{"1328458080":["hashtag1","hashtag2"]},{"1328458077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458082, 1328458081, 1328458080, 1328458077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81119751930237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:20:21.809388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0003.jpg', '/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0000.jpg', '/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0001.jpg', '/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0003.jpg
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0000.jpg
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0001.jpg
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_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.058804750442505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:20:41.771004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0003.jpg', '/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0000.jpg', '/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0001.jpg', '/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_02_800656_0003.jpg
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0000.jpg
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0001.jpg
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458124","1328458129","1328458126","1328458125"],"photo_ids_order":["1328458124","1328458125","1328458126","1328458129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c278fcd55e8e91c284928ab12ebb3f18.jpg","text":"TemporaryFile(/tmp/multipartBody8413160942306386181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695312233,"filename":"image_12012025_16_19_02_800656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77511649045111875b17eeb955b89a66.jpg","text":"TemporaryFile(/tmp/multipartBody8271760205994339090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695312233,"filename":"image_12012025_16_20_02_995714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7664489930dabaa3070b5f0eaba48174.jpg","text":"TemporaryFile(/tmp/multipartBody3510719054349255932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695312233,"filename":"image_12012025_16_20_02_995714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e5f58ee77250142259742773a70b640.jpg","text":"TemporaryFile(/tmp/multipartBody3165932779634609103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695312233,"filename":"image_12012025_16_20_02_995714_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458126","file1":"1328458125","file0":"1328458124","file3":"1328458129"},"map_files_photo_id_array":[{"photo_id":"1328458126","filename":"file2"},{"photo_id":"1328458125","filename":"file1"},{"photo_id":"1328458124","filename":"file0"},{"photo_id":"1328458129","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458124":["hashtag1","hashtag2"]},{"1328458129":["hashtag1","hashtag2"]},{"1328458126":["hashtag1","hashtag2"]},{"1328458125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458124, 1328458129, 1328458126, 1328458125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12430453300476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 16:21:31.954412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0003.jpg', '/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0000.jpg', '/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0001.jpg', '/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/20/image_12012025_16_20_02_995714_0003.jpg
/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0000.jpg
/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0001.jpg
/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458175","1328458177","1328458165","1328458176"],"photo_ids_order":["1328458165","1328458175","1328458176","1328458177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8dca4c5e5343dcdc2d968a8cf04b6ada.jpg","text":"TemporaryFile(/tmp/multipartBody5762056946749040045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695362186,"filename":"image_12012025_16_21_02_147642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f32539dce735b03ec705d10f2f3d8268.jpg","text":"TemporaryFile(/tmp/multipartBody2904639329995344955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695362186,"filename":"image_12012025_16_21_02_147642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e7335e22efa5a386495a17be61d38e1.jpg","text":"TemporaryFile(/tmp/multipartBody7407637767100556978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695362186,"filename":"image_12012025_16_20_02_995714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9522115740ce0c3a9f0a9949f6c49ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3232325701691031104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695362186,"filename":"image_12012025_16_21_02_147642_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458176","file1":"1328458175","file0":"1328458165","file3":"1328458177"},"map_files_photo_id_array":[{"photo_id":"1328458176","filename":"file2"},{"photo_id":"1328458175","filename":"file1"},{"photo_id":"1328458165","filename":"file0"},{"photo_id":"1328458177","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458175":["hashtag1","hashtag2"]},{"1328458177":["hashtag1","hashtag2"]},{"1328458165":["hashtag1","hashtag2"]},{"1328458176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458175, 1328458177, 1328458165, 1328458176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79274010658264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:22:22.204343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0003.jpg', '/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0000.jpg', '/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0001.jpg', '/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_02_147642_0003.jpg
/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0000.jpg
/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0001.jpg
/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458189","1328458188","1328458191","1328458185"],"photo_ids_order":["1328458185","1328458188","1328458189","1328458191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eeab9df2edc7a0a65aabb6b98ec08167.jpg","text":"TemporaryFile(/tmp/multipartBody943634570330449963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695412521,"filename":"image_12012025_16_22_02_311202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50dcc9823f906c37a56a6a76e4a74649.jpg","text":"TemporaryFile(/tmp/multipartBody6989172458070524117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695412521,"filename":"image_12012025_16_22_02_311202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b3ca714d547abc63bdd764cdef9ec69.jpg","text":"TemporaryFile(/tmp/multipartBody1839215325326462917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695412521,"filename":"image_12012025_16_22_02_311202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6dc4bccf8b784b3878b0c04337168300.jpg","text":"TemporaryFile(/tmp/multipartBody1354674880949480903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695412521,"filename":"image_12012025_16_21_02_147642_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458189","file1":"1328458188","file0":"1328458185","file3":"1328458191"},"map_files_photo_id_array":[{"photo_id":"1328458189","filename":"file2"},{"photo_id":"1328458188","filename":"file1"},{"photo_id":"1328458185","filename":"file0"},{"photo_id":"1328458191","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458189":["hashtag1","hashtag2"]},{"1328458188":["hashtag1","hashtag2"]},{"1328458191":["hashtag1","hashtag2"]},{"1328458185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458189, 1328458188, 1328458191, 1328458185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.95340275764465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:23:02.966397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:23:22.360924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0003.jpg', '/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0000.jpg', '/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0001.jpg', '/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_02_311202_0003.jpg
/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0000.jpg
/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0001.jpg
/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458316","1328458214","1328458267","1328458318"],"photo_ids_order":["1328458214","1328458267","1328458316","1328458318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2632374a8cd90608f8ccd4346dcd86cb.jpg","text":"TemporaryFile(/tmp/multipartBody6415584578230960835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695472593,"filename":"image_12012025_16_23_02_467633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7e0eba7ceafb331b75c3f65d4e58f53.jpg","text":"TemporaryFile(/tmp/multipartBody8034718078564503599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695472593,"filename":"image_12012025_16_22_02_311202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83bbeb6d210894c5502d82ccdcf3e522.jpg","text":"TemporaryFile(/tmp/multipartBody7034413518138392997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695472593,"filename":"image_12012025_16_23_02_467633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7218b4d0bcaf2a7d9a46ff927ad61547.jpg","text":"TemporaryFile(/tmp/multipartBody7128750978816319305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695472593,"filename":"image_12012025_16_23_02_467633_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458316","file1":"1328458267","file0":"1328458214","file3":"1328458318"},"map_files_photo_id_array":[{"photo_id":"1328458316","filename":"file2"},{"photo_id":"1328458267","filename":"file1"},{"photo_id":"1328458214","filename":"file0"},{"photo_id":"1328458318","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458316":["hashtag1","hashtag2"]},{"1328458214":["hashtag1","hashtag2"]},{"1328458267":["hashtag1","hashtag2"]},{"1328458318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458316, 1328458214, 1328458267, 1328458318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.995046854019165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:24:22.560198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0003.jpg', '/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_02_705445_0001.jpg', '/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_02_705445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/23/image_12012025_16_23_02_467633_0003.jpg
/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_02_705445_0001.jpg
/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_02_705445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458328","1328458325","1328458327"],"photo_ids_order":["1328458325","1328458327","1328458328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed3e5583cf47512fa1b76dc1378f8291.jpg","text":"TemporaryFile(/tmp/multipartBody7203830281098994298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695530341,"filename":"image_12012025_16_24_02_705445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4efd069b08d07d71d5dd4ab3ff401623.jpg","text":"TemporaryFile(/tmp/multipartBody4702911317631730252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695530341,"filename":"image_12012025_16_23_02_467633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12447b92c729e4c2e21e5b7835b8a2a9.jpg","text":"TemporaryFile(/tmp/multipartBody4926138049331787520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695530341,"filename":"image_12012025_16_24_02_705445_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458328","file1":"1328458327","file0":"1328458325"},"map_files_photo_id_array":[{"photo_id":"1328458328","filename":"file2"},{"photo_id":"1328458327","filename":"file1"},{"photo_id":"1328458325","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458328":["hashtag1","hashtag2"]},{"1328458325":["hashtag1","hashtag2"]},{"1328458327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458328, 1328458325, 1328458327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.2583065032959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:25:03.158153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:25:22.630744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_02_705445_0003.jpg', '/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0000.jpg', '/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0001.jpg', '/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_02_705445_0003.jpg
/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0000.jpg
/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0001.jpg
/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458363","1328458366","1328458365","1328458359"],"photo_ids_order":["1328458359","1328458363","1328458365","1328458366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9cc321374ad4b0dde0588ab27ad834ff.jpg","text":"TemporaryFile(/tmp/multipartBody4882046686895945715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695592810,"filename":"image_12012025_16_25_02_905009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/90c96078b88a14a55b1aed58c3f2df36.jpg","text":"TemporaryFile(/tmp/multipartBody9057677431942161451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695592810,"filename":"image_12012025_16_25_02_905009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c291317b064fa89f14e60b78407b1a29.jpg","text":"TemporaryFile(/tmp/multipartBody8864704677289739712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695592810,"filename":"image_12012025_16_25_02_905009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5475ed4c92f07470834ab27afcb8c449.jpg","text":"TemporaryFile(/tmp/multipartBody8062696132461557934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695592810,"filename":"image_12012025_16_24_02_705445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458365","file1":"1328458363","file0":"1328458359","file3":"1328458366"},"map_files_photo_id_array":[{"photo_id":"1328458365","filename":"file2"},{"photo_id":"1328458363","filename":"file1"},{"photo_id":"1328458359","filename":"file0"},{"photo_id":"1328458366","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458363":["hashtag1","hashtag2"]},{"1328458366":["hashtag1","hashtag2"]},{"1328458365":["hashtag1","hashtag2"]},{"1328458359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458363, 1328458366, 1328458365, 1328458359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.398667097091675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:26:21.940357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0003.jpg', '/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0000.jpg', '/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0001.jpg', '/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/25/image_12012025_16_25_02_905009_0003.jpg
/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0000.jpg
/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0001.jpg
/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458375","1328458378","1328458380","1328458379"],"photo_ids_order":["1328458375","1328458378","1328458379","1328458380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2692c12db7f6e7efe5f363f4e8198fae.jpg","text":"TemporaryFile(/tmp/multipartBody13464558351418494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695652025,"filename":"image_12012025_16_25_02_905009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bac9f089390b4bb46973ff5aefaf574.jpg","text":"TemporaryFile(/tmp/multipartBody8582406110738632085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695652025,"filename":"image_12012025_16_26_03_013770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9028a05d1b9c66072695f0a23fe2fea.jpg","text":"TemporaryFile(/tmp/multipartBody3817430431272632427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695652025,"filename":"image_12012025_16_26_03_013770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14b03632718f44e80cd194c8c5eccc63.jpg","text":"TemporaryFile(/tmp/multipartBody6594882948884116553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695652025,"filename":"image_12012025_16_26_03_013770_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458379","file1":"1328458378","file0":"1328458375","file3":"1328458380"},"map_files_photo_id_array":[{"photo_id":"1328458379","filename":"file2"},{"photo_id":"1328458378","filename":"file1"},{"photo_id":"1328458375","filename":"file0"},{"photo_id":"1328458380","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458375":["hashtag1","hashtag2"]},{"1328458378":["hashtag1","hashtag2"]},{"1328458380":["hashtag1","hashtag2"]},{"1328458379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458375, 1328458378, 1328458380, 1328458379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33000922203064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:27:22.073674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0003.jpg', '/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0000.jpg', '/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0001.jpg', '/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_03_013770_0003.jpg
/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0000.jpg
/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0001.jpg
/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458405","1328458389","1328458407","1328458391"],"photo_ids_order":["1328458389","1328458391","1328458405","1328458407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db4d3cd5cb60ec31fdeae53a0475081b.jpg","text":"TemporaryFile(/tmp/multipartBody3516116813039558038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695712256,"filename":"image_12012025_16_27_02_218800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6592b97c024d0d702a8fdfcd590c133c.jpg","text":"TemporaryFile(/tmp/multipartBody615454232985389767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695712256,"filename":"image_12012025_16_26_03_013770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13fd80f6df2ccca4bad2dd1aad3dd266.jpg","text":"TemporaryFile(/tmp/multipartBody1767211015202657152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695712256,"filename":"image_12012025_16_27_02_218800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4582c36f13c7ae5d6961030330f6d666.jpg","text":"TemporaryFile(/tmp/multipartBody6709283769526325902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695712256,"filename":"image_12012025_16_27_02_218800_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458405","file1":"1328458391","file0":"1328458389","file3":"1328458407"},"map_files_photo_id_array":[{"photo_id":"1328458405","filename":"file2"},{"photo_id":"1328458391","filename":"file1"},{"photo_id":"1328458389","filename":"file0"},{"photo_id":"1328458407","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458405":["hashtag1","hashtag2"]},{"1328458389":["hashtag1","hashtag2"]},{"1328458407":["hashtag1","hashtag2"]},{"1328458391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458405, 1328458389, 1328458407, 1328458391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59986615180969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:28:02.779975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:28:22.293629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0003.jpg', '/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0000.jpg', '/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0001.jpg', '/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_02_218800_0003.jpg
/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0000.jpg
/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0001.jpg
/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458415","1328458424","1328458417","1328458416"],"photo_ids_order":["1328458415","1328458416","1328458417","1328458424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/016458b1ff4f474ff8a06b8be5277710.jpg","text":"TemporaryFile(/tmp/multipartBody6617365069900172248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695772385,"filename":"image_12012025_16_27_02_218800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de841c8d68976624b8989c5d8eeba1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1632869647162998467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695772385,"filename":"image_12012025_16_28_02_420902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69c9d59e428697692cd9e703c3aa8da6.jpg","text":"TemporaryFile(/tmp/multipartBody7704681424742091080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695772385,"filename":"image_12012025_16_28_02_420902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96a3001c5f8657a963ffc5ad55faca41.jpg","text":"TemporaryFile(/tmp/multipartBody2941556747035244758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695772385,"filename":"image_12012025_16_28_02_420902_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458417","file1":"1328458416","file0":"1328458415","file3":"1328458424"},"map_files_photo_id_array":[{"photo_id":"1328458417","filename":"file2"},{"photo_id":"1328458416","filename":"file1"},{"photo_id":"1328458415","filename":"file0"},{"photo_id":"1328458424","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458415":["hashtag1","hashtag2"]},{"1328458424":["hashtag1","hashtag2"]},{"1328458417":["hashtag1","hashtag2"]},{"1328458416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458415, 1328458424, 1328458417, 1328458416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.94577217102051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:29:03.063779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:29:22.530000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0003.jpg', '/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0000.jpg', '/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0001.jpg', '/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/28/image_12012025_16_28_02_420902_0003.jpg
/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0000.jpg
/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0001.jpg
/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458555","1328458549","1328458552","1328458554"],"photo_ids_order":["1328458549","1328458552","1328458554","1328458555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52576e1db9073fe1166195d1a7abbbe2.jpg","text":"TemporaryFile(/tmp/multipartBody6730623327514662142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695832782,"filename":"image_12012025_16_29_02_690011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/484061a2c3d979fbd25f860f52de8588.jpg","text":"TemporaryFile(/tmp/multipartBody8580190242471257105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695832782,"filename":"image_12012025_16_28_02_420902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f924e5468e2d924ac2e9105a0026f25d.jpg","text":"TemporaryFile(/tmp/multipartBody5760313737468979550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695832782,"filename":"image_12012025_16_29_02_690011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/272a619e218f01908844ff709bf14379.jpg","text":"TemporaryFile(/tmp/multipartBody2002607940631021557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695832782,"filename":"image_12012025_16_29_02_690011_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458554","file1":"1328458552","file0":"1328458549","file3":"1328458555"},"map_files_photo_id_array":[{"photo_id":"1328458554","filename":"file2"},{"photo_id":"1328458552","filename":"file1"},{"photo_id":"1328458549","filename":"file0"},{"photo_id":"1328458555","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458555":["hashtag1","hashtag2"]},{"1328458549":["hashtag1","hashtag2"]},{"1328458552":["hashtag1","hashtag2"]},{"1328458554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458555, 1328458549, 1328458552, 1328458554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.968047857284546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:30:03.037257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:30:22.659833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0003.jpg', '/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0000.jpg', '/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0001.jpg', '/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_02_690011_0003.jpg
/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0000.jpg
/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0001.jpg
/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458591","1328458588","1328458576","1328458572"],"photo_ids_order":["1328458572","1328458576","1328458588","1328458591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b7df3edfbd5d2dd1fef2ae02bb1cb38.jpg","text":"TemporaryFile(/tmp/multipartBody7610296646573039282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695892918,"filename":"image_12012025_16_30_02_915039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5196db72761d17aa46e3e8af15e0ddec.jpg","text":"TemporaryFile(/tmp/multipartBody2597013821415109518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695892918,"filename":"image_12012025_16_30_02_915039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6d5035e795bf6d9e66d2565180a8585.jpg","text":"TemporaryFile(/tmp/multipartBody9196391749016407217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695892918,"filename":"image_12012025_16_30_02_915039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1fed4dcacc48b168017ef0fecfacc7fb.jpg","text":"TemporaryFile(/tmp/multipartBody3571973479656989532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695892918,"filename":"image_12012025_16_29_02_690011_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458588","file1":"1328458576","file0":"1328458572","file3":"1328458591"},"map_files_photo_id_array":[{"photo_id":"1328458588","filename":"file2"},{"photo_id":"1328458576","filename":"file1"},{"photo_id":"1328458572","filename":"file0"},{"photo_id":"1328458591","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458591":["hashtag1","hashtag2"]},{"1328458588":["hashtag1","hashtag2"]},{"1328458576":["hashtag1","hashtag2"]},{"1328458572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458591, 1328458588, 1328458576, 1328458572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24311661720276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:31:21.926274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0003.jpg', '/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0000.jpg', '/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0001.jpg', '/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/30/image_12012025_16_30_02_915039_0003.jpg
/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0000.jpg
/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0001.jpg
/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458628","1328458624","1328458633","1328458629"],"photo_ids_order":["1328458624","1328458628","1328458629","1328458633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f649d27b9f29c4a822d03062b85fe069.jpg","text":"TemporaryFile(/tmp/multipartBody7573456153670623540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695952104,"filename":"image_12012025_16_31_03_049168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/292a46ae41d8e1bf6ca1380e1f274b44.jpg","text":"TemporaryFile(/tmp/multipartBody4138336144160029620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695952104,"filename":"image_12012025_16_30_02_915039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6b8e31afdf637472d68a304963b2308.jpg","text":"TemporaryFile(/tmp/multipartBody5325592564227430479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695952104,"filename":"image_12012025_16_31_03_049168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/352664ebbd4bb748cc5c855cc3baa37a.jpg","text":"TemporaryFile(/tmp/multipartBody8932086269201410285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736695952104,"filename":"image_12012025_16_31_03_049168_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458629","file1":"1328458628","file0":"1328458624","file3":"1328458633"},"map_files_photo_id_array":[{"photo_id":"1328458629","filename":"file2"},{"photo_id":"1328458628","filename":"file1"},{"photo_id":"1328458624","filename":"file0"},{"photo_id":"1328458633","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458628":["hashtag1","hashtag2"]},{"1328458624":["hashtag1","hashtag2"]},{"1328458633":["hashtag1","hashtag2"]},{"1328458629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458628, 1328458624, 1328458633, 1328458629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71152639389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:32:22.141428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0003.jpg', '/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0000.jpg', '/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0001.jpg', '/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_03_049168_0003.jpg
/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0000.jpg
/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0001.jpg
/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458649","1328458657","1328458651","1328458662"],"photo_ids_order":["1328458649","1328458651","1328458657","1328458662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a4e77591f5250318eff7027c7651746.jpg","text":"TemporaryFile(/tmp/multipartBody445494695604942855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696012368,"filename":"image_12012025_16_31_03_049168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef52b7fe0752cd54a3e0e9aa79a6ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody8947581819438417828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696012368,"filename":"image_12012025_16_32_02_275646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d816a95915fca9ef0174bd42fa3ffb0.jpg","text":"TemporaryFile(/tmp/multipartBody1960455623223819266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696012368,"filename":"image_12012025_16_32_02_275646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f12671113d622ff3a5be94e659676e3.jpg","text":"TemporaryFile(/tmp/multipartBody3860202540663347791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696012368,"filename":"image_12012025_16_32_02_275646_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458657","file1":"1328458651","file0":"1328458649","file3":"1328458662"},"map_files_photo_id_array":[{"photo_id":"1328458657","filename":"file2"},{"photo_id":"1328458651","filename":"file1"},{"photo_id":"1328458649","filename":"file0"},{"photo_id":"1328458662","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458649":["hashtag1","hashtag2"]},{"1328458657":["hashtag1","hashtag2"]},{"1328458651":["hashtag1","hashtag2"]},{"1328458662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458649, 1328458657, 1328458651, 1328458662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.30362129211426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:33:22.375349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0003.jpg', '/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_02_433497_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/32/image_12012025_16_32_02_275646_0003.jpg
/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_02_433497_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":["1328458825","1328458824"],"photo_ids_order":["1328458824","1328458825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b69cd60476ec353db68cb404e74d1221.jpg","text":"TemporaryFile(/tmp/multipartBody3591921246088996241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696067898,"filename":"image_12012025_16_33_02_433497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/142b5b0f8a9deca127be07c9ca9bd550.jpg","text":"TemporaryFile(/tmp/multipartBody1209812040064926059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696067898,"filename":"image_12012025_16_32_02_275646_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328458825","file0":"1328458824"},"map_files_photo_id_array":[{"photo_id":"1328458825","filename":"file1"},{"photo_id":"1328458824","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458825":["hashtag1","hashtag2"]},{"1328458824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458825, 1328458824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.652073860168457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 16:33:52.346474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:34:02.911819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:34:22.562537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_02_433497_0002.jpg', '/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0000.jpg', '/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0001.jpg', '/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_02_433497_0002.jpg
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0000.jpg
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0001.jpg
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_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.05551028251648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:34:42.650557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_02_433497_0002.jpg', '/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0000.jpg', '/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0001.jpg', '/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_02_433497_0002.jpg
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0000.jpg
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0001.jpg
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458855","1328458857","1328458851","1328458853"],"photo_ids_order":["1328458851","1328458853","1328458855","1328458857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b158de21dbdeff5c1caa5374486e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody8879535510624711437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696153100,"filename":"image_12012025_16_34_02_707164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fd401fd1f5f5851398f7eec4ef396fa.jpg","text":"TemporaryFile(/tmp/multipartBody8161201444584874083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696153100,"filename":"image_12012025_16_34_02_707164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a392ac61085a926a9327ddc6a639b498.jpg","text":"TemporaryFile(/tmp/multipartBody705399219967510447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696153100,"filename":"image_12012025_16_33_02_433497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2330fe97edb5fb42f8647308077f9023.jpg","text":"TemporaryFile(/tmp/multipartBody6036268457905156637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696153100,"filename":"image_12012025_16_34_02_707164_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458855","file1":"1328458853","file0":"1328458851","file3":"1328458857"},"map_files_photo_id_array":[{"photo_id":"1328458855","filename":"file2"},{"photo_id":"1328458853","filename":"file1"},{"photo_id":"1328458851","filename":"file0"},{"photo_id":"1328458857","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458855":["hashtag1","hashtag2"]},{"1328458857":["hashtag1","hashtag2"]},{"1328458851":["hashtag1","hashtag2"]},{"1328458853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458855, 1328458857, 1328458851, 1328458853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.269487142562866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 16:35:32.672840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0003.jpg', '/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0000.jpg', '/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0001.jpg', '/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/34/image_12012025_16_34_02_707164_0003.jpg
/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0000.jpg
/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0001.jpg
/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458870","1328458864","1328458873","1328458867"],"photo_ids_order":["1328458864","1328458867","1328458870","1328458873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1398a7ea06a45a19e74a4714cc814f05.jpg","text":"TemporaryFile(/tmp/multipartBody4589601581515158437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696203086,"filename":"image_12012025_16_35_02_880164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b9b86cf1d29673aebf62e344cce30a0.jpg","text":"TemporaryFile(/tmp/multipartBody9134236220365795980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696203086,"filename":"image_12012025_16_34_02_707164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad21d6c85286e5afd852d4c2948148b0.jpg","text":"TemporaryFile(/tmp/multipartBody5157132754200285273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696203086,"filename":"image_12012025_16_35_02_880164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/902cc5476ec2df55827b0a5e92cbe6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3930539475419839840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696203086,"filename":"image_12012025_16_35_02_880164_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458870","file1":"1328458867","file0":"1328458864","file3":"1328458873"},"map_files_photo_id_array":[{"photo_id":"1328458870","filename":"file2"},{"photo_id":"1328458867","filename":"file1"},{"photo_id":"1328458864","filename":"file0"},{"photo_id":"1328458873","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458870":["hashtag1","hashtag2"]},{"1328458864":["hashtag1","hashtag2"]},{"1328458873":["hashtag1","hashtag2"]},{"1328458867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458870, 1328458864, 1328458873, 1328458867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.568886518478394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:36:22.040851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0003.jpg', '/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0000.jpg', '/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0001.jpg', '/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_02_880164_0003.jpg
/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0000.jpg
/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0001.jpg
/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458893","1328458896","1328458890","1328458895"],"photo_ids_order":["1328458890","1328458893","1328458895","1328458896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65926bdff43a7f187c84f76e1ea5b31f.jpg","text":"TemporaryFile(/tmp/multipartBody5306646343497445703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696252501,"filename":"image_12012025_16_36_03_106301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7d53124dcbd3a4b4f8f6f987329c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody8049123233893780928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696252501,"filename":"image_12012025_16_36_03_106301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/636a2d4a30a3ade6366d932795f2d664.jpg","text":"TemporaryFile(/tmp/multipartBody7619468575383805846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696252501,"filename":"image_12012025_16_35_02_880164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4111f9efa3e168d0427b3e797daf9ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2431917138006303747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696252501,"filename":"image_12012025_16_36_03_106301_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458895","file1":"1328458893","file0":"1328458890","file3":"1328458896"},"map_files_photo_id_array":[{"photo_id":"1328458895","filename":"file2"},{"photo_id":"1328458893","filename":"file1"},{"photo_id":"1328458890","filename":"file0"},{"photo_id":"1328458896","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458893":["hashtag1","hashtag2"]},{"1328458896":["hashtag1","hashtag2"]},{"1328458890":["hashtag1","hashtag2"]},{"1328458895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458893, 1328458896, 1328458890, 1328458895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.87438917160034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:37:22.089131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0003.jpg', '/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0000.jpg', '/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0001.jpg', '/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_03_106301_0003.jpg
/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0000.jpg
/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0001.jpg
/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458910","1328458911","1328458914","1328458908"],"photo_ids_order":["1328458908","1328458910","1328458911","1328458914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfe670e7cf294ad9abe69271c7febbd0.jpg","text":"TemporaryFile(/tmp/multipartBody5501236127282909597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696312415,"filename":"image_12012025_16_37_02_284284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f84168b76eb0a24464f562ec1ac5cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1300415150641152538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696312415,"filename":"image_12012025_16_37_02_284284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9ef9151c5c740e78126d1360edfec30.jpg","text":"TemporaryFile(/tmp/multipartBody8335414299502519965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696312415,"filename":"image_12012025_16_37_02_284284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5d33c35d7b11633f23443cc18d0abe0e.jpg","text":"TemporaryFile(/tmp/multipartBody4071297043837981727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696312415,"filename":"image_12012025_16_36_03_106301_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458911","file1":"1328458910","file0":"1328458908","file3":"1328458914"},"map_files_photo_id_array":[{"photo_id":"1328458911","filename":"file2"},{"photo_id":"1328458910","filename":"file1"},{"photo_id":"1328458908","filename":"file0"},{"photo_id":"1328458914","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458910":["hashtag1","hashtag2"]},{"1328458911":["hashtag1","hashtag2"]},{"1328458914":["hashtag1","hashtag2"]},{"1328458908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458910, 1328458911, 1328458914, 1328458908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69392251968384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:38:02.749218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:38:22.242006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0003.jpg', '/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0000.jpg', '/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0001.jpg', '/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/37/image_12012025_16_37_02_284284_0003.jpg
/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0000.jpg
/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0001.jpg
/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328458937","1328458939","1328458938","1328458941"],"photo_ids_order":["1328458937","1328458938","1328458939","1328458941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a97950cf7a00ee4291daeeb57d41dc85.jpg","text":"TemporaryFile(/tmp/multipartBody7501529420738381384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696372522,"filename":"image_12012025_16_37_02_284284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9410c25bdc90ab74931953b3c6b4504.jpg","text":"TemporaryFile(/tmp/multipartBody963910698484453088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696372522,"filename":"image_12012025_16_38_02_562146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2bb56523c749917a18b837896a99d2a1.jpg","text":"TemporaryFile(/tmp/multipartBody3335148505942995747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696372522,"filename":"image_12012025_16_38_02_562146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e726cad18ed312fbf3843b68811f02a7.jpg","text":"TemporaryFile(/tmp/multipartBody2947252319664616980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696372522,"filename":"image_12012025_16_38_02_562146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458939","file1":"1328458938","file0":"1328458937","file3":"1328458941"},"map_files_photo_id_array":[{"photo_id":"1328458939","filename":"file2"},{"photo_id":"1328458938","filename":"file1"},{"photo_id":"1328458937","filename":"file0"},{"photo_id":"1328458941","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458937":["hashtag1","hashtag2"]},{"1328458939":["hashtag1","hashtag2"]},{"1328458938":["hashtag1","hashtag2"]},{"1328458941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458937, 1328458939, 1328458938, 1328458941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.41474223136902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:39:02.990728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:39:22.386832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0003.jpg', '/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0000.jpg', '/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_02_562146_0003.jpg
/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0000.jpg
/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_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":["1328458978","1328458972","1328458975"],"photo_ids_order":["1328458972","1328458975","1328458978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e23abb40f78f6f00b70fdea511fc751.jpg","text":"TemporaryFile(/tmp/multipartBody4426232299446405728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696430458,"filename":"image_12012025_16_39_02_542599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49300a82c0dcba798d871ca4aa5d1e50.jpg","text":"TemporaryFile(/tmp/multipartBody3269658093938956042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696430458,"filename":"image_12012025_16_38_02_562146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b173084afdd8ada570c7553adf955d9.jpg","text":"TemporaryFile(/tmp/multipartBody5552077901326725080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696430458,"filename":"image_12012025_16_39_02_542599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328458978","file1":"1328458975","file0":"1328458972"},"map_files_photo_id_array":[{"photo_id":"1328458978","filename":"file2"},{"photo_id":"1328458975","filename":"file1"},{"photo_id":"1328458972","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328458978":["hashtag1","hashtag2"]},{"1328458972":["hashtag1","hashtag2"]},{"1328458975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328458978, 1328458972, 1328458975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.532254695892334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:40:03.083341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:40:22.633391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0002.jpg', '/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0000.jpg', '/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0001.jpg', '/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0002.jpg
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0000.jpg
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0001.jpg
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_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.886262655258179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:40:42.593061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0002.jpg', '/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0000.jpg', '/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0001.jpg', '/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/39/image_12012025_16_39_02_542599_0002.jpg
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0000.jpg
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0001.jpg
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_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":["1328459225","1328459223","1328459226","1328459228"],"photo_ids_order":["1328459223","1328459225","1328459226","1328459228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f336f4de26513801cc3689f510b797f5.jpg","text":"TemporaryFile(/tmp/multipartBody7652157213764649892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696512886,"filename":"image_12012025_16_40_02_753912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/394c679becb322dc05abd0711bdc94cf.jpg","text":"TemporaryFile(/tmp/multipartBody2715057640014894655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696512886,"filename":"image_12012025_16_39_02_542599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcd4625948025ee7719f531d7a6ca042.jpg","text":"TemporaryFile(/tmp/multipartBody6638778206897456674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696512886,"filename":"image_12012025_16_40_02_753912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2c0e0392d5ad736133e99ce40440dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8527680207792110900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696512886,"filename":"image_12012025_16_40_02_753912_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459226","file1":"1328459225","file0":"1328459223","file3":"1328459228"},"map_files_photo_id_array":[{"photo_id":"1328459226","filename":"file2"},{"photo_id":"1328459225","filename":"file1"},{"photo_id":"1328459223","filename":"file0"},{"photo_id":"1328459228","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459225":["hashtag1","hashtag2"]},{"1328459223":["hashtag1","hashtag2"]},{"1328459226":["hashtag1","hashtag2"]},{"1328459228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459225, 1328459223, 1328459226, 1328459228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75731348991394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:41:22.905874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0003.jpg', '/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0000.jpg', '/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0001.jpg', '/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/40/image_12012025_16_40_02_753912_0003.jpg
/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0000.jpg
/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0001.jpg
/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459243","1328459244","1328459238","1328459240"],"photo_ids_order":["1328459238","1328459240","1328459243","1328459244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/673a445881fad0132a79e6bc9fbf6054.jpg","text":"TemporaryFile(/tmp/multipartBody8195008030759508098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696553410,"filename":"image_12012025_16_41_02_981700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9cd48d9d91f503d25820de65754de01.jpg","text":"TemporaryFile(/tmp/multipartBody3860643942252540499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696553410,"filename":"image_12012025_16_41_02_981700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c1b7249bf5a1da4f2b1cf8c636a7821.jpg","text":"TemporaryFile(/tmp/multipartBody5027519150348274321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696553410,"filename":"image_12012025_16_40_02_753912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/089d3b18b8e8c484bed2f8442c77a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody7389283428054417111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696553410,"filename":"image_12012025_16_41_02_981700_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459243","file1":"1328459240","file0":"1328459238","file3":"1328459244"},"map_files_photo_id_array":[{"photo_id":"1328459243","filename":"file2"},{"photo_id":"1328459240","filename":"file1"},{"photo_id":"1328459238","filename":"file0"},{"photo_id":"1328459244","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459243":["hashtag1","hashtag2"]},{"1328459244":["hashtag1","hashtag2"]},{"1328459238":["hashtag1","hashtag2"]},{"1328459240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459243, 1328459244, 1328459238, 1328459240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07815742492676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:42:21.989806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0003.jpg', '/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_03_138822_0001.jpg', '/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_03_138822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/41/image_12012025_16_41_02_981700_0003.jpg
/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_03_138822_0001.jpg
/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_03_138822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459260","1328459254","1328459257"],"photo_ids_order":["1328459254","1328459257","1328459260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6af443e75ce84f4a889ba4f5b46f9cac.jpg","text":"TemporaryFile(/tmp/multipartBody5162888054793591799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696609916,"filename":"image_12012025_16_42_03_138822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f3d8f526040f15aa84d808f8eb502c5.jpg","text":"TemporaryFile(/tmp/multipartBody1690990775056829021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696609916,"filename":"image_12012025_16_41_02_981700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/661f2c31cf84bacb07546a281e966291.jpg","text":"TemporaryFile(/tmp/multipartBody622382459999789902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696609916,"filename":"image_12012025_16_42_03_138822_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459260","file1":"1328459257","file0":"1328459254"},"map_files_photo_id_array":[{"photo_id":"1328459260","filename":"file2"},{"photo_id":"1328459257","filename":"file1"},{"photo_id":"1328459254","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459260":["hashtag1","hashtag2"]},{"1328459254":["hashtag1","hashtag2"]},{"1328459257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459260, 1328459254, 1328459257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.6863067150116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:43:02.672750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:43:22.104456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_03_138822_0003.jpg', '/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0000.jpg', '/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0001.jpg', '/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_03_138822_0003.jpg
/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0000.jpg
/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0001.jpg
/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459299","1328459303","1328459296","1328459301"],"photo_ids_order":["1328459296","1328459299","1328459301","1328459303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/898a35b3289d3185e98a148a07103b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5216049363914340480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696672330,"filename":"image_12012025_16_43_02_282305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a683f5106feac15e2fb99bb11cd0618f.jpg","text":"TemporaryFile(/tmp/multipartBody5860920182583914428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696672330,"filename":"image_12012025_16_43_02_282305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ba6d463379c704684d193f86b1a1f37.jpg","text":"TemporaryFile(/tmp/multipartBody6822691010862082588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696672330,"filename":"image_12012025_16_42_03_138822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2592facc99e75fe7f17cc5ecb32ad8b4.jpg","text":"TemporaryFile(/tmp/multipartBody2594308707174660381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696672330,"filename":"image_12012025_16_43_02_282305_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459301","file1":"1328459299","file0":"1328459296","file3":"1328459303"},"map_files_photo_id_array":[{"photo_id":"1328459301","filename":"file2"},{"photo_id":"1328459299","filename":"file1"},{"photo_id":"1328459296","filename":"file0"},{"photo_id":"1328459303","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459299":["hashtag1","hashtag2"]},{"1328459303":["hashtag1","hashtag2"]},{"1328459296":["hashtag1","hashtag2"]},{"1328459301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459299, 1328459303, 1328459296, 1328459301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.944358825683594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:44:02.829420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:44:22.383985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0003.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0000.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0001.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0003.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0000.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0001.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_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.710572004318237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:44:42.401967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0003.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0000.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0001.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/43/image_12012025_16_43_02_282305_0003.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0000.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0001.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_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":["1328459383","1328459385","1328459387","1328459390"],"photo_ids_order":["1328459383","1328459385","1328459387","1328459390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d526efde9f70655c9e087dd61c9afc1.jpg","text":"TemporaryFile(/tmp/multipartBody4993381975765626840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696752502,"filename":"image_12012025_16_43_02_282305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/366a12bd0d4607dfef665a4721c520d4.jpg","text":"TemporaryFile(/tmp/multipartBody3017374158975098521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696752502,"filename":"image_12012025_16_44_02_481558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b5e853edfc86170c03b84de24c6e0ec.jpg","text":"TemporaryFile(/tmp/multipartBody660072118380154122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696752502,"filename":"image_12012025_16_44_02_481558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a5796e3864ef7422ae245c5146137ae.jpg","text":"TemporaryFile(/tmp/multipartBody5558857356544949181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696752502,"filename":"image_12012025_16_44_02_481558_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459387","file1":"1328459385","file0":"1328459383","file3":"1328459390"},"map_files_photo_id_array":[{"photo_id":"1328459387","filename":"file2"},{"photo_id":"1328459385","filename":"file1"},{"photo_id":"1328459383","filename":"file0"},{"photo_id":"1328459390","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459383":["hashtag1","hashtag2"]},{"1328459385":["hashtag1","hashtag2"]},{"1328459387":["hashtag1","hashtag2"]},{"1328459390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459383, 1328459385, 1328459387, 1328459390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.2233247756958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:45:22.515451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0003.jpg', '/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0000.jpg', '/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0001.jpg', '/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_02_481558_0003.jpg
/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0000.jpg
/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0001.jpg
/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459595","1328459591","1328459558","1328459465"],"photo_ids_order":["1328459465","1328459558","1328459591","1328459595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71ad49acd49165b2d2e79d95cfd47092.jpg","text":"TemporaryFile(/tmp/multipartBody5607711804185608843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696792782,"filename":"image_12012025_16_45_02_718490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7b7d3660f3ac1a71e5857291a234e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3783010110444523502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696792782,"filename":"image_12012025_16_45_02_718490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d91897e1f153a2dda35938f070e711e8.jpg","text":"TemporaryFile(/tmp/multipartBody74977987218168547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696792782,"filename":"image_12012025_16_45_02_718490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f542b578e08fa532baa162c68f45957.jpg","text":"TemporaryFile(/tmp/multipartBody773134983251367620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696792782,"filename":"image_12012025_16_44_02_481558_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459591","file1":"1328459558","file0":"1328459465","file3":"1328459595"},"map_files_photo_id_array":[{"photo_id":"1328459591","filename":"file2"},{"photo_id":"1328459558","filename":"file1"},{"photo_id":"1328459465","filename":"file0"},{"photo_id":"1328459595","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459595":["hashtag1","hashtag2"]},{"1328459591":["hashtag1","hashtag2"]},{"1328459558":["hashtag1","hashtag2"]},{"1328459465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459595, 1328459591, 1328459558, 1328459465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21873188018799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:46:03.214642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:46:22.602604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0003.jpg', '/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0000.jpg', '/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0001.jpg', '/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/45/image_12012025_16_45_02_718490_0003.jpg
/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0000.jpg
/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0001.jpg
/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459612","1328459611","1328459608","1328459610"],"photo_ids_order":["1328459608","1328459610","1328459611","1328459612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1435f9c9cd55bab2dd30cda42a9f8f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1364486074616542076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696852764,"filename":"image_12012025_16_46_03_031421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcb319b1634f1e25bc159ac9074cca58.jpg","text":"TemporaryFile(/tmp/multipartBody461836040774254482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696852764,"filename":"image_12012025_16_46_03_031421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6027105d7c1b7c1a44ec2bea60a1b3b4.jpg","text":"TemporaryFile(/tmp/multipartBody1220483683456238622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696852764,"filename":"image_12012025_16_45_02_718490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7b18372d7ff2a3f429422e19786dd6e.jpg","text":"TemporaryFile(/tmp/multipartBody242751704379934381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696852764,"filename":"image_12012025_16_46_03_031421_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459611","file1":"1328459610","file0":"1328459608","file3":"1328459612"},"map_files_photo_id_array":[{"photo_id":"1328459611","filename":"file2"},{"photo_id":"1328459610","filename":"file1"},{"photo_id":"1328459608","filename":"file0"},{"photo_id":"1328459612","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459612":["hashtag1","hashtag2"]},{"1328459611":["hashtag1","hashtag2"]},{"1328459608":["hashtag1","hashtag2"]},{"1328459610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459612, 1328459611, 1328459608, 1328459610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.229880571365356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:47:21.836318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0003.jpg', '/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0000.jpg', '/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0001.jpg', '/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_03_031421_0003.jpg
/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0000.jpg
/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0001.jpg
/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459627","1328459623","1328459621","1328459624"],"photo_ids_order":["1328459621","1328459623","1328459624","1328459627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e1e37862c921bd7d0f2bc84233a6dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5568382615993543552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696912175,"filename":"image_12012025_16_47_03_011616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/75554111c7a91d5ff4ec57dd3dd05122.jpg","text":"TemporaryFile(/tmp/multipartBody7608323822062809636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696912175,"filename":"image_12012025_16_47_03_011616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/483a1e72759224bb7069abdca585ccbc.jpg","text":"TemporaryFile(/tmp/multipartBody5969423979419605106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696912175,"filename":"image_12012025_16_46_03_031421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9f095e488378e9b3afc343f51a61ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4397281005586520125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696912175,"filename":"image_12012025_16_47_03_011616_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459624","file1":"1328459623","file0":"1328459621","file3":"1328459627"},"map_files_photo_id_array":[{"photo_id":"1328459624","filename":"file2"},{"photo_id":"1328459623","filename":"file1"},{"photo_id":"1328459621","filename":"file0"},{"photo_id":"1328459627","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459627":["hashtag1","hashtag2"]},{"1328459623":["hashtag1","hashtag2"]},{"1328459621":["hashtag1","hashtag2"]},{"1328459624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459627, 1328459623, 1328459621, 1328459624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.872028827667236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:48:22.048475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0003.jpg', '/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_02_250981_0000.jpg', '/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_02_250981_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/47/image_12012025_16_47_03_011616_0003.jpg
/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_02_250981_0000.jpg
/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_02_250981_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":["1328459635","1328459637","1328459636"],"photo_ids_order":["1328459635","1328459636","1328459637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5d2d032442d4656fdd2dd0cea5ac593.jpg","text":"TemporaryFile(/tmp/multipartBody739130002799709987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696969969,"filename":"image_12012025_16_47_03_011616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2c6af5978213fdec6d792e19b4acc1e.jpg","text":"TemporaryFile(/tmp/multipartBody8050966737853279540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696969969,"filename":"image_12012025_16_48_02_250981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d5f5c343e13b1ca616fe0ae3fe1e931.jpg","text":"TemporaryFile(/tmp/multipartBody3375356068118262152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736696969969,"filename":"image_12012025_16_48_02_250981_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459637","file1":"1328459636","file0":"1328459635"},"map_files_photo_id_array":[{"photo_id":"1328459637","filename":"file2"},{"photo_id":"1328459636","filename":"file1"},{"photo_id":"1328459635","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459635":["hashtag1","hashtag2"]},{"1328459637":["hashtag1","hashtag2"]},{"1328459636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459635, 1328459637, 1328459636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.176475763320923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:49:02.788413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:49:22.242504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_02_250981_0003.jpg', '/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0000.jpg', '/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0001.jpg', '/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_02_250981_0003.jpg
/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0000.jpg
/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0001.jpg
/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459680","1328459681","1328459675","1328459678"],"photo_ids_order":["1328459675","1328459678","1328459680","1328459681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38f5a5faa7dd9e8de60ded287de5bc38.jpg","text":"TemporaryFile(/tmp/multipartBody6467864261265297853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697032530,"filename":"image_12012025_16_49_02_363363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f76fb8c880e964019065b6ce39c6d7ce.jpg","text":"TemporaryFile(/tmp/multipartBody5237644496020543940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697032530,"filename":"image_12012025_16_49_02_363363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/025cbf897352cb99109d6539d7290399.jpg","text":"TemporaryFile(/tmp/multipartBody612895479067340846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697032530,"filename":"image_12012025_16_48_02_250981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22b88d4e8a467eb7b437d208dba91a59.jpg","text":"TemporaryFile(/tmp/multipartBody5107901505509359550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697032530,"filename":"image_12012025_16_49_02_363363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459680","file1":"1328459678","file0":"1328459675","file3":"1328459681"},"map_files_photo_id_array":[{"photo_id":"1328459680","filename":"file2"},{"photo_id":"1328459678","filename":"file1"},{"photo_id":"1328459675","filename":"file0"},{"photo_id":"1328459681","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459680":["hashtag1","hashtag2"]},{"1328459681":["hashtag1","hashtag2"]},{"1328459675":["hashtag1","hashtag2"]},{"1328459678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459680, 1328459681, 1328459675, 1328459678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.08757185935974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:50:22.403339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0003.jpg', '/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0000.jpg', '/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0001.jpg', '/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0003.jpg
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0000.jpg
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0001.jpg
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_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.918558835983276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:50:42.334579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0003.jpg', '/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0000.jpg', '/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0001.jpg', '/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/49/image_12012025_16_49_02_363363_0003.jpg
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0000.jpg
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0001.jpg
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459698","1328459701","1328459697","1328459696"],"photo_ids_order":["1328459696","1328459697","1328459698","1328459701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10388a2e0a6c53684031d84484969e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7976954418765083242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697112640,"filename":"image_12012025_16_50_02_557333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05f941f05311119371425d37ab62aef2.jpg","text":"TemporaryFile(/tmp/multipartBody5419806005281606494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697112640,"filename":"image_12012025_16_50_02_557333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d92ab2a7fb7d1552dae4285dba613a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4498665726749648829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697112640,"filename":"image_12012025_16_50_02_557333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5046c01ed3ec75f53df34add989ec0df.jpg","text":"TemporaryFile(/tmp/multipartBody8464082159072247218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697112640,"filename":"image_12012025_16_49_02_363363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459698","file1":"1328459697","file0":"1328459696","file3":"1328459701"},"map_files_photo_id_array":[{"photo_id":"1328459698","filename":"file2"},{"photo_id":"1328459697","filename":"file1"},{"photo_id":"1328459696","filename":"file0"},{"photo_id":"1328459701","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459698":["hashtag1","hashtag2"]},{"1328459701":["hashtag1","hashtag2"]},{"1328459697":["hashtag1","hashtag2"]},{"1328459696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459698, 1328459701, 1328459697, 1328459696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81279397010803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 16:51:32.451356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0003.jpg', '/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0000.jpg', '/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0001.jpg', '/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/50/image_12012025_16_50_02_557333_0003.jpg
/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0000.jpg
/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0001.jpg
/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459714","1328459736","1328459733","1328459735"],"photo_ids_order":["1328459714","1328459733","1328459735","1328459736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2037a6f15039dfdbe5b43cc3a75a7284.jpg","text":"TemporaryFile(/tmp/multipartBody3334424960560048923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697162729,"filename":"image_12012025_16_50_02_557333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d8b0311bf10417569a45a969974e126.jpg","text":"TemporaryFile(/tmp/multipartBody7925250954039225946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697162729,"filename":"image_12012025_16_51_02_719836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b83ab22bc6df3587a0863f023b685d53.jpg","text":"TemporaryFile(/tmp/multipartBody8005667559426952473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697162729,"filename":"image_12012025_16_51_02_719836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3801fc5a3d0054c15ff6546a424b1af8.jpg","text":"TemporaryFile(/tmp/multipartBody3530155814232080030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697162729,"filename":"image_12012025_16_51_02_719836_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459735","file1":"1328459733","file0":"1328459714","file3":"1328459736"},"map_files_photo_id_array":[{"photo_id":"1328459735","filename":"file2"},{"photo_id":"1328459733","filename":"file1"},{"photo_id":"1328459714","filename":"file0"},{"photo_id":"1328459736","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459714":["hashtag1","hashtag2"]},{"1328459736":["hashtag1","hashtag2"]},{"1328459733":["hashtag1","hashtag2"]},{"1328459735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459714, 1328459736, 1328459733, 1328459735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.721288204193115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:52:22.685099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0003.jpg', '/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0000.jpg', '/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0001.jpg', '/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_02_719836_0003.jpg
/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0000.jpg
/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0001.jpg
/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459761","1328459749","1328459748","1328459747"],"photo_ids_order":["1328459747","1328459748","1328459749","1328459761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45922907bf2c3b655a44dc569f4c1a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8656128957976538382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697212848,"filename":"image_12012025_16_52_02_852837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24bb90d320fc0f29cd057fed3e2046ef.jpg","text":"TemporaryFile(/tmp/multipartBody3291155133810575791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697212848,"filename":"image_12012025_16_52_02_852837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5a31e4bb0639b976d63bcbaaf0c45f5.jpg","text":"TemporaryFile(/tmp/multipartBody729570418029119280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697212848,"filename":"image_12012025_16_52_02_852837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6beaa6b8161e504a37aceee3272f0835.jpg","text":"TemporaryFile(/tmp/multipartBody3271690323491799889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697212848,"filename":"image_12012025_16_51_02_719836_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459749","file1":"1328459748","file0":"1328459747","file3":"1328459761"},"map_files_photo_id_array":[{"photo_id":"1328459749","filename":"file2"},{"photo_id":"1328459748","filename":"file1"},{"photo_id":"1328459747","filename":"file0"},{"photo_id":"1328459761","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459761":["hashtag1","hashtag2"]},{"1328459749":["hashtag1","hashtag2"]},{"1328459748":["hashtag1","hashtag2"]},{"1328459747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459761, 1328459749, 1328459748, 1328459747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.068248987197876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:53:21.811164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0003.jpg', '/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0000.jpg', '/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0001.jpg', '/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/52/image_12012025_16_52_02_852837_0003.jpg
/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0000.jpg
/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0001.jpg
/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459776","1328459770","1328459773","1328459771"],"photo_ids_order":["1328459770","1328459771","1328459773","1328459776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7973b1b052179e0fc209dc21204ab5e7.jpg","text":"TemporaryFile(/tmp/multipartBody7288982535329946288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697272052,"filename":"image_12012025_16_53_02_972582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2680f5648eef64503514efefe1581a21.jpg","text":"TemporaryFile(/tmp/multipartBody8743913580364191364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697272052,"filename":"image_12012025_16_52_02_852837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d0db5515af9ba20b4e9fd440f8a8f6d.jpg","text":"TemporaryFile(/tmp/multipartBody788705688673378999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697272052,"filename":"image_12012025_16_53_02_972582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/40b0b6f191f87b1ad259f0e25b900618.jpg","text":"TemporaryFile(/tmp/multipartBody6395128738041034656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697272052,"filename":"image_12012025_16_53_02_972582_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459773","file1":"1328459771","file0":"1328459770","file3":"1328459776"},"map_files_photo_id_array":[{"photo_id":"1328459773","filename":"file2"},{"photo_id":"1328459771","filename":"file1"},{"photo_id":"1328459770","filename":"file0"},{"photo_id":"1328459776","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459776":["hashtag1","hashtag2"]},{"1328459770":["hashtag1","hashtag2"]},{"1328459773":["hashtag1","hashtag2"]},{"1328459771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459776, 1328459770, 1328459773, 1328459771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.341145753860474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:54:22.084181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0003.jpg', '/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0000.jpg', '/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0001.jpg', '/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/53/image_12012025_16_53_02_972582_0003.jpg
/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0000.jpg
/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0001.jpg
/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459810","1328459790","1328459808","1328459783"],"photo_ids_order":["1328459783","1328459790","1328459808","1328459810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8bfe6bc81d65eda79a321905b7e17d4.jpg","text":"TemporaryFile(/tmp/multipartBody6643301262176081368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697332388,"filename":"image_12012025_16_54_02_131887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4cd2ed6a6d8ad179796d395b6d4db563.jpg","text":"TemporaryFile(/tmp/multipartBody9131725845160484755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697332388,"filename":"image_12012025_16_54_02_131887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa102c3fe57ca3b29a80149d7a8e94e0.jpg","text":"TemporaryFile(/tmp/multipartBody1124217402968999781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697332388,"filename":"image_12012025_16_54_02_131887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58af63713ec93b2d338873985a215e5b.jpg","text":"TemporaryFile(/tmp/multipartBody6251960352710077388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697332388,"filename":"image_12012025_16_53_02_972582_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459808","file1":"1328459790","file0":"1328459783","file3":"1328459810"},"map_files_photo_id_array":[{"photo_id":"1328459808","filename":"file2"},{"photo_id":"1328459790","filename":"file1"},{"photo_id":"1328459783","filename":"file0"},{"photo_id":"1328459810","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459810":["hashtag1","hashtag2"]},{"1328459790":["hashtag1","hashtag2"]},{"1328459808":["hashtag1","hashtag2"]},{"1328459783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459810, 1328459790, 1328459808, 1328459783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.007000207901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:55:22.249060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0003.jpg', '/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0000.jpg', '/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0001.jpg', '/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_02_131887_0003.jpg
/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0000.jpg
/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0001.jpg
/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328459825","1328459827","1328459828","1328459822"],"photo_ids_order":["1328459822","1328459825","1328459827","1328459828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71c88b8ad667100315370c8939a409c0.jpg","text":"TemporaryFile(/tmp/multipartBody2646233160736517966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697392535,"filename":"image_12012025_16_55_02_394166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a40f762c6066682d1869f60b9a693e1.jpg","text":"TemporaryFile(/tmp/multipartBody2967399034545790817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697392535,"filename":"image_12012025_16_55_02_394166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a38b5feea333011cd3f6b0c8affb987.jpg","text":"TemporaryFile(/tmp/multipartBody4473560011464560098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697392535,"filename":"image_12012025_16_55_02_394166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9501224d7db37a428d8616cca9d63d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8701926404421499451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697392535,"filename":"image_12012025_16_54_02_131887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459827","file1":"1328459825","file0":"1328459822","file3":"1328459828"},"map_files_photo_id_array":[{"photo_id":"1328459827","filename":"file2"},{"photo_id":"1328459825","filename":"file1"},{"photo_id":"1328459822","filename":"file0"},{"photo_id":"1328459828","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459825":["hashtag1","hashtag2"]},{"1328459827":["hashtag1","hashtag2"]},{"1328459828":["hashtag1","hashtag2"]},{"1328459822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459825, 1328459827, 1328459828, 1328459822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.81041502952576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 16:56:02.777455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:56:22.403049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0003.jpg', '/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0000.jpg', '/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0001.jpg', '/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0003.jpg
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0000.jpg
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0001.jpg
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_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.883063077926636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 16:56:42.321716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0003.jpg', '/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0000.jpg', '/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0001.jpg', '/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/55/image_12012025_16_55_02_394166_0003.jpg
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0000.jpg
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0001.jpg
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_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":["1328459845","1328459841","1328459847","1328459843"],"photo_ids_order":["1328459841","1328459843","1328459845","1328459847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9cf70e58e4729256b82e0e804692a905.jpg","text":"TemporaryFile(/tmp/multipartBody650998062960705436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697472594,"filename":"image_12012025_16_56_02_596116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bec7cfb3df7559d713a849d6dab86b7a.jpg","text":"TemporaryFile(/tmp/multipartBody6681699424432764364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697472594,"filename":"image_12012025_16_55_02_394166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/31d465a29d129b1a78e10164bdd4b778.jpg","text":"TemporaryFile(/tmp/multipartBody6995245565971541704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697472594,"filename":"image_12012025_16_56_02_596116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50fae29a099c7918be425c2a2b5cef13.jpg","text":"TemporaryFile(/tmp/multipartBody8343779270546648823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697472594,"filename":"image_12012025_16_56_02_596116_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328459845","file1":"1328459843","file0":"1328459841","file3":"1328459847"},"map_files_photo_id_array":[{"photo_id":"1328459845","filename":"file2"},{"photo_id":"1328459843","filename":"file1"},{"photo_id":"1328459841","filename":"file0"},{"photo_id":"1328459847","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328459845":["hashtag1","hashtag2"]},{"1328459841":["hashtag1","hashtag2"]},{"1328459847":["hashtag1","hashtag2"]},{"1328459843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328459845, 1328459841, 1328459847, 1328459843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.528706550598145 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-12 16:57:32.437615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0003.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0000.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0001.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0003.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0000.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0001.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_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-12 16:59:02.621401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0003.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0000.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0001.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0002.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0003.jpg', '/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0003.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0000.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0001.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0002.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0003.jpg
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_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.597790002822876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 16:59:21.962011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0003.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0000.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0001.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0002.jpg', '/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0003.jpg', '/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/56/image_12012025_16_56_02_596116_0003.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0000.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0001.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0002.jpg
/home/pi/Desktop/images/12012025/16/57/image_12012025_16_57_02_688606_0003.jpg
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_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":["1328460020","1328460014","1328460017","1328460011","1328460016","1328460018"],"photo_ids_order":["1328460011","1328460014","1328460016","1328460017","1328460018","1328460020"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cd2c1ee34257d5a19dfa0c3db502eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4233328311159745818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697636911,"filename":"image_12012025_16_58_02_861587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3997e0148d8f1f953e13835a6eddd15.jpg","text":"TemporaryFile(/tmp/multipartBody4126329284885172981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697636911,"filename":"image_12012025_16_57_02_688606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcfdb967c61f1f9e48ad94e9cb85e04e.jpg","text":"TemporaryFile(/tmp/multipartBody6230149286974174255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697636911,"filename":"image_12012025_16_57_02_688606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a15c25619869d15a98a947d9ad8d7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1212177108133336179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697636911,"filename":"image_12012025_16_56_02_596116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47f7f1d2205df49e143c1b2b88c63148.jpg","text":"TemporaryFile(/tmp/multipartBody2934779542248261346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697636911,"filename":"image_12012025_16_57_02_688606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee1899a36bc891ffd2e9e4cf206ecb86.jpg","text":"TemporaryFile(/tmp/multipartBody4481779181044773237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697636911,"filename":"image_12012025_16_57_02_688606_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328460016","file1":"1328460014","file0":"1328460011","file4":"1328460018","file5":"1328460020","file3":"1328460017"},"map_files_photo_id_array":[{"photo_id":"1328460020","filename":"file5"},{"photo_id":"1328460016","filename":"file2"},{"photo_id":"1328460018","filename":"file4"},{"photo_id":"1328460014","filename":"file1"},{"photo_id":"1328460011","filename":"file0"},{"photo_id":"1328460017","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328460020":["hashtag1","hashtag2"]},{"1328460014":["hashtag1","hashtag2"]},{"1328460017":["hashtag1","hashtag2"]},{"1328460011":["hashtag1","hashtag2"]},{"1328460016":["hashtag1","hashtag2"]},{"1328460018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328460020, 1328460014, 1328460017, 1328460011, 1328460016, 1328460018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.84002709388733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:00:22.125395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0001.jpg', '/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0002.jpg', '/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0003.jpg', '/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0000.jpg', '/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0001.jpg', '/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0001.jpg
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0002.jpg
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0003.jpg
/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0000.jpg
/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0001.jpg
/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_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.781336545944214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:00:42.128426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0001.jpg', '/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0002.jpg', '/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0003.jpg', '/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0000.jpg', '/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0001.jpg', '/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0001.jpg
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0002.jpg
/home/pi/Desktop/images/12012025/16/58/image_12012025_16_58_02_861587_0003.jpg
/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0000.jpg
/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_0001.jpg
/home/pi/Desktop/images/12012025/16/59/image_12012025_16_59_02_998185_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":["1328460059","1328460056","1328460139","1328460049","1328460054","1328460051"],"photo_ids_order":["1328460049","1328460051","1328460054","1328460056","1328460059","1328460139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/384f70cb42becac66c8aada650bb7532.jpg","text":"TemporaryFile(/tmp/multipartBody1862665242211065076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697717296,"filename":"image_12012025_16_59_02_998185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c84a3d9e62d3b8a2bdaf2c9450e88f5.jpg","text":"TemporaryFile(/tmp/multipartBody7832609210313013186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697717296,"filename":"image_12012025_16_59_02_998185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/edbd2e64491e853733f26f6574b0e6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7250911292380590809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697717296,"filename":"image_12012025_16_59_02_998185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/afc9d1a851e28eefb63b2a20cf084e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5332132793391951304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697717296,"filename":"image_12012025_16_58_02_861587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bb90ce3db685d4f8c023a4a6ff0c12a2.jpg","text":"TemporaryFile(/tmp/multipartBody3359786138993814829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697717296,"filename":"image_12012025_16_58_02_861587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/836b2982d2dce47862546941c708742a.jpg","text":"TemporaryFile(/tmp/multipartBody3211579420851385210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697717296,"filename":"image_12012025_16_58_02_861587_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328460054","file1":"1328460051","file0":"1328460049","file4":"1328460059","file5":"1328460139","file3":"1328460056"},"map_files_photo_id_array":[{"photo_id":"1328460139","filename":"file5"},{"photo_id":"1328460054","filename":"file2"},{"photo_id":"1328460059","filename":"file4"},{"photo_id":"1328460051","filename":"file1"},{"photo_id":"1328460049","filename":"file0"},{"photo_id":"1328460056","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328460059":["hashtag1","hashtag2"]},{"1328460056":["hashtag1","hashtag2"]},{"1328460139":["hashtag1","hashtag2"]},{"1328460049":["hashtag1","hashtag2"]},{"1328460054":["hashtag1","hashtag2"]},{"1328460051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328460059, 1328460056, 1328460139, 1328460049, 1328460054, 1328460051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.219470262527466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:01:52.261404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/00/image_12012025_17_00_02_255876_0001.jpg', '/home/pi/Desktop/images/12012025/17/00/image_12012025_17_00_02_255876_0003.jpg', '/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0000.jpg', '/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0001.jpg', '/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/00/image_12012025_17_00_02_255876_0001.jpg
/home/pi/Desktop/images/12012025/17/00/image_12012025_17_00_02_255876_0003.jpg
/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0000.jpg
/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0001.jpg
/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328461090","1328461084","1328461080","1328461086","1328461082"],"photo_ids_order":["1328461080","1328461082","1328461084","1328461086","1328461090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9a342699f2560eff9ebc1c05af8b691.jpg","text":"TemporaryFile(/tmp/multipartBody4351922388266314086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697784988,"filename":"image_12012025_17_01_02_403706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cbbd7167783f6f62725b9904b1887b21.jpg","text":"TemporaryFile(/tmp/multipartBody4336785823477821438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697784988,"filename":"image_12012025_17_01_02_403706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77b6b27136a17525be7ed36dfdc06351.jpg","text":"TemporaryFile(/tmp/multipartBody8821355707006352396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697784988,"filename":"image_12012025_17_00_02_255876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d274a9c50e3393f3b6a07caba8fe0121.jpg","text":"TemporaryFile(/tmp/multipartBody2012680050431619455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697784988,"filename":"image_12012025_17_01_02_403706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8a181b312b43f5024297b484f4305bd.jpg","text":"TemporaryFile(/tmp/multipartBody8913056845340397774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697784988,"filename":"image_12012025_17_00_02_255876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328461084","file1":"1328461082","file0":"1328461080","file4":"1328461090","file3":"1328461086"},"map_files_photo_id_array":[{"photo_id":"1328461084","filename":"file2"},{"photo_id":"1328461090","filename":"file4"},{"photo_id":"1328461082","filename":"file1"},{"photo_id":"1328461080","filename":"file0"},{"photo_id":"1328461086","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328461090":["hashtag1","hashtag2"]},{"1328461084":["hashtag1","hashtag2"]},{"1328461080":["hashtag1","hashtag2"]},{"1328461086":["hashtag1","hashtag2"]},{"1328461082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328461090, 1328461084, 1328461080, 1328461086, 1328461082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.26497530937195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:02:42.474351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0003.jpg', '/home/pi/Desktop/images/12012025/17/02/image_12012025_17_02_02_569417_0000.jpg', '/home/pi/Desktop/images/12012025/17/02/image_12012025_17_02_02_569417_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/01/image_12012025_17_01_02_403706_0003.jpg
/home/pi/Desktop/images/12012025/17/02/image_12012025_17_02_02_569417_0000.jpg
/home/pi/Desktop/images/12012025/17/02/image_12012025_17_02_02_569417_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":["1328461693","1328461692","1328461689"],"photo_ids_order":["1328461689","1328461692","1328461693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cbc0377e24ae00b9adf6c5f8396bb5c.jpg","text":"TemporaryFile(/tmp/multipartBody815731822322131549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697830384,"filename":"image_12012025_17_02_02_569417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38685aef7fc5014c3a2b478e4742af80.jpg","text":"TemporaryFile(/tmp/multipartBody3775717603376233840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697830384,"filename":"image_12012025_17_02_02_569417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/329f5fffa73a59d27e7977bfdd077afc.jpg","text":"TemporaryFile(/tmp/multipartBody8342021982174117916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697830384,"filename":"image_12012025_17_01_02_403706_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328461693","file1":"1328461692","file0":"1328461689"},"map_files_photo_id_array":[{"photo_id":"1328461693","filename":"file2"},{"photo_id":"1328461692","filename":"file1"},{"photo_id":"1328461689","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328461693":["hashtag1","hashtag2"]},{"1328461692":["hashtag1","hashtag2"]},{"1328461689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328461693, 1328461692, 1328461689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.957791805267334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:03:22.690648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/02/image_12012025_17_02_02_569417_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/02/image_12012025_17_02_02_569417_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328462027"],"photo_id":"1328462027","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e42e8d4d4858c6622806a4de03d3001.jpg","text":"TemporaryFile(/tmp/multipartBody622495579631690240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697865782,"filename":"image_12012025_17_02_02_569417_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328462027"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328462027"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.438690423965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:03:42.642946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:03:52.626685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:04:02.220215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:04:21.924817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/03/image_12012025_17_03_02_816545_0000.jpg', '/home/pi/Desktop/images/12012025/17/04/image_12012025_17_04_03_023436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/03/image_12012025_17_03_02_816545_0000.jpg
/home/pi/Desktop/images/12012025/17/04/image_12012025_17_04_03_023436_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":["1328463459","1328463311"],"photo_ids_order":["1328463311","1328463459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6cf35e1e1a937b87c51446945abe1478.jpg","text":"TemporaryFile(/tmp/multipartBody4800641252862837793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697927422,"filename":"image_12012025_17_04_03_023436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b56235e9b28b711ef414f333a13b745d.jpg","text":"TemporaryFile(/tmp/multipartBody1625934780022748685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697927422,"filename":"image_12012025_17_03_02_816545_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328463459","file0":"1328463311"},"map_files_photo_id_array":[{"photo_id":"1328463459","filename":"file1"},{"photo_id":"1328463311","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463459":["hashtag1","hashtag2"]},{"1328463311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463459, 1328463311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.158824682235718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:04:52.070865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:05:02.891467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:05:22.260157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/04/image_12012025_17_04_03_023436_0003.jpg', '/home/pi/Desktop/images/12012025/17/05/image_12012025_17_05_02_176075_0000.jpg', '/home/pi/Desktop/images/12012025/17/05/image_12012025_17_05_02_176075_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/04/image_12012025_17_04_03_023436_0003.jpg
/home/pi/Desktop/images/12012025/17/05/image_12012025_17_05_02_176075_0000.jpg
/home/pi/Desktop/images/12012025/17/05/image_12012025_17_05_02_176075_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":["1328463517","1328463516","1328463512"],"photo_ids_order":["1328463512","1328463516","1328463517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f4ed5da2511641d0a9a96948925973b.jpg","text":"TemporaryFile(/tmp/multipartBody292783370050369130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697990170,"filename":"image_12012025_17_05_02_176075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63364df5b0b0840e7fd3f52445d3abcc.jpg","text":"TemporaryFile(/tmp/multipartBody7530499445457189951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697990170,"filename":"image_12012025_17_05_02_176075_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f179d28748a2f80da4b64eca7f7c1d13.jpg","text":"TemporaryFile(/tmp/multipartBody3566145712864783429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736697990170,"filename":"image_12012025_17_04_03_023436_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463517","file1":"1328463516","file0":"1328463512"},"map_files_photo_id_array":[{"photo_id":"1328463517","filename":"file2"},{"photo_id":"1328463516","filename":"file1"},{"photo_id":"1328463512","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463517":["hashtag1","hashtag2"]},{"1328463516":["hashtag1","hashtag2"]},{"1328463512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463517, 1328463516, 1328463512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.64759659767151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:06:02.922172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:06:22.442724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/05/image_12012025_17_05_02_176075_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/05/image_12012025_17_05_02_176075_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463523"],"photo_id":"1328463523","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0a5e405cc358c1850db28a4ca627419.jpg","text":"TemporaryFile(/tmp/multipartBody7230479559469944449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698045549,"filename":"image_12012025_17_05_02_176075_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328463523"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328463523"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.169033527374268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:06:42.586772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:06:52.460867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:07:03.315543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:07:22.666241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/06/image_12012025_17_06_02_631637_0003.jpg', '/home/pi/Desktop/images/12012025/17/07/image_12012025_17_07_02_866306_0000.jpg', '/home/pi/Desktop/images/12012025/17/07/image_12012025_17_07_02_866306_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/06/image_12012025_17_06_02_631637_0003.jpg
/home/pi/Desktop/images/12012025/17/07/image_12012025_17_07_02_866306_0000.jpg
/home/pi/Desktop/images/12012025/17/07/image_12012025_17_07_02_866306_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":["1328463561","1328463563","1328463559"],"photo_ids_order":["1328463559","1328463561","1328463563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4ff0272ab4f6e1eeed3f7dc5433854e.jpg","text":"TemporaryFile(/tmp/multipartBody7155561031958509210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698110560,"filename":"image_12012025_17_07_02_866306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0dc21fbd87e62ec4d51bb442ac3abda5.jpg","text":"TemporaryFile(/tmp/multipartBody2214752643095962075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698110560,"filename":"image_12012025_17_07_02_866306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dabe95620dba1ce7b9ea9b31eaa7908a.jpg","text":"TemporaryFile(/tmp/multipartBody5542858214019757582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698110560,"filename":"image_12012025_17_06_02_631637_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463563","file1":"1328463561","file0":"1328463559"},"map_files_photo_id_array":[{"photo_id":"1328463563","filename":"file2"},{"photo_id":"1328463561","filename":"file1"},{"photo_id":"1328463559","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463561":["hashtag1","hashtag2"]},{"1328463563":["hashtag1","hashtag2"]},{"1328463559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463561, 1328463563, 1328463559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.87041425704956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:08:02.234923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:08:21.886236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/07/image_12012025_17_07_02_866306_0003.jpg', '/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0000.jpg', '/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0001.jpg', '/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/07/image_12012025_17_07_02_866306_0003.jpg
/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0000.jpg
/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0001.jpg
/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463578","1328463572","1328463581","1328463574"],"photo_ids_order":["1328463572","1328463574","1328463578","1328463581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6835f058d6c838299885b5a3872e5650.jpg","text":"TemporaryFile(/tmp/multipartBody3261681113205116540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698172232,"filename":"image_12012025_17_08_03_107364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f05106c9c6448992d8e45857da82deee.jpg","text":"TemporaryFile(/tmp/multipartBody336127739688009182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698172232,"filename":"image_12012025_17_07_02_866306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d76784a96e3ddb32af35f2246dfcb0b.jpg","text":"TemporaryFile(/tmp/multipartBody5602206509721301219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698172232,"filename":"image_12012025_17_08_03_107364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/611dcd3368027569524538e68a161b80.jpg","text":"TemporaryFile(/tmp/multipartBody4310493736913336391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698172232,"filename":"image_12012025_17_08_03_107364_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463578","file1":"1328463574","file0":"1328463572","file3":"1328463581"},"map_files_photo_id_array":[{"photo_id":"1328463578","filename":"file2"},{"photo_id":"1328463574","filename":"file1"},{"photo_id":"1328463572","filename":"file0"},{"photo_id":"1328463581","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463578":["hashtag1","hashtag2"]},{"1328463572":["hashtag1","hashtag2"]},{"1328463581":["hashtag1","hashtag2"]},{"1328463574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463578, 1328463572, 1328463581, 1328463574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.443702697753906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:09:21.989212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0003.jpg', '/home/pi/Desktop/images/12012025/17/09/image_12012025_17_09_02_257290_0001.jpg', '/home/pi/Desktop/images/12012025/17/09/image_12012025_17_09_02_257290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/08/image_12012025_17_08_03_107364_0003.jpg
/home/pi/Desktop/images/12012025/17/09/image_12012025_17_09_02_257290_0001.jpg
/home/pi/Desktop/images/12012025/17/09/image_12012025_17_09_02_257290_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463602","1328463592","1328463607"],"photo_ids_order":["1328463592","1328463602","1328463607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8bfb50bf9fb2030de36fcc3acf896adc.jpg","text":"TemporaryFile(/tmp/multipartBody4778774902200799619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698229890,"filename":"image_12012025_17_09_02_257290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/079c1a14455d6e0abd0f69c7edbf2f79.jpg","text":"TemporaryFile(/tmp/multipartBody7275344802139299198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698229890,"filename":"image_12012025_17_08_03_107364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2398572ce392bedf2135f2f52d7e9a75.jpg","text":"TemporaryFile(/tmp/multipartBody4243475716450045831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698229890,"filename":"image_12012025_17_09_02_257290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463607","file1":"1328463602","file0":"1328463592"},"map_files_photo_id_array":[{"photo_id":"1328463607","filename":"file2"},{"photo_id":"1328463602","filename":"file1"},{"photo_id":"1328463592","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463602":["hashtag1","hashtag2"]},{"1328463592":["hashtag1","hashtag2"]},{"1328463607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463602, 1328463592, 1328463607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.462305307388306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:10:02.646803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:10:22.186343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/09/image_12012025_17_09_02_257290_0003.jpg', '/home/pi/Desktop/images/12012025/17/10/image_12012025_17_10_02_350762_0000.jpg', '/home/pi/Desktop/images/12012025/17/10/image_12012025_17_10_02_350762_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/09/image_12012025_17_09_02_257290_0003.jpg
/home/pi/Desktop/images/12012025/17/10/image_12012025_17_10_02_350762_0000.jpg
/home/pi/Desktop/images/12012025/17/10/image_12012025_17_10_02_350762_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":["1328463636","1328463641","1328463638"],"photo_ids_order":["1328463636","1328463638","1328463641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4ef5a6fbf7d78154db4455bef72b048.jpg","text":"TemporaryFile(/tmp/multipartBody1362987309706549579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698290136,"filename":"image_12012025_17_09_02_257290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/299f8e5d225b81282d519cfb3c304471.jpg","text":"TemporaryFile(/tmp/multipartBody3257083069005878604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698290136,"filename":"image_12012025_17_10_02_350762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a60f032e3e3d28cbd784159250d847b.jpg","text":"TemporaryFile(/tmp/multipartBody9164273938356642313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698290136,"filename":"image_12012025_17_10_02_350762_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463641","file1":"1328463638","file0":"1328463636"},"map_files_photo_id_array":[{"photo_id":"1328463641","filename":"file2"},{"photo_id":"1328463638","filename":"file1"},{"photo_id":"1328463636","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463636":["hashtag1","hashtag2"]},{"1328463641":["hashtag1","hashtag2"]},{"1328463638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463636, 1328463641, 1328463638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.64316201210022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:11:02.945035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:11:22.385537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/10/image_12012025_17_10_02_350762_0002.jpg', '/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0000.jpg', '/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0001.jpg', '/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/10/image_12012025_17_10_02_350762_0002.jpg
/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0000.jpg
/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0001.jpg
/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463654","1328463651","1328463656","1328463655"],"photo_ids_order":["1328463651","1328463654","1328463655","1328463656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58b4995735f2c7627b1ee3b15d724b80.jpg","text":"TemporaryFile(/tmp/multipartBody3155873585580884277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698352761,"filename":"image_12012025_17_11_02_518284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e72ca5567fc56630252db02e20f759c2.jpg","text":"TemporaryFile(/tmp/multipartBody221130250044579641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698352761,"filename":"image_12012025_17_10_02_350762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5db4fbb4e8c48a32f6608d1ff07707dc.jpg","text":"TemporaryFile(/tmp/multipartBody267731541279475051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698352761,"filename":"image_12012025_17_11_02_518284_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7b7b8f2b2e546ef8ca3b10d2828f72c.jpg","text":"TemporaryFile(/tmp/multipartBody90183471363447724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698352761,"filename":"image_12012025_17_11_02_518284_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463655","file1":"1328463654","file0":"1328463651","file3":"1328463656"},"map_files_photo_id_array":[{"photo_id":"1328463655","filename":"file2"},{"photo_id":"1328463654","filename":"file1"},{"photo_id":"1328463651","filename":"file0"},{"photo_id":"1328463656","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463654":["hashtag1","hashtag2"]},{"1328463651":["hashtag1","hashtag2"]},{"1328463656":["hashtag1","hashtag2"]},{"1328463655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463654, 1328463651, 1328463656, 1328463655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.474945068359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:12:22.598472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0003.jpg', '/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0000.jpg', '/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0001.jpg', '/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/11/image_12012025_17_11_02_518284_0003.jpg
/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0000.jpg
/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0001.jpg
/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463677","1328463665","1328463674","1328463697"],"photo_ids_order":["1328463665","1328463674","1328463677","1328463697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63f631d9241aaf515c55707575f24daf.jpg","text":"TemporaryFile(/tmp/multipartBody301094441128925628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698412953,"filename":"image_12012025_17_12_02_716602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e0108293676b52524b7a008d50a413a9.jpg","text":"TemporaryFile(/tmp/multipartBody1800598961991159945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698412953,"filename":"image_12012025_17_11_02_518284_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/decf8f3400db235f739c2a3626a58464.jpg","text":"TemporaryFile(/tmp/multipartBody7862648123674199191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698412953,"filename":"image_12012025_17_12_02_716602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26e146789caab6bbd78ed2052f1adc25.jpg","text":"TemporaryFile(/tmp/multipartBody3127123946712208822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698412953,"filename":"image_12012025_17_12_02_716602_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463677","file1":"1328463674","file0":"1328463665","file3":"1328463697"},"map_files_photo_id_array":[{"photo_id":"1328463677","filename":"file2"},{"photo_id":"1328463674","filename":"file1"},{"photo_id":"1328463665","filename":"file0"},{"photo_id":"1328463697","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463677":["hashtag1","hashtag2"]},{"1328463665":["hashtag1","hashtag2"]},{"1328463674":["hashtag1","hashtag2"]},{"1328463697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463677, 1328463665, 1328463674, 1328463697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.001277446746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:13:22.757168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0003.jpg', '/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0000.jpg', '/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0001.jpg', '/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/12/image_12012025_17_12_02_716602_0003.jpg
/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0000.jpg
/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0001.jpg
/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463709","1328463711","1328463705","1328463707"],"photo_ids_order":["1328463705","1328463707","1328463709","1328463711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d66fc64cbcb112f010de65ac724b625.jpg","text":"TemporaryFile(/tmp/multipartBody2928788962364465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698473112,"filename":"image_12012025_17_13_02_882629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8170c694efd2af85fb55dafb9dbc8418.jpg","text":"TemporaryFile(/tmp/multipartBody63279105153056383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698473112,"filename":"image_12012025_17_13_02_882629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e17ada3b4dd1a952669a9bd6964125f.jpg","text":"TemporaryFile(/tmp/multipartBody8176773063612238076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698473112,"filename":"image_12012025_17_12_02_716602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18647c8f43cfe146e92a775411493ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7962597606151082754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698473112,"filename":"image_12012025_17_13_02_882629_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463709","file1":"1328463707","file0":"1328463705","file3":"1328463711"},"map_files_photo_id_array":[{"photo_id":"1328463709","filename":"file2"},{"photo_id":"1328463707","filename":"file1"},{"photo_id":"1328463705","filename":"file0"},{"photo_id":"1328463711","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463709":["hashtag1","hashtag2"]},{"1328463711":["hashtag1","hashtag2"]},{"1328463705":["hashtag1","hashtag2"]},{"1328463707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463709, 1328463711, 1328463705, 1328463707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.85879945755005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:14:21.937767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0003.jpg', '/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0000.jpg', '/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0003.jpg
/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0000.jpg
/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_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.5215888023376465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:14:31.861631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0003.jpg', '/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0000.jpg', '/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/13/image_12012025_17_13_02_882629_0003.jpg
/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0000.jpg
/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_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":["1328463731","1328463740","1328463736"],"photo_ids_order":["1328463731","1328463736","1328463740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c879490163f348e5ccc789dcd19a1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3749983124663441245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698539780,"filename":"image_12012025_17_13_02_882629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/618d2b2463d32de2ad9c5cdef10f8f76.jpg","text":"TemporaryFile(/tmp/multipartBody2797914073018456488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698539780,"filename":"image_12012025_17_14_03_030986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d36d5f4e17b0ac75b2f04972e189fffb.jpg","text":"TemporaryFile(/tmp/multipartBody766894074617160234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698539780,"filename":"image_12012025_17_14_03_030986_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463740","file1":"1328463736","file0":"1328463731"},"map_files_photo_id_array":[{"photo_id":"1328463740","filename":"file2"},{"photo_id":"1328463736","filename":"file1"},{"photo_id":"1328463731","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463731":["hashtag1","hashtag2"]},{"1328463740":["hashtag1","hashtag2"]},{"1328463736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463731, 1328463740, 1328463736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.052276849746704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:15:22.086769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0003.jpg', '/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0000.jpg', '/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0001.jpg', '/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/14/image_12012025_17_14_03_030986_0003.jpg
/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0000.jpg
/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0001.jpg
/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463753","1328463764","1328463755","1328463751"],"photo_ids_order":["1328463751","1328463753","1328463755","1328463764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce3901eedefe1b7633d16c54e0bb72c3.jpg","text":"TemporaryFile(/tmp/multipartBody2917247769052877181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698592434,"filename":"image_12012025_17_15_02_295321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1f1b7431d53a220e70d327fb1038400.jpg","text":"TemporaryFile(/tmp/multipartBody8942816334001281411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698592434,"filename":"image_12012025_17_15_02_295321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92d3d86cb0a124038cc28c53e287233e.jpg","text":"TemporaryFile(/tmp/multipartBody839332582456515441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698592434,"filename":"image_12012025_17_15_02_295321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e1f5c8548ecf79994933069f36885ce.jpg","text":"TemporaryFile(/tmp/multipartBody9003007115874929531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698592434,"filename":"image_12012025_17_14_03_030986_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463755","file1":"1328463753","file0":"1328463751","file3":"1328463764"},"map_files_photo_id_array":[{"photo_id":"1328463755","filename":"file2"},{"photo_id":"1328463753","filename":"file1"},{"photo_id":"1328463751","filename":"file0"},{"photo_id":"1328463764","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463753":["hashtag1","hashtag2"]},{"1328463764":["hashtag1","hashtag2"]},{"1328463755":["hashtag1","hashtag2"]},{"1328463751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463753, 1328463764, 1328463755, 1328463751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59463095664978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:16:02.634659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:16:22.368393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0003.jpg', '/home/pi/Desktop/images/12012025/17/16/image_12012025_17_16_02_409381_0001.jpg', '/home/pi/Desktop/images/12012025/17/16/image_12012025_17_16_02_409381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/15/image_12012025_17_15_02_295321_0003.jpg
/home/pi/Desktop/images/12012025/17/16/image_12012025_17_16_02_409381_0001.jpg
/home/pi/Desktop/images/12012025/17/16/image_12012025_17_16_02_409381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463798","1328463794","1328463797"],"photo_ids_order":["1328463794","1328463797","1328463798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a774e2b9680a926c9ee00913406f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody7302431845514756387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698650260,"filename":"image_12012025_17_16_02_409381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/27dd2b8ba86b3de555dcf52bf1224025.jpg","text":"TemporaryFile(/tmp/multipartBody7760790341981335349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698650260,"filename":"image_12012025_17_15_02_295321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea0d54dfbec35e36ee20c578557a03fd.jpg","text":"TemporaryFile(/tmp/multipartBody8984330375197454810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698650260,"filename":"image_12012025_17_16_02_409381_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463798","file1":"1328463797","file0":"1328463794"},"map_files_photo_id_array":[{"photo_id":"1328463798","filename":"file2"},{"photo_id":"1328463797","filename":"file1"},{"photo_id":"1328463794","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463798":["hashtag1","hashtag2"]},{"1328463794":["hashtag1","hashtag2"]},{"1328463797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463798, 1328463794, 1328463797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.1218638420105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:17:02.950693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:17:22.382792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/16/image_12012025_17_16_02_409381_0003.jpg', '/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0000.jpg', '/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0001.jpg', '/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/16/image_12012025_17_16_02_409381_0003.jpg
/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0000.jpg
/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0001.jpg
/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463876","1328463878","1328463880","1328463874"],"photo_ids_order":["1328463874","1328463876","1328463878","1328463880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3576f2a13644503c8faa8a61fffd771a.jpg","text":"TemporaryFile(/tmp/multipartBody7698328120586698195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698712724,"filename":"image_12012025_17_17_02_618850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7ae4758b841e9f72cd818feeb8fe46c.jpg","text":"TemporaryFile(/tmp/multipartBody1815933957659974242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698712724,"filename":"image_12012025_17_17_02_618850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06513ff34335024942b87eb8ee25c990.jpg","text":"TemporaryFile(/tmp/multipartBody382667486364755648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698712724,"filename":"image_12012025_17_17_02_618850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58a8ead55f146f483d4c1dda43eed6b5.jpg","text":"TemporaryFile(/tmp/multipartBody4218262056650110649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698712724,"filename":"image_12012025_17_16_02_409381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463878","file1":"1328463876","file0":"1328463874","file3":"1328463880"},"map_files_photo_id_array":[{"photo_id":"1328463878","filename":"file2"},{"photo_id":"1328463876","filename":"file1"},{"photo_id":"1328463874","filename":"file0"},{"photo_id":"1328463880","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463876":["hashtag1","hashtag2"]},{"1328463878":["hashtag1","hashtag2"]},{"1328463880":["hashtag1","hashtag2"]},{"1328463874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463876, 1328463878, 1328463880, 1328463874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85097050666809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:18:22.484763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0003.jpg', '/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0000.jpg', '/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0001.jpg', '/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/17/image_12012025_17_17_02_618850_0003.jpg
/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0000.jpg
/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0001.jpg
/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463890","1328463905","1328463898","1328463892"],"photo_ids_order":["1328463890","1328463892","1328463898","1328463905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e3774c41a6447132c47776aa12c759e.jpg","text":"TemporaryFile(/tmp/multipartBody8329059485804055022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698772879,"filename":"image_12012025_17_17_02_618850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d232b861ee6e032d4d94c751198fa9c.jpg","text":"TemporaryFile(/tmp/multipartBody1185463609009049949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698772879,"filename":"image_12012025_17_18_02_722743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9228f53e018ae683924f7a7b0ea11bca.jpg","text":"TemporaryFile(/tmp/multipartBody8131408520927912421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698772879,"filename":"image_12012025_17_18_02_722743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3168580081bad844ece346220b3261a1.jpg","text":"TemporaryFile(/tmp/multipartBody3084140265956461536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698772879,"filename":"image_12012025_17_18_02_722743_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463898","file1":"1328463892","file0":"1328463890","file3":"1328463905"},"map_files_photo_id_array":[{"photo_id":"1328463898","filename":"file2"},{"photo_id":"1328463892","filename":"file1"},{"photo_id":"1328463890","filename":"file0"},{"photo_id":"1328463905","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463890":["hashtag1","hashtag2"]},{"1328463905":["hashtag1","hashtag2"]},{"1328463898":["hashtag1","hashtag2"]},{"1328463892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463890, 1328463905, 1328463898, 1328463892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.07580780982971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:19:22.714573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0003.jpg', '/home/pi/Desktop/images/12012025/17/19/image_12012025_17_19_02_876865_0000.jpg', '/home/pi/Desktop/images/12012025/17/19/image_12012025_17_19_02_876865_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/18/image_12012025_17_18_02_722743_0003.jpg
/home/pi/Desktop/images/12012025/17/19/image_12012025_17_19_02_876865_0000.jpg
/home/pi/Desktop/images/12012025/17/19/image_12012025_17_19_02_876865_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":["1328463939","1328463934","1328463937"],"photo_ids_order":["1328463934","1328463937","1328463939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/93ff35ed58fbd65cea00e87dd86b64d7.jpg","text":"TemporaryFile(/tmp/multipartBody3260936073539055059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698830692,"filename":"image_12012025_17_19_02_876865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80f551b1d302b45285fc3fbbef921a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6484090159513987333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698830692,"filename":"image_12012025_17_18_02_722743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f7c9967ad65d263a0d203d79db2c562.jpg","text":"TemporaryFile(/tmp/multipartBody7024196595693796476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698830692,"filename":"image_12012025_17_19_02_876865_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463939","file1":"1328463937","file0":"1328463934"},"map_files_photo_id_array":[{"photo_id":"1328463939","filename":"file2"},{"photo_id":"1328463937","filename":"file1"},{"photo_id":"1328463934","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463939":["hashtag1","hashtag2"]},{"1328463934":["hashtag1","hashtag2"]},{"1328463937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463939, 1328463934, 1328463937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.34963822364807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:20:02.211409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:20:21.910145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/19/image_12012025_17_19_02_876865_0002.jpg', '/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_03_156441_0001.jpg', '/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_03_156441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/19/image_12012025_17_19_02_876865_0002.jpg
/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_03_156441_0001.jpg
/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_03_156441_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463951","1328463948","1328463953"],"photo_ids_order":["1328463948","1328463951","1328463953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7cf3d8cb5c3f7e0fb8302c274b1b189.jpg","text":"TemporaryFile(/tmp/multipartBody7720872959502773124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698889826,"filename":"image_12012025_17_20_03_156441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab23f41e8c700b0eef9dbc3188f13a94.jpg","text":"TemporaryFile(/tmp/multipartBody214682796207960333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698889826,"filename":"image_12012025_17_19_02_876865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f07ea1e7fad38f2cbcc5a90f27c37d2.jpg","text":"TemporaryFile(/tmp/multipartBody8065882310560726159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698889826,"filename":"image_12012025_17_20_03_156441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463953","file1":"1328463951","file0":"1328463948"},"map_files_photo_id_array":[{"photo_id":"1328463953","filename":"file2"},{"photo_id":"1328463951","filename":"file1"},{"photo_id":"1328463948","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463951":["hashtag1","hashtag2"]},{"1328463948":["hashtag1","hashtag2"]},{"1328463953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463951, 1328463948, 1328463953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.200676202774048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:21:02.695783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:21:22.012311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_03_156441_0003.jpg', '/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0000.jpg', '/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0001.jpg', '/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_03_156441_0003.jpg
/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0000.jpg
/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0001.jpg
/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328463978","1328463974","1328463965","1328463997"],"photo_ids_order":["1328463965","1328463974","1328463978","1328463997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd0446bd5e0e7b0c883a17bc8c5f35b0.jpg","text":"TemporaryFile(/tmp/multipartBody4932506055325899141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698952345,"filename":"image_12012025_17_21_02_245812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41dd4ab397955fde3843c6745184a4d2.jpg","text":"TemporaryFile(/tmp/multipartBody6618998269277394859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698952345,"filename":"image_12012025_17_21_02_245812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4daded13b2b1fa0695024f63c00988ae.jpg","text":"TemporaryFile(/tmp/multipartBody2097996147650847372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698952345,"filename":"image_12012025_17_20_03_156441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65db301f7d72ba062540617f0d1497af.jpg","text":"TemporaryFile(/tmp/multipartBody1054626303414401300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736698952345,"filename":"image_12012025_17_21_02_245812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328463978","file1":"1328463974","file0":"1328463965","file3":"1328463997"},"map_files_photo_id_array":[{"photo_id":"1328463978","filename":"file2"},{"photo_id":"1328463974","filename":"file1"},{"photo_id":"1328463965","filename":"file0"},{"photo_id":"1328463997","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328463978":["hashtag1","hashtag2"]},{"1328463974":["hashtag1","hashtag2"]},{"1328463965":["hashtag1","hashtag2"]},{"1328463997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328463978, 1328463974, 1328463965, 1328463997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2349009513855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:22:02.596565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:22:22.178039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0003.jpg', '/home/pi/Desktop/images/12012025/17/22/image_12012025_17_22_02_371526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/21/image_12012025_17_21_02_245812_0003.jpg
/home/pi/Desktop/images/12012025/17/22/image_12012025_17_22_02_371526_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":["1328464021","1328464018"],"photo_ids_order":["1328464018","1328464021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19d2967630f9bed8483f24561dad19b7.jpg","text":"TemporaryFile(/tmp/multipartBody9110435028418110768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699007665,"filename":"image_12012025_17_22_02_371526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4fae5c02b2c3179ee18ae6ca932037bd.jpg","text":"TemporaryFile(/tmp/multipartBody3188151052156788058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699007665,"filename":"image_12012025_17_21_02_245812_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328464021","file0":"1328464018"},"map_files_photo_id_array":[{"photo_id":"1328464021","filename":"file1"},{"photo_id":"1328464018","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464021":["hashtag1","hashtag2"]},{"1328464018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464021, 1328464018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.157039642333984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:22:52.199479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:23:03.127250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:23:22.370537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/22/image_12012025_17_22_02_371526_0003.jpg', '/home/pi/Desktop/images/12012025/17/23/image_12012025_17_23_02_526219_0000.jpg', '/home/pi/Desktop/images/12012025/17/23/image_12012025_17_23_02_526219_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/22/image_12012025_17_22_02_371526_0003.jpg
/home/pi/Desktop/images/12012025/17/23/image_12012025_17_23_02_526219_0000.jpg
/home/pi/Desktop/images/12012025/17/23/image_12012025_17_23_02_526219_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":["1328464068","1328464064","1328464069"],"photo_ids_order":["1328464064","1328464068","1328464069"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebc285baf35253d71d65c2255dd19ef6.jpg","text":"TemporaryFile(/tmp/multipartBody4828706217034080097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699070284,"filename":"image_12012025_17_23_02_526219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69f9448d8b45bd90cf7c56c8fe9e1b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8348485386417900650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699070284,"filename":"image_12012025_17_22_02_371526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/64e26d9cb5e066e4d8e356e164503339.jpg","text":"TemporaryFile(/tmp/multipartBody2869420712526432586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699070284,"filename":"image_12012025_17_23_02_526219_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464069","file1":"1328464068","file0":"1328464064"},"map_files_photo_id_array":[{"photo_id":"1328464069","filename":"file2"},{"photo_id":"1328464068","filename":"file1"},{"photo_id":"1328464064","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464068":["hashtag1","hashtag2"]},{"1328464064":["hashtag1","hashtag2"]},{"1328464069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464068, 1328464064, 1328464069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.944379329681396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:24:02.996984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:24:22.658788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/23/image_12012025_17_23_02_526219_0002.jpg', '/home/pi/Desktop/images/12012025/17/24/image_12012025_17_24_02_791526_0000.jpg', '/home/pi/Desktop/images/12012025/17/24/image_12012025_17_24_02_791526_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/23/image_12012025_17_23_02_526219_0002.jpg
/home/pi/Desktop/images/12012025/17/24/image_12012025_17_24_02_791526_0000.jpg
/home/pi/Desktop/images/12012025/17/24/image_12012025_17_24_02_791526_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":["1328464101","1328464139","1328464098"],"photo_ids_order":["1328464098","1328464101","1328464139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ecf38291297305aa1af4ad8cf3c601e.jpg","text":"TemporaryFile(/tmp/multipartBody2032940086486951489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699130597,"filename":"image_12012025_17_24_02_791526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d57a9ef973eaa80ecc2816f4a9668037.jpg","text":"TemporaryFile(/tmp/multipartBody3645941085707832754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699130597,"filename":"image_12012025_17_24_02_791526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7ecd9be2726e5eafd94b24dd352ed16.jpg","text":"TemporaryFile(/tmp/multipartBody8444544290813816741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699130597,"filename":"image_12012025_17_23_02_526219_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464139","file1":"1328464101","file0":"1328464098"},"map_files_photo_id_array":[{"photo_id":"1328464139","filename":"file2"},{"photo_id":"1328464101","filename":"file1"},{"photo_id":"1328464098","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464101":["hashtag1","hashtag2"]},{"1328464139":["hashtag1","hashtag2"]},{"1328464098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464101, 1328464139, 1328464098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.135371446609497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:25:03.427031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:25:22.797525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/24/image_12012025_17_24_02_791526_0003.jpg', '/home/pi/Desktop/images/12012025/17/25/image_12012025_17_25_03_003460_0000.jpg', '/home/pi/Desktop/images/12012025/17/25/image_12012025_17_25_03_003460_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/24/image_12012025_17_24_02_791526_0003.jpg
/home/pi/Desktop/images/12012025/17/25/image_12012025_17_25_03_003460_0000.jpg
/home/pi/Desktop/images/12012025/17/25/image_12012025_17_25_03_003460_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":["1328464221","1328464223","1328464217"],"photo_ids_order":["1328464217","1328464221","1328464223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/05b1f3fb7885c166953c685b456b4fa4.jpg","text":"TemporaryFile(/tmp/multipartBody8242449935256074942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699190738,"filename":"image_12012025_17_25_03_003460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42dfaa031edf3d596d0a3462b492bc6e.jpg","text":"TemporaryFile(/tmp/multipartBody6724560977369213848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699190738,"filename":"image_12012025_17_25_03_003460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b77c2c90d078ffece81c91d82db9381.jpg","text":"TemporaryFile(/tmp/multipartBody5787342763981289185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699190738,"filename":"image_12012025_17_24_02_791526_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464223","file1":"1328464221","file0":"1328464217"},"map_files_photo_id_array":[{"photo_id":"1328464223","filename":"file2"},{"photo_id":"1328464221","filename":"file1"},{"photo_id":"1328464217","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464221":["hashtag1","hashtag2"]},{"1328464223":["hashtag1","hashtag2"]},{"1328464217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464221, 1328464223, 1328464217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.123711585998535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:26:02.295925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:26:21.946663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/25/image_12012025_17_25_03_003460_0002.jpg', '/home/pi/Desktop/images/12012025/17/26/image_12012025_17_26_03_125081_0000.jpg', '/home/pi/Desktop/images/12012025/17/26/image_12012025_17_26_03_125081_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/25/image_12012025_17_25_03_003460_0002.jpg
/home/pi/Desktop/images/12012025/17/26/image_12012025_17_26_03_125081_0000.jpg
/home/pi/Desktop/images/12012025/17/26/image_12012025_17_26_03_125081_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":["1328464239","1328464241","1328464275"],"photo_ids_order":["1328464239","1328464241","1328464275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d06cc4b15c91a807e2b61a693c645a50.jpg","text":"TemporaryFile(/tmp/multipartBody1062745547106264763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699249882,"filename":"image_12012025_17_25_03_003460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9fd1de153f62bf957c92981be3767999.jpg","text":"TemporaryFile(/tmp/multipartBody5543482496891158867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699249882,"filename":"image_12012025_17_26_03_125081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60f75efb4f78ec203089b41834003b75.jpg","text":"TemporaryFile(/tmp/multipartBody2348484029592877464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699249882,"filename":"image_12012025_17_26_03_125081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464275","file1":"1328464241","file0":"1328464239"},"map_files_photo_id_array":[{"photo_id":"1328464275","filename":"file2"},{"photo_id":"1328464241","filename":"file1"},{"photo_id":"1328464239","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464239":["hashtag1","hashtag2"]},{"1328464241":["hashtag1","hashtag2"]},{"1328464275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464239, 1328464241, 1328464275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.65174746513367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:27:02.758121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:27:22.167640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/26/image_12012025_17_26_03_125081_0002.jpg', '/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0000.jpg', '/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0001.jpg', '/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/26/image_12012025_17_26_03_125081_0002.jpg
/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0000.jpg
/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0001.jpg
/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464308","1328464319","1328464310","1328464304"],"photo_ids_order":["1328464304","1328464308","1328464310","1328464319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f062414fed73702338bea4cd923043f.jpg","text":"TemporaryFile(/tmp/multipartBody7328060290593806732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699312231,"filename":"image_12012025_17_27_02_297827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a41641a5423fdb40ea387017ca63c2e5.jpg","text":"TemporaryFile(/tmp/multipartBody3345045502398056129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699312231,"filename":"image_12012025_17_27_02_297827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4922c32fff4013b1f6475889a29f8774.jpg","text":"TemporaryFile(/tmp/multipartBody8998195294627327671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699312231,"filename":"image_12012025_17_27_02_297827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1154cadd1ce73558138fc6f43982214.jpg","text":"TemporaryFile(/tmp/multipartBody2481076512407160639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699312231,"filename":"image_12012025_17_26_03_125081_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464310","file1":"1328464308","file0":"1328464304","file3":"1328464319"},"map_files_photo_id_array":[{"photo_id":"1328464310","filename":"file2"},{"photo_id":"1328464308","filename":"file1"},{"photo_id":"1328464304","filename":"file0"},{"photo_id":"1328464319","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464308":["hashtag1","hashtag2"]},{"1328464319":["hashtag1","hashtag2"]},{"1328464310":["hashtag1","hashtag2"]},{"1328464304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464308, 1328464319, 1328464310, 1328464304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79052543640137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:28:02.718386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:28:22.265286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0003.jpg', '/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0000.jpg', '/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0001.jpg', '/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0003.jpg
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0000.jpg
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0001.jpg
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_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.533445835113525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:28:42.242805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0003.jpg', '/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0000.jpg', '/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0001.jpg', '/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/27/image_12012025_17_27_02_297827_0003.jpg
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0000.jpg
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0001.jpg
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_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":["1328464394","1328464397","1328464400","1328464395"],"photo_ids_order":["1328464394","1328464395","1328464397","1328464400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/348155e7ed4ab81be6a5ef8d2183bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody1549673408005683394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699392173,"filename":"image_12012025_17_27_02_297827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c271c1eb34eb9ece67990568a3304397.jpg","text":"TemporaryFile(/tmp/multipartBody3371840663152379846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699392173,"filename":"image_12012025_17_28_02_463985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b754c1101e90c6f76f12a6292844f74d.jpg","text":"TemporaryFile(/tmp/multipartBody5037374062757030790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699392173,"filename":"image_12012025_17_28_02_463985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/106f4a7efa49ad1242a4dd04f2b1c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8862241414151386546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699392173,"filename":"image_12012025_17_28_02_463985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464397","file1":"1328464395","file0":"1328464394","file3":"1328464400"},"map_files_photo_id_array":[{"photo_id":"1328464397","filename":"file2"},{"photo_id":"1328464395","filename":"file1"},{"photo_id":"1328464394","filename":"file0"},{"photo_id":"1328464400","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464394":["hashtag1","hashtag2"]},{"1328464397":["hashtag1","hashtag2"]},{"1328464400":["hashtag1","hashtag2"]},{"1328464395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464394, 1328464397, 1328464400, 1328464395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68035411834717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:29:22.518027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0003.jpg', '/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0000.jpg', '/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0001.jpg', '/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/28/image_12012025_17_28_02_463985_0003.jpg
/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0000.jpg
/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0001.jpg
/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464476","1328464475","1328464418","1328464420"],"photo_ids_order":["1328464418","1328464420","1328464475","1328464476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5298f3f0fed95438cfe934f3461d3afd.jpg","text":"TemporaryFile(/tmp/multipartBody1934588691190224961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699432516,"filename":"image_12012025_17_29_02_689915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/106538e9da86664a7541132721776949.jpg","text":"TemporaryFile(/tmp/multipartBody7487607585548299300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699432516,"filename":"image_12012025_17_29_02_689915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8ab5198b0816504f0a3fbe2f449e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8249145893293078677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699432516,"filename":"image_12012025_17_28_02_463985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6996ab82d1cfdb2823880de15f55653d.jpg","text":"TemporaryFile(/tmp/multipartBody472113996918726230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699432516,"filename":"image_12012025_17_29_02_689915_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464475","file1":"1328464420","file0":"1328464418","file3":"1328464476"},"map_files_photo_id_array":[{"photo_id":"1328464475","filename":"file2"},{"photo_id":"1328464420","filename":"file1"},{"photo_id":"1328464418","filename":"file0"},{"photo_id":"1328464476","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464476":["hashtag1","hashtag2"]},{"1328464475":["hashtag1","hashtag2"]},{"1328464418":["hashtag1","hashtag2"]},{"1328464420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464476, 1328464475, 1328464418, 1328464420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.29497838020325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:30:02.997768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:30:22.745951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0003.jpg', '/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0000.jpg', '/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0001.jpg', '/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/29/image_12012025_17_29_02_689915_0003.jpg
/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0000.jpg
/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0001.jpg
/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464575","1328464559","1328464547","1328464549"],"photo_ids_order":["1328464547","1328464549","1328464559","1328464575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3fe5b636e75a0a264869048bbc064a49.jpg","text":"TemporaryFile(/tmp/multipartBody5297197433570276074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699493145,"filename":"image_12012025_17_30_02_769683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0f95c828cc8db846aec0359e335a38e.jpg","text":"TemporaryFile(/tmp/multipartBody4901564359499092576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699493145,"filename":"image_12012025_17_30_02_769683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76a1f8dc0ea1d8aea9c2074f829e0590.jpg","text":"TemporaryFile(/tmp/multipartBody5025543355627844701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699493145,"filename":"image_12012025_17_29_02_689915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/542bf2912bc12a9befe19aa8b3d8c695.jpg","text":"TemporaryFile(/tmp/multipartBody4679779060036828734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699493145,"filename":"image_12012025_17_30_02_769683_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464559","file1":"1328464549","file0":"1328464547","file3":"1328464575"},"map_files_photo_id_array":[{"photo_id":"1328464559","filename":"file2"},{"photo_id":"1328464549","filename":"file1"},{"photo_id":"1328464547","filename":"file0"},{"photo_id":"1328464575","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464575":["hashtag1","hashtag2"]},{"1328464559":["hashtag1","hashtag2"]},{"1328464547":["hashtag1","hashtag2"]},{"1328464549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464575, 1328464559, 1328464547, 1328464549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60293626785278 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-12 17:31:22.733685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0003.jpg', '/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0000.jpg', '/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0001.jpg', '/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/30/image_12012025_17_30_02_769683_0003.jpg
/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0000.jpg
/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0001.jpg
/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464583","1328464586","1328464588","1328464584"],"photo_ids_order":["1328464583","1328464584","1328464586","1328464588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1a8335849a0a84f5efd937320707dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7119784650362945833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699552978,"filename":"image_12012025_17_30_02_769683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b89ae935fdfac63abf709a79500be9b4.jpg","text":"TemporaryFile(/tmp/multipartBody1950140565679068183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699552978,"filename":"image_12012025_17_31_02_953097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/660c80843c79f3af6371a546c41f8cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8598755177395638359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699552978,"filename":"image_12012025_17_31_02_953097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bce32b100b33f405ab1814a159cf2ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3601567514048510094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699552978,"filename":"image_12012025_17_31_02_953097_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464586","file1":"1328464584","file0":"1328464583","file3":"1328464588"},"map_files_photo_id_array":[{"photo_id":"1328464586","filename":"file2"},{"photo_id":"1328464584","filename":"file1"},{"photo_id":"1328464583","filename":"file0"},{"photo_id":"1328464588","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464583":["hashtag1","hashtag2"]},{"1328464586":["hashtag1","hashtag2"]},{"1328464588":["hashtag1","hashtag2"]},{"1328464584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464583, 1328464586, 1328464588, 1328464584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70753479003906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:32:22.016097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0003.jpg', '/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0000.jpg', '/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0001.jpg', '/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/31/image_12012025_17_31_02_953097_0003.jpg
/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0000.jpg
/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0001.jpg
/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464595","1328464601","1328464597","1328464599"],"photo_ids_order":["1328464595","1328464597","1328464599","1328464601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/004282237b1c5a9b547c799d170c85dc.jpg","text":"TemporaryFile(/tmp/multipartBody1854975694558959958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699612136,"filename":"image_12012025_17_31_02_953097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7d9341c6b5efb3108d9333e425c2c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3207156907616278635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699612136,"filename":"image_12012025_17_32_03_176874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf4a9a2fa5fb8bfdb388b3d7b5d8d71d.jpg","text":"TemporaryFile(/tmp/multipartBody3995847808658612126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699612136,"filename":"image_12012025_17_32_03_176874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f665fe8b3f60fe2f087f4ab513e57361.jpg","text":"TemporaryFile(/tmp/multipartBody8091881393060911039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699612136,"filename":"image_12012025_17_32_03_176874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464599","file1":"1328464597","file0":"1328464595","file3":"1328464601"},"map_files_photo_id_array":[{"photo_id":"1328464599","filename":"file2"},{"photo_id":"1328464597","filename":"file1"},{"photo_id":"1328464595","filename":"file0"},{"photo_id":"1328464601","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464595":["hashtag1","hashtag2"]},{"1328464601":["hashtag1","hashtag2"]},{"1328464597":["hashtag1","hashtag2"]},{"1328464599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464595, 1328464601, 1328464597, 1328464599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.525001525878906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:33:22.157216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0003.jpg', '/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0000.jpg', '/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0001.jpg', '/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/32/image_12012025_17_32_03_176874_0003.jpg
/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0000.jpg
/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0001.jpg
/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464614","1328464622","1328464618","1328464612"],"photo_ids_order":["1328464612","1328464614","1328464618","1328464622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6f36ee7f4845fbe51f1030f9c048e2a6.jpg","text":"TemporaryFile(/tmp/multipartBody975445407698447442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699672469,"filename":"image_12012025_17_33_02_323942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49879ecf3b74349082f9f18ffe832a86.jpg","text":"TemporaryFile(/tmp/multipartBody596610812615596269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699672469,"filename":"image_12012025_17_33_02_323942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f87ae625fb19b1b439196103503c0f53.jpg","text":"TemporaryFile(/tmp/multipartBody7662481270934218416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699672469,"filename":"image_12012025_17_33_02_323942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66b6169b3ac5500d396d617add603498.jpg","text":"TemporaryFile(/tmp/multipartBody2287463765324730585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699672469,"filename":"image_12012025_17_32_03_176874_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464618","file1":"1328464614","file0":"1328464612","file3":"1328464622"},"map_files_photo_id_array":[{"photo_id":"1328464618","filename":"file2"},{"photo_id":"1328464614","filename":"file1"},{"photo_id":"1328464612","filename":"file0"},{"photo_id":"1328464622","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464614":["hashtag1","hashtag2"]},{"1328464622":["hashtag1","hashtag2"]},{"1328464618":["hashtag1","hashtag2"]},{"1328464612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464614, 1328464622, 1328464618, 1328464612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68032240867615 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-12 17:34:22.340168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0003.jpg', '/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0000.jpg', '/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0001.jpg', '/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/33/image_12012025_17_33_02_323942_0003.jpg
/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0000.jpg
/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0001.jpg
/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464664","1328464667","1328464662","1328464665"],"photo_ids_order":["1328464662","1328464664","1328464665","1328464667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6bda4adfd2034eeb9f557dc996c4874.jpg","text":"TemporaryFile(/tmp/multipartBody2031496391115037575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699732541,"filename":"image_12012025_17_34_02_458535_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e95f6c644da3344da52739df61d42f75.jpg","text":"TemporaryFile(/tmp/multipartBody3940200957730180826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699732541,"filename":"image_12012025_17_34_02_458535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6dff58c3383938631098fb3344cd54c.jpg","text":"TemporaryFile(/tmp/multipartBody4038821802818420944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699732541,"filename":"image_12012025_17_33_02_323942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/922ed0ae7bcda3d4f30c3f2c173489b2.jpg","text":"TemporaryFile(/tmp/multipartBody3748694308521407706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699732541,"filename":"image_12012025_17_34_02_458535_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464665","file1":"1328464664","file0":"1328464662","file3":"1328464667"},"map_files_photo_id_array":[{"photo_id":"1328464665","filename":"file2"},{"photo_id":"1328464664","filename":"file1"},{"photo_id":"1328464662","filename":"file0"},{"photo_id":"1328464667","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464664":["hashtag1","hashtag2"]},{"1328464667":["hashtag1","hashtag2"]},{"1328464662":["hashtag1","hashtag2"]},{"1328464665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464664, 1328464667, 1328464662, 1328464665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.21824264526367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:35:22.498038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0003.jpg', '/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0000.jpg', '/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0001.jpg', '/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/34/image_12012025_17_34_02_458535_0003.jpg
/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0000.jpg
/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0001.jpg
/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464681","1328464675","1328464678","1328464683"],"photo_ids_order":["1328464675","1328464678","1328464681","1328464683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f09275e08933e6091698b50e42f94e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5226488381120253516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699792745,"filename":"image_12012025_17_35_02_664216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42d055dc8fd5ba511dab1df007906941.jpg","text":"TemporaryFile(/tmp/multipartBody3708454167930063963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699792745,"filename":"image_12012025_17_34_02_458535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/953dc86d35424f7e2121cdcc642f846e.jpg","text":"TemporaryFile(/tmp/multipartBody1500968935100936765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699792745,"filename":"image_12012025_17_35_02_664216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab122e55c00bec611a854715e93e25ff.jpg","text":"TemporaryFile(/tmp/multipartBody3306848035586260805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699792745,"filename":"image_12012025_17_35_02_664216_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464681","file1":"1328464678","file0":"1328464675","file3":"1328464683"},"map_files_photo_id_array":[{"photo_id":"1328464681","filename":"file2"},{"photo_id":"1328464678","filename":"file1"},{"photo_id":"1328464675","filename":"file0"},{"photo_id":"1328464683","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464681":["hashtag1","hashtag2"]},{"1328464675":["hashtag1","hashtag2"]},{"1328464678":["hashtag1","hashtag2"]},{"1328464683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464681, 1328464675, 1328464678, 1328464683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.03977417945862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:36:03.179770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:36:22.668173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0003.jpg', '/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0000.jpg', '/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0001.jpg', '/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/35/image_12012025_17_35_02_664216_0003.jpg
/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0000.jpg
/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0001.jpg
/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464700","1328464690","1328464696","1328464692"],"photo_ids_order":["1328464690","1328464692","1328464696","1328464700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a0f036c21617a74845a2094f6e484596.jpg","text":"TemporaryFile(/tmp/multipartBody6879805836993953707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699852979,"filename":"image_12012025_17_36_02_917642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19c9901b7504ef57fa4fc81a35fdae4d.jpg","text":"TemporaryFile(/tmp/multipartBody1196622019260788043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699852979,"filename":"image_12012025_17_35_02_664216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13ac2751dcced209260d80d18c7b0cf9.jpg","text":"TemporaryFile(/tmp/multipartBody5367431685420369112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699852979,"filename":"image_12012025_17_36_02_917642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbb3a595af6c4f66f054bb4d9f5a2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3761215703908916808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699852979,"filename":"image_12012025_17_36_02_917642_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464696","file1":"1328464692","file0":"1328464690","file3":"1328464700"},"map_files_photo_id_array":[{"photo_id":"1328464696","filename":"file2"},{"photo_id":"1328464692","filename":"file1"},{"photo_id":"1328464690","filename":"file0"},{"photo_id":"1328464700","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464700":["hashtag1","hashtag2"]},{"1328464690":["hashtag1","hashtag2"]},{"1328464696":["hashtag1","hashtag2"]},{"1328464692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464700, 1328464690, 1328464696, 1328464692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80968952178955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:37:21.836550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0003.jpg', '/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0000.jpg', '/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0001.jpg', '/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/36/image_12012025_17_36_02_917642_0003.jpg
/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0000.jpg
/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0001.jpg
/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464740","1328464737","1328464745","1328464741"],"photo_ids_order":["1328464737","1328464740","1328464741","1328464745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e278b878469206984e83864927ed52e7.jpg","text":"TemporaryFile(/tmp/multipartBody6561687245602693234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699912190,"filename":"image_12012025_17_37_03_040966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7aa235de37cd317ed8723ef0dce710e.jpg","text":"TemporaryFile(/tmp/multipartBody8382682807302468829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699912190,"filename":"image_12012025_17_36_02_917642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10f093d8987a284e02da73bf513ec2ad.jpg","text":"TemporaryFile(/tmp/multipartBody5650095942710501790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699912190,"filename":"image_12012025_17_37_03_040966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abcd3114c9ea108347fea806700b338b.jpg","text":"TemporaryFile(/tmp/multipartBody4886804747792145025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699912190,"filename":"image_12012025_17_37_03_040966_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464741","file1":"1328464740","file0":"1328464737","file3":"1328464745"},"map_files_photo_id_array":[{"photo_id":"1328464741","filename":"file2"},{"photo_id":"1328464740","filename":"file1"},{"photo_id":"1328464737","filename":"file0"},{"photo_id":"1328464745","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464740":["hashtag1","hashtag2"]},{"1328464737":["hashtag1","hashtag2"]},{"1328464745":["hashtag1","hashtag2"]},{"1328464741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464740, 1328464737, 1328464745, 1328464741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.88364505767822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:38:22.058298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0003.jpg', '/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0000.jpg', '/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0001.jpg', '/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_03_040966_0003.jpg
/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0000.jpg
/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0001.jpg
/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464832","1328464834","1328464828","1328464831"],"photo_ids_order":["1328464828","1328464831","1328464832","1328464834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91e7eab6c42f80b98d427541c0d54d63.jpg","text":"TemporaryFile(/tmp/multipartBody1459432138815376877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699972386,"filename":"image_12012025_17_38_02_172883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd5c3e0b51070c3e88e6f37365a955c1.jpg","text":"TemporaryFile(/tmp/multipartBody916411572504373528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699972386,"filename":"image_12012025_17_38_02_172883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f763cd1acb3d4fc768474d89f96a9516.jpg","text":"TemporaryFile(/tmp/multipartBody4811861636074746139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699972386,"filename":"image_12012025_17_37_03_040966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2388001233db5e93e1235d7acdf9ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3596634203946988842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736699972386,"filename":"image_12012025_17_38_02_172883_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464832","file1":"1328464831","file0":"1328464828","file3":"1328464834"},"map_files_photo_id_array":[{"photo_id":"1328464832","filename":"file2"},{"photo_id":"1328464831","filename":"file1"},{"photo_id":"1328464828","filename":"file0"},{"photo_id":"1328464834","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464832":["hashtag1","hashtag2"]},{"1328464834":["hashtag1","hashtag2"]},{"1328464828":["hashtag1","hashtag2"]},{"1328464831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464832, 1328464834, 1328464828, 1328464831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.548126459121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:39:03.020521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:39:22.316901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0003.jpg', '/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0000.jpg', '/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0001.jpg', '/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/38/image_12012025_17_38_02_172883_0003.jpg
/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0000.jpg
/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0001.jpg
/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464866","1328464868","1328464865","1328464867"],"photo_ids_order":["1328464865","1328464866","1328464867","1328464868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/271f6ee39b86ec3e0c3294f5ffadcd00.jpg","text":"TemporaryFile(/tmp/multipartBody3034072032645732076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700032601,"filename":"image_12012025_17_39_02_370074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc6d233eaa25582b5b74ed87483b5c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5732226016799496134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700032601,"filename":"image_12012025_17_39_02_370074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/706935166992c2f53372eaa99ddf32bb.jpg","text":"TemporaryFile(/tmp/multipartBody1544393733233043158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700032601,"filename":"image_12012025_17_38_02_172883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5edfd2c1cf1eca4146609a99ed085b12.jpg","text":"TemporaryFile(/tmp/multipartBody807514972301000583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700032601,"filename":"image_12012025_17_39_02_370074_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464867","file1":"1328464866","file0":"1328464865","file3":"1328464868"},"map_files_photo_id_array":[{"photo_id":"1328464867","filename":"file2"},{"photo_id":"1328464866","filename":"file1"},{"photo_id":"1328464865","filename":"file0"},{"photo_id":"1328464868","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464866":["hashtag1","hashtag2"]},{"1328464868":["hashtag1","hashtag2"]},{"1328464865":["hashtag1","hashtag2"]},{"1328464867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464866, 1328464868, 1328464865, 1328464867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56845211982727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:40:22.404793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0003.jpg', '/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0000.jpg', '/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0001.jpg', '/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/39/image_12012025_17_39_02_370074_0003.jpg
/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0000.jpg
/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0001.jpg
/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464880","1328464882","1328464884","1328464878"],"photo_ids_order":["1328464878","1328464880","1328464882","1328464884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17897af73ddf29e592b0117439f1b1b6.jpg","text":"TemporaryFile(/tmp/multipartBody78778066305258638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700092823,"filename":"image_12012025_17_40_02_608844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73573fcd917fdc8f6c712a013b9714d1.jpg","text":"TemporaryFile(/tmp/multipartBody2304808477659335908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700092823,"filename":"image_12012025_17_40_02_608844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d779067dc2d6afce8138026c97234951.jpg","text":"TemporaryFile(/tmp/multipartBody7539863166576050317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700092823,"filename":"image_12012025_17_40_02_608844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9e8076ab5aa59d40911208ed8f883f6.jpg","text":"TemporaryFile(/tmp/multipartBody1366988039181108932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700092823,"filename":"image_12012025_17_39_02_370074_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464882","file1":"1328464880","file0":"1328464878","file3":"1328464884"},"map_files_photo_id_array":[{"photo_id":"1328464882","filename":"file2"},{"photo_id":"1328464880","filename":"file1"},{"photo_id":"1328464878","filename":"file0"},{"photo_id":"1328464884","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464880":["hashtag1","hashtag2"]},{"1328464882":["hashtag1","hashtag2"]},{"1328464884":["hashtag1","hashtag2"]},{"1328464878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464880, 1328464882, 1328464884, 1328464878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33491921424866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:41:22.511778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0003.jpg', '/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0000.jpg', '/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0001.jpg', '/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/40/image_12012025_17_40_02_608844_0003.jpg
/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0000.jpg
/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0001.jpg
/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464892","1328464897","1328464893","1328464896"],"photo_ids_order":["1328464892","1328464893","1328464896","1328464897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a97499d370619dfde1d55c0c10421a7e.jpg","text":"TemporaryFile(/tmp/multipartBody463559169244145640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700152830,"filename":"image_12012025_17_40_02_608844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5ebe8a14b0697bac145273b10af3303.jpg","text":"TemporaryFile(/tmp/multipartBody4711172305563837495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700152830,"filename":"image_12012025_17_41_02_719003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81a20816ac3b8e4b7f0bc42f2063b95f.jpg","text":"TemporaryFile(/tmp/multipartBody8254741728028572126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700152830,"filename":"image_12012025_17_41_02_719003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d81d9f3db10e249f77fecbaadd966a99.jpg","text":"TemporaryFile(/tmp/multipartBody304380558850328212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700152830,"filename":"image_12012025_17_41_02_719003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464896","file1":"1328464893","file0":"1328464892","file3":"1328464897"},"map_files_photo_id_array":[{"photo_id":"1328464896","filename":"file2"},{"photo_id":"1328464893","filename":"file1"},{"photo_id":"1328464892","filename":"file0"},{"photo_id":"1328464897","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464892":["hashtag1","hashtag2"]},{"1328464897":["hashtag1","hashtag2"]},{"1328464893":["hashtag1","hashtag2"]},{"1328464896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464892, 1328464897, 1328464893, 1328464896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65754675865173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:42:22.688044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0003.jpg', '/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0000.jpg', '/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0001.jpg', '/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/41/image_12012025_17_41_02_719003_0003.jpg
/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0000.jpg
/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0001.jpg
/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464905","1328464908","1328464904","1328464906"],"photo_ids_order":["1328464904","1328464905","1328464906","1328464908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/405188d4db0d2a386f78c9d6d022722d.jpg","text":"TemporaryFile(/tmp/multipartBody1683291847882810480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700212996,"filename":"image_12012025_17_42_02_956396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0b01ac78822180629b48e1802cf6300.jpg","text":"TemporaryFile(/tmp/multipartBody5591958873787721256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700212996,"filename":"image_12012025_17_42_02_956396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60a942ca30e40238017a12c313cc1f3d.jpg","text":"TemporaryFile(/tmp/multipartBody1506878676155115842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700212996,"filename":"image_12012025_17_41_02_719003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6df0c28186bf006207108e4867c8b96f.jpg","text":"TemporaryFile(/tmp/multipartBody3745204590632907232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700212996,"filename":"image_12012025_17_42_02_956396_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464906","file1":"1328464905","file0":"1328464904","file3":"1328464908"},"map_files_photo_id_array":[{"photo_id":"1328464906","filename":"file2"},{"photo_id":"1328464905","filename":"file1"},{"photo_id":"1328464904","filename":"file0"},{"photo_id":"1328464908","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464905":["hashtag1","hashtag2"]},{"1328464908":["hashtag1","hashtag2"]},{"1328464904":["hashtag1","hashtag2"]},{"1328464906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464905, 1328464908, 1328464904, 1328464906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11970329284668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:43:02.493206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:43:21.797740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0003.jpg', '/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0000.jpg', '/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0001.jpg', '/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/42/image_12012025_17_42_02_956396_0003.jpg
/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0000.jpg
/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0001.jpg
/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328464976","1328464975","1328464921","1328464977"],"photo_ids_order":["1328464921","1328464975","1328464976","1328464977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b72190314edc57eaddff4f305dc163c.jpg","text":"TemporaryFile(/tmp/multipartBody4205468956220734378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700272116,"filename":"image_12012025_17_43_03_085442_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c6d348e5c2e49533222f98c5219b991.jpg","text":"TemporaryFile(/tmp/multipartBody8322247373583810564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700272116,"filename":"image_12012025_17_43_03_085442_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14ceebd9e9aa1143f151db9f725a03e7.jpg","text":"TemporaryFile(/tmp/multipartBody1727495273750197626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700272116,"filename":"image_12012025_17_42_02_956396_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a99fd3b37d5751d23c841f284799a837.jpg","text":"TemporaryFile(/tmp/multipartBody830996498010481860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700272116,"filename":"image_12012025_17_43_03_085442_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328464976","file1":"1328464975","file0":"1328464921","file3":"1328464977"},"map_files_photo_id_array":[{"photo_id":"1328464976","filename":"file2"},{"photo_id":"1328464975","filename":"file1"},{"photo_id":"1328464921","filename":"file0"},{"photo_id":"1328464977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328464976":["hashtag1","hashtag2"]},{"1328464975":["hashtag1","hashtag2"]},{"1328464921":["hashtag1","hashtag2"]},{"1328464977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328464976, 1328464975, 1328464921, 1328464977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.01730155944824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:44:22.018025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0003.jpg', '/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0000.jpg', '/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0001.jpg', '/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/43/image_12012025_17_43_03_085442_0003.jpg
/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0000.jpg
/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0001.jpg
/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465084","1328465086","1328465088","1328465082"],"photo_ids_order":["1328465082","1328465084","1328465086","1328465088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e78d97b0000fc3a20e3dcb9377abc59.jpg","text":"TemporaryFile(/tmp/multipartBody5173040437856334497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700332432,"filename":"image_12012025_17_44_02_169380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a1785f0b856e2b8d450d587433cf217.jpg","text":"TemporaryFile(/tmp/multipartBody4505826246015111924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700332432,"filename":"image_12012025_17_44_02_169380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/826e4f1af6c94d6278b8f788b1586dff.jpg","text":"TemporaryFile(/tmp/multipartBody5678681120863924047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700332432,"filename":"image_12012025_17_44_02_169380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/325f844f65232794c6419de03128d36f.jpg","text":"TemporaryFile(/tmp/multipartBody705787565150556381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700332432,"filename":"image_12012025_17_43_03_085442_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465086","file1":"1328465084","file0":"1328465082","file3":"1328465088"},"map_files_photo_id_array":[{"photo_id":"1328465086","filename":"file2"},{"photo_id":"1328465084","filename":"file1"},{"photo_id":"1328465082","filename":"file0"},{"photo_id":"1328465088","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465084":["hashtag1","hashtag2"]},{"1328465086":["hashtag1","hashtag2"]},{"1328465088":["hashtag1","hashtag2"]},{"1328465082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465084, 1328465086, 1328465088, 1328465082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25475549697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:45:22.229653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0003.jpg', '/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0000.jpg', '/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0001.jpg', '/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/44/image_12012025_17_44_02_169380_0003.jpg
/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0000.jpg
/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0001.jpg
/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465111","1328465119","1328465145","1328465103"],"photo_ids_order":["1328465103","1328465111","1328465119","1328465145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b890d5cad04f9b1324beb258d856b604.jpg","text":"TemporaryFile(/tmp/multipartBody9206776999451283431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700392373,"filename":"image_12012025_17_45_02_324143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1515070f9d9fbad1a423f20368511d30.jpg","text":"TemporaryFile(/tmp/multipartBody2072150348895477376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700392373,"filename":"image_12012025_17_45_02_324143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb37666df558649c8dae8961bf6c0c30.jpg","text":"TemporaryFile(/tmp/multipartBody8733946309989998099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700392373,"filename":"image_12012025_17_45_02_324143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a0b17ca2ca4bc154c04120bcec040533.jpg","text":"TemporaryFile(/tmp/multipartBody6638449379519854085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700392373,"filename":"image_12012025_17_44_02_169380_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465119","file1":"1328465111","file0":"1328465103","file3":"1328465145"},"map_files_photo_id_array":[{"photo_id":"1328465119","filename":"file2"},{"photo_id":"1328465111","filename":"file1"},{"photo_id":"1328465103","filename":"file0"},{"photo_id":"1328465145","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465111":["hashtag1","hashtag2"]},{"1328465119":["hashtag1","hashtag2"]},{"1328465145":["hashtag1","hashtag2"]},{"1328465103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465111, 1328465119, 1328465145, 1328465103)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.639519453048706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:46:22.426741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0003.jpg', '/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0000.jpg', '/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0001.jpg', '/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/45/image_12012025_17_45_02_324143_0003.jpg
/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0000.jpg
/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0001.jpg
/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465174","1328465156","1328465176","1328465154"],"photo_ids_order":["1328465154","1328465156","1328465174","1328465176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29f1cc9e45b8ad72087b2fcca249db45.jpg","text":"TemporaryFile(/tmp/multipartBody2522390776464754273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700452707,"filename":"image_12012025_17_46_02_502718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd7911185a10addb7b22b3a1b38163aa.jpg","text":"TemporaryFile(/tmp/multipartBody7932736073520670805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700452707,"filename":"image_12012025_17_46_02_502718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68f748cf6eae9f45c8c2487d8b28f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5017835152275752413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700452707,"filename":"image_12012025_17_46_02_502718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30dcf4e551103c0b9bbd804d9faf3998.jpg","text":"TemporaryFile(/tmp/multipartBody1422203983038391778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700452707,"filename":"image_12012025_17_45_02_324143_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465174","file1":"1328465156","file0":"1328465154","file3":"1328465176"},"map_files_photo_id_array":[{"photo_id":"1328465174","filename":"file2"},{"photo_id":"1328465156","filename":"file1"},{"photo_id":"1328465154","filename":"file0"},{"photo_id":"1328465176","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465174":["hashtag1","hashtag2"]},{"1328465156":["hashtag1","hashtag2"]},{"1328465176":["hashtag1","hashtag2"]},{"1328465154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465174, 1328465156, 1328465176, 1328465154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39232039451599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 17:47:03.269193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:47:22.590836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0003.jpg', '/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0000.jpg', '/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0001.jpg', '/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/46/image_12012025_17_46_02_502718_0003.jpg
/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0000.jpg
/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0001.jpg
/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465219","1328465221","1328465220","1328465217"],"photo_ids_order":["1328465217","1328465219","1328465220","1328465221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/deeb4de121b914a8410bd7978d3d6356.jpg","text":"TemporaryFile(/tmp/multipartBody7280278915976240692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700512956,"filename":"image_12012025_17_47_02_700569_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52707575933448663e6b15aa915f82c2.jpg","text":"TemporaryFile(/tmp/multipartBody7243640877757622319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700512956,"filename":"image_12012025_17_47_02_700569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4968e459168291c2ac36ca588c533dd.jpg","text":"TemporaryFile(/tmp/multipartBody3184824612679293936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700512956,"filename":"image_12012025_17_47_02_700569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/512beb205e8aebca0f9dbf882563b296.jpg","text":"TemporaryFile(/tmp/multipartBody9084165311898916737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700512956,"filename":"image_12012025_17_46_02_502718_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465220","file1":"1328465219","file0":"1328465217","file3":"1328465221"},"map_files_photo_id_array":[{"photo_id":"1328465220","filename":"file2"},{"photo_id":"1328465219","filename":"file1"},{"photo_id":"1328465217","filename":"file0"},{"photo_id":"1328465221","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465219":["hashtag1","hashtag2"]},{"1328465221":["hashtag1","hashtag2"]},{"1328465220":["hashtag1","hashtag2"]},{"1328465217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465219, 1328465221, 1328465220, 1328465217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.025805711746216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:48:22.771685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0003.jpg', '/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0000.jpg', '/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0001.jpg', '/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0003.jpg
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0000.jpg
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0001.jpg
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_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.843419075012207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:48:42.737156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0003.jpg', '/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0000.jpg', '/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0001.jpg', '/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/47/image_12012025_17_47_02_700569_0003.jpg
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0000.jpg
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0001.jpg
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465246","1328465245","1328465248","1328465250"],"photo_ids_order":["1328465245","1328465246","1328465248","1328465250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69fc123a978dc706fb1bc89a5fc9402c.jpg","text":"TemporaryFile(/tmp/multipartBody377331434098080984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700592971,"filename":"image_12012025_17_48_02_931161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf6cb380149518ca0981880e669c66d7.jpg","text":"TemporaryFile(/tmp/multipartBody7745477705462314584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700592971,"filename":"image_12012025_17_47_02_700569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e581af8f37ea1badc0141ca599499483.jpg","text":"TemporaryFile(/tmp/multipartBody8147845535909978707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700592971,"filename":"image_12012025_17_48_02_931161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06e5461d6423a00c5db9506cb12116d1.jpg","text":"TemporaryFile(/tmp/multipartBody3644307771739015015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700592971,"filename":"image_12012025_17_48_02_931161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465248","file1":"1328465246","file0":"1328465245","file3":"1328465250"},"map_files_photo_id_array":[{"photo_id":"1328465248","filename":"file2"},{"photo_id":"1328465246","filename":"file1"},{"photo_id":"1328465245","filename":"file0"},{"photo_id":"1328465250","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465246":["hashtag1","hashtag2"]},{"1328465245":["hashtag1","hashtag2"]},{"1328465248":["hashtag1","hashtag2"]},{"1328465250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465246, 1328465245, 1328465248, 1328465250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.40648412704468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:49:31.944675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0003.jpg', '/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0000.jpg', '/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0001.jpg', '/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/48/image_12012025_17_48_02_931161_0003.jpg
/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0000.jpg
/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0001.jpg
/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465264","1328465260","1328465263","1328465262"],"photo_ids_order":["1328465260","1328465262","1328465263","1328465264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9f91d402a4383ecdff8c038f6fe1029.jpg","text":"TemporaryFile(/tmp/multipartBody6417102400473615050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700642250,"filename":"image_12012025_17_49_03_125302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46aae877a550e0e5c55153f60aa70743.jpg","text":"TemporaryFile(/tmp/multipartBody2760352478500491731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700642250,"filename":"image_12012025_17_48_02_931161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d4fbd42e23e15b4e48e4018ddc039ed.jpg","text":"TemporaryFile(/tmp/multipartBody5496340034708137315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700642250,"filename":"image_12012025_17_49_03_125302_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/afab98d53a65ab1f6eec84f3f50f9c78.jpg","text":"TemporaryFile(/tmp/multipartBody6775819841724603788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700642250,"filename":"image_12012025_17_49_03_125302_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465263","file1":"1328465262","file0":"1328465260","file3":"1328465264"},"map_files_photo_id_array":[{"photo_id":"1328465263","filename":"file2"},{"photo_id":"1328465262","filename":"file1"},{"photo_id":"1328465260","filename":"file0"},{"photo_id":"1328465264","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465264":["hashtag1","hashtag2"]},{"1328465260":["hashtag1","hashtag2"]},{"1328465263":["hashtag1","hashtag2"]},{"1328465262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465264, 1328465260, 1328465263, 1328465262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88655233383179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:50:22.126939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0003.jpg', '/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0000.jpg', '/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0001.jpg', '/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/49/image_12012025_17_49_03_125302_0003.jpg
/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0000.jpg
/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0001.jpg
/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465276","1328465273","1328465272","1328465274"],"photo_ids_order":["1328465272","1328465273","1328465274","1328465276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6ef6cdf103316eec0503e39a21d39e8.jpg","text":"TemporaryFile(/tmp/multipartBody190160107128603003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700692339,"filename":"image_12012025_17_50_02_320431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d53d7e5218107e2cf18d7bffe2be565.jpg","text":"TemporaryFile(/tmp/multipartBody1250223182321579092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700692339,"filename":"image_12012025_17_50_02_320431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a62d023e1b7b6304e1e95c6016363f0.jpg","text":"TemporaryFile(/tmp/multipartBody7115625347861991836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700692339,"filename":"image_12012025_17_49_03_125302_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b62726d14242175850dfa77de887197.jpg","text":"TemporaryFile(/tmp/multipartBody2343711881394650480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700692339,"filename":"image_12012025_17_50_02_320431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465274","file1":"1328465273","file0":"1328465272","file3":"1328465276"},"map_files_photo_id_array":[{"photo_id":"1328465274","filename":"file2"},{"photo_id":"1328465273","filename":"file1"},{"photo_id":"1328465272","filename":"file0"},{"photo_id":"1328465276","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465276":["hashtag1","hashtag2"]},{"1328465273":["hashtag1","hashtag2"]},{"1328465272":["hashtag1","hashtag2"]},{"1328465274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465276, 1328465273, 1328465272, 1328465274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8394238948822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:51:22.412351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0003.jpg', '/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0000.jpg', '/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0001.jpg', '/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/50/image_12012025_17_50_02_320431_0003.jpg
/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0000.jpg
/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0001.jpg
/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465318","1328465293","1328465317","1328465314"],"photo_ids_order":["1328465293","1328465314","1328465317","1328465318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/916dfe49ad5d6305951de7b8222375c9.jpg","text":"TemporaryFile(/tmp/multipartBody6299451802726647324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700752661,"filename":"image_12012025_17_51_02_540860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6634ab6baa5379d934c7f48024e353c8.jpg","text":"TemporaryFile(/tmp/multipartBody5732935431918858467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700752661,"filename":"image_12012025_17_50_02_320431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56259e696f1d5106a44f43b4b1e502af.jpg","text":"TemporaryFile(/tmp/multipartBody3284132457097964577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700752661,"filename":"image_12012025_17_51_02_540860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b05ccbe919ee8a44bb729bc22255962b.jpg","text":"TemporaryFile(/tmp/multipartBody5968675852402669794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700752661,"filename":"image_12012025_17_51_02_540860_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465317","file1":"1328465314","file0":"1328465293","file3":"1328465318"},"map_files_photo_id_array":[{"photo_id":"1328465317","filename":"file2"},{"photo_id":"1328465314","filename":"file1"},{"photo_id":"1328465293","filename":"file0"},{"photo_id":"1328465318","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465318":["hashtag1","hashtag2"]},{"1328465293":["hashtag1","hashtag2"]},{"1328465317":["hashtag1","hashtag2"]},{"1328465314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465318, 1328465293, 1328465317, 1328465314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55761694908142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:52:22.525288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0003.jpg', '/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0000.jpg', '/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0001.jpg', '/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0003.jpg
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0000.jpg
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0001.jpg
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_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.82218623161316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 17:52:42.501673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0003.jpg', '/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0000.jpg', '/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0001.jpg', '/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/51/image_12012025_17_51_02_540860_0003.jpg
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0000.jpg
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0001.jpg
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465339","1328465333","1328465335","1328465337"],"photo_ids_order":["1328465333","1328465335","1328465337","1328465339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2de65bd3c80768d8a397f2279e8f9517.jpg","text":"TemporaryFile(/tmp/multipartBody4053155649492923503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700832717,"filename":"image_12012025_17_52_02_720329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bb27b46ea22dfc5cd2d68e45b24c97f6.jpg","text":"TemporaryFile(/tmp/multipartBody1330238345434009356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700832717,"filename":"image_12012025_17_51_02_540860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f21042ab327c3a3543045191d06855c9.jpg","text":"TemporaryFile(/tmp/multipartBody879431992420326963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700832717,"filename":"image_12012025_17_52_02_720329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9669d232471c2e7e0c063d26a47aa60d.jpg","text":"TemporaryFile(/tmp/multipartBody7946459424121145371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700832717,"filename":"image_12012025_17_52_02_720329_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465337","file1":"1328465335","file0":"1328465333","file3":"1328465339"},"map_files_photo_id_array":[{"photo_id":"1328465337","filename":"file2"},{"photo_id":"1328465335","filename":"file1"},{"photo_id":"1328465333","filename":"file0"},{"photo_id":"1328465339","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465339":["hashtag1","hashtag2"]},{"1328465333":["hashtag1","hashtag2"]},{"1328465335":["hashtag1","hashtag2"]},{"1328465337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465339, 1328465333, 1328465335, 1328465337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6852970123291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 17:53:32.707749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0003.jpg', '/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0000.jpg', '/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0001.jpg', '/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/52/image_12012025_17_52_02_720329_0003.jpg
/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0000.jpg
/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0001.jpg
/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465351","1328465345","1328465347","1328465349"],"photo_ids_order":["1328465345","1328465347","1328465349","1328465351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c779519c935a57abfa02d5ec8e839d6.jpg","text":"TemporaryFile(/tmp/multipartBody7922244895373628971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700883030,"filename":"image_12012025_17_53_02_864624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a1dd671edc8c89f81e3c45222069647.jpg","text":"TemporaryFile(/tmp/multipartBody1056319349813305368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700883030,"filename":"image_12012025_17_52_02_720329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b3cf67e2ef2a31d4986a2a1a8bdeef2.jpg","text":"TemporaryFile(/tmp/multipartBody6226501976395231344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700883030,"filename":"image_12012025_17_53_02_864624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce68a5ef37dffa6728a151ec431985e9.jpg","text":"TemporaryFile(/tmp/multipartBody7758967814922007550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700883030,"filename":"image_12012025_17_53_02_864624_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465349","file1":"1328465347","file0":"1328465345","file3":"1328465351"},"map_files_photo_id_array":[{"photo_id":"1328465349","filename":"file2"},{"photo_id":"1328465347","filename":"file1"},{"photo_id":"1328465345","filename":"file0"},{"photo_id":"1328465351","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465351":["hashtag1","hashtag2"]},{"1328465345":["hashtag1","hashtag2"]},{"1328465347":["hashtag1","hashtag2"]},{"1328465349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465351, 1328465345, 1328465347, 1328465349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52949619293213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:54:21.913785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0003.jpg', '/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0000.jpg', '/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0001.jpg', '/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/53/image_12012025_17_53_02_864624_0003.jpg
/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0000.jpg
/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0001.jpg
/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465368","1328465365","1328465367","1328465361"],"photo_ids_order":["1328465361","1328465365","1328465367","1328465368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9f66ef05319aac1d693aee1ce8d5443.jpg","text":"TemporaryFile(/tmp/multipartBody402839084420233098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700932120,"filename":"image_12012025_17_54_03_104657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5915b6a328b281e1e50f42c5ca120a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1411713214876593507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700932120,"filename":"image_12012025_17_54_03_104657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/814adb438d805bcee0c8bca54a34c3ce.jpg","text":"TemporaryFile(/tmp/multipartBody3559981439502497870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700932120,"filename":"image_12012025_17_54_03_104657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecf7b59c6f964e30e6c1d5aba1bbfc12.jpg","text":"TemporaryFile(/tmp/multipartBody6827730783755449268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700932120,"filename":"image_12012025_17_53_02_864624_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465367","file1":"1328465365","file0":"1328465361","file3":"1328465368"},"map_files_photo_id_array":[{"photo_id":"1328465367","filename":"file2"},{"photo_id":"1328465365","filename":"file1"},{"photo_id":"1328465361","filename":"file0"},{"photo_id":"1328465368","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465368":["hashtag1","hashtag2"]},{"1328465365":["hashtag1","hashtag2"]},{"1328465367":["hashtag1","hashtag2"]},{"1328465361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465368, 1328465365, 1328465367, 1328465361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.4152307510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:55:22.020897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0003.jpg', '/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0000.jpg', '/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0001.jpg', '/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/54/image_12012025_17_54_03_104657_0003.jpg
/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0000.jpg
/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0001.jpg
/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465375","1328465378","1328465380","1328465383"],"photo_ids_order":["1328465375","1328465378","1328465380","1328465383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4db1f5cfc125027fb56e4a92c4e65d7.jpg","text":"TemporaryFile(/tmp/multipartBody8535883975574233545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700992234,"filename":"image_12012025_17_54_03_104657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc2b3db67bc95f31bc2992625730c892.jpg","text":"TemporaryFile(/tmp/multipartBody2535022846152767430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700992234,"filename":"image_12012025_17_55_02_187347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5976e658ded7d4ba30c3041761516cd6.jpg","text":"TemporaryFile(/tmp/multipartBody62727330602355678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700992234,"filename":"image_12012025_17_55_02_187347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d754a3d9b6fbffe7aa395c4f94bfd724.jpg","text":"TemporaryFile(/tmp/multipartBody4621043628998367218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736700992234,"filename":"image_12012025_17_55_02_187347_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465380","file1":"1328465378","file0":"1328465375","file3":"1328465383"},"map_files_photo_id_array":[{"photo_id":"1328465380","filename":"file2"},{"photo_id":"1328465378","filename":"file1"},{"photo_id":"1328465375","filename":"file0"},{"photo_id":"1328465383","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465375":["hashtag1","hashtag2"]},{"1328465378":["hashtag1","hashtag2"]},{"1328465380":["hashtag1","hashtag2"]},{"1328465383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465375, 1328465378, 1328465380, 1328465383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76928925514221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:56:22.234046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0003.jpg', '/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0000.jpg', '/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0001.jpg', '/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/55/image_12012025_17_55_02_187347_0003.jpg
/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0000.jpg
/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0001.jpg
/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328465406","1328465402","1328465404","1328465400"],"photo_ids_order":["1328465400","1328465402","1328465404","1328465406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/457fa0f3fd91c2509f6052a8f82e345e.jpg","text":"TemporaryFile(/tmp/multipartBody7136453819162749602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701052411,"filename":"image_12012025_17_56_02_429697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed1051d21830dc751ab3d4a7a81b4f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4063593238688631998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701052411,"filename":"image_12012025_17_56_02_429697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d3942693f32cc2edaa78d4ebfaf8a860.jpg","text":"TemporaryFile(/tmp/multipartBody3234370641762568252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701052411,"filename":"image_12012025_17_56_02_429697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6a8d13fae5870d6e56bad1adb394bb5.jpg","text":"TemporaryFile(/tmp/multipartBody1112040728222465900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701052411,"filename":"image_12012025_17_55_02_187347_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465404","file1":"1328465402","file0":"1328465400","file3":"1328465406"},"map_files_photo_id_array":[{"photo_id":"1328465404","filename":"file2"},{"photo_id":"1328465402","filename":"file1"},{"photo_id":"1328465400","filename":"file0"},{"photo_id":"1328465406","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465406":["hashtag1","hashtag2"]},{"1328465402":["hashtag1","hashtag2"]},{"1328465404":["hashtag1","hashtag2"]},{"1328465400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465406, 1328465402, 1328465404, 1328465400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.610941886901855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 17:57:22.435197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0003.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0000.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0001.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0003.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0000.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0001.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_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-12 17:59:03.090582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0003.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0000.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0001.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0002.jpg', '/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0003.jpg', '/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/56/image_12012025_17_56_02_429697_0003.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0000.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0001.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0002.jpg
/home/pi/Desktop/images/12012025/17/57/image_12012025_17_57_02_535524_0003.jpg
/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_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":["1328465456","1328465441","1328465447","1328465451","1328465460","1328465454"],"photo_ids_order":["1328465441","1328465447","1328465451","1328465454","1328465456","1328465460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7179671d294ed7eceb10c7343c615ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6564934458517008815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701218119,"filename":"image_12012025_17_57_02_535524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ffa935ccea7c69bc285b4a2cc3749d0.jpg","text":"TemporaryFile(/tmp/multipartBody7514654062767599321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701218119,"filename":"image_12012025_17_56_02_429697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b4ddd8cefc8fd255c3a8b8eb062f2ee.jpg","text":"TemporaryFile(/tmp/multipartBody5879397051358511288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701218119,"filename":"image_12012025_17_57_02_535524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9fea0c7654a1aa43cca694cf0ea5da0.jpg","text":"TemporaryFile(/tmp/multipartBody3989841074259938539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701218119,"filename":"image_12012025_17_57_02_535524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6282acc79578e29386867bb303d01ca.jpg","text":"TemporaryFile(/tmp/multipartBody3423637779873070120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701218119,"filename":"image_12012025_17_58_02_742488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06e58ae5671e10e9f3c7c31359081953.jpg","text":"TemporaryFile(/tmp/multipartBody5626783221974565854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701218119,"filename":"image_12012025_17_57_02_535524_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328465451","file1":"1328465447","file0":"1328465441","file4":"1328465456","file5":"1328465460","file3":"1328465454"},"map_files_photo_id_array":[{"photo_id":"1328465460","filename":"file5"},{"photo_id":"1328465451","filename":"file2"},{"photo_id":"1328465456","filename":"file4"},{"photo_id":"1328465447","filename":"file1"},{"photo_id":"1328465441","filename":"file0"},{"photo_id":"1328465454","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328465456":["hashtag1","hashtag2"]},{"1328465441":["hashtag1","hashtag2"]},{"1328465447":["hashtag1","hashtag2"]},{"1328465451":["hashtag1","hashtag2"]},{"1328465460":["hashtag1","hashtag2"]},{"1328465454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328465456, 1328465441, 1328465447, 1328465451, 1328465460, 1328465454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.68121409416199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:00:02.291214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0001.jpg', '/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0002.jpg', '/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0003.jpg', '/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0000.jpg', '/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0001.jpg', '/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0001.jpg
/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0002.jpg
/home/pi/Desktop/images/12012025/17/58/image_12012025_17_58_02_742488_0003.jpg
/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0000.jpg
/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0001.jpg
/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328466224","1328466218","1328466221","1328466124","1328466213","1328466216"],"photo_ids_order":["1328466124","1328466213","1328466216","1328466218","1328466221","1328466224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a2e592e020147ab70444a3493cf59b0.jpg","text":"TemporaryFile(/tmp/multipartBody1576807319547183347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701277404,"filename":"image_12012025_17_59_02_853748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bdc853be8eceb21dc4b6ce92bc00482f.jpg","text":"TemporaryFile(/tmp/multipartBody7962611845801351602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701277404,"filename":"image_12012025_17_59_02_853748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6434ae7bdcc8721073725f656b0f4c72.jpg","text":"TemporaryFile(/tmp/multipartBody3642532799813015832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701277404,"filename":"image_12012025_17_59_02_853748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f87b9ca26b294cdaa7720cd3576020ed.jpg","text":"TemporaryFile(/tmp/multipartBody8141771881622663759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701277404,"filename":"image_12012025_17_58_02_742488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4ee787cd55697e4c2ad739138bc356e.jpg","text":"TemporaryFile(/tmp/multipartBody3309603381696401408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701277404,"filename":"image_12012025_17_58_02_742488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cf1e6f4419011eae41463f4230f5570.jpg","text":"TemporaryFile(/tmp/multipartBody1198885574067058501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701277404,"filename":"image_12012025_17_58_02_742488_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328466216","file1":"1328466213","file0":"1328466124","file4":"1328466221","file5":"1328466224","file3":"1328466218"},"map_files_photo_id_array":[{"photo_id":"1328466224","filename":"file5"},{"photo_id":"1328466216","filename":"file2"},{"photo_id":"1328466221","filename":"file4"},{"photo_id":"1328466213","filename":"file1"},{"photo_id":"1328466124","filename":"file0"},{"photo_id":"1328466218","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328466224":["hashtag1","hashtag2"]},{"1328466218":["hashtag1","hashtag2"]},{"1328466221":["hashtag1","hashtag2"]},{"1328466124":["hashtag1","hashtag2"]},{"1328466213":["hashtag1","hashtag2"]},{"1328466216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328466224, 1328466218, 1328466221, 1328466124, 1328466213, 1328466216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.561232805252075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:01:02.520604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0003.jpg', '/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0000.jpg', '/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0001.jpg', '/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/17/59/image_12012025_17_59_02_853748_0003.jpg
/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0000.jpg
/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0001.jpg
/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328466263","1328466266","1328466401","1328466269"],"photo_ids_order":["1328466263","1328466266","1328466269","1328466401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2baeea14b37c56f050d6efa6b66742e.jpg","text":"TemporaryFile(/tmp/multipartBody5868755441175922649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701332824,"filename":"image_12012025_17_59_02_853748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a1073921c468cfda5580f65a21410f8.jpg","text":"TemporaryFile(/tmp/multipartBody874224100186777750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701332824,"filename":"image_12012025_18_00_03_088802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/caaa20e7fc839e13a3f96a4ee470e6a0.jpg","text":"TemporaryFile(/tmp/multipartBody8733868613129482711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701332824,"filename":"image_12012025_18_00_03_088802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ee0d5c4ef5d722d2c12a704d1927030.jpg","text":"TemporaryFile(/tmp/multipartBody3098808086875227393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701332824,"filename":"image_12012025_18_00_03_088802_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328466269","file1":"1328466266","file0":"1328466263","file3":"1328466401"},"map_files_photo_id_array":[{"photo_id":"1328466269","filename":"file2"},{"photo_id":"1328466266","filename":"file1"},{"photo_id":"1328466263","filename":"file0"},{"photo_id":"1328466401","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328466263":["hashtag1","hashtag2"]},{"1328466266":["hashtag1","hashtag2"]},{"1328466401":["hashtag1","hashtag2"]},{"1328466269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328466263, 1328466266, 1328466401, 1328466269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26001691818237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:01:51.981279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0003.jpg', '/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0000.jpg', '/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0003.jpg
/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0000.jpg
/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_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.356741428375244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:02:02.611645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0003.jpg', '/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0000.jpg', '/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_03_088802_0003.jpg
/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0000.jpg
/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_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":["1328466691","1328466694","1328466692"],"photo_ids_order":["1328466691","1328466692","1328466694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3f62f60843a78056e0ae05d835dd063.jpg","text":"TemporaryFile(/tmp/multipartBody582187231937159902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701390406,"filename":"image_12012025_18_00_03_088802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4962a8ead49b17b94842fe6329404c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1279707917448353832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701390406,"filename":"image_12012025_18_01_02_262496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7199533db1f2762ae4ea0184b6e828ab.jpg","text":"TemporaryFile(/tmp/multipartBody3899780354628056407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701390406,"filename":"image_12012025_18_01_02_262496_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328466694","file1":"1328466692","file0":"1328466691"},"map_files_photo_id_array":[{"photo_id":"1328466694","filename":"file2"},{"photo_id":"1328466692","filename":"file1"},{"photo_id":"1328466691","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328466691":["hashtag1","hashtag2"]},{"1328466694":["hashtag1","hashtag2"]},{"1328466692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328466691, 1328466694, 1328466692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.27191162109375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:02:42.136928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0002.jpg', '/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0000.jpg', '/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0001.jpg', '/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_02_262496_0002.jpg
/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0000.jpg
/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0001.jpg
/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_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":["1328466898","1328466701","1328466700","1328467268"],"photo_ids_order":["1328466700","1328466701","1328466898","1328467268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39a9cce76d65fa0cf5e754f5ec1f6b5f.jpg","text":"TemporaryFile(/tmp/multipartBody2977973069700446949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701432406,"filename":"image_12012025_18_02_02_402809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80febea218ffc39985d23d4fab618911.jpg","text":"TemporaryFile(/tmp/multipartBody3411207898580592724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701432406,"filename":"image_12012025_18_02_02_402809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d5d9fda3ee712f23bcfdeb8a75f47835.jpg","text":"TemporaryFile(/tmp/multipartBody349856167984229911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701432406,"filename":"image_12012025_18_01_02_262496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa2650c832d5aec6e15e80af76d13ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5138374416054457372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701432406,"filename":"image_12012025_18_02_02_402809_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328466898","file1":"1328466701","file0":"1328466700","file3":"1328467268"},"map_files_photo_id_array":[{"photo_id":"1328466898","filename":"file2"},{"photo_id":"1328466701","filename":"file1"},{"photo_id":"1328466700","filename":"file0"},{"photo_id":"1328467268","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328466898":["hashtag1","hashtag2"]},{"1328466701":["hashtag1","hashtag2"]},{"1328466700":["hashtag1","hashtag2"]},{"1328467268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328466898, 1328466701, 1328466700, 1328467268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66153907775879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:03:22.372009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0003.jpg', '/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0000.jpg', '/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0001.jpg', '/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/02/image_12012025_18_02_02_402809_0003.jpg
/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0000.jpg
/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0001.jpg
/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328467441","1328467420","1328467272","1328467439"],"photo_ids_order":["1328467272","1328467420","1328467439","1328467441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5babc13c5f81f7eb032ba8604f90b0d.jpg","text":"TemporaryFile(/tmp/multipartBody468949037472543597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701472633,"filename":"image_12012025_18_03_02_523498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a73b0673516767a5d6045c616ab5d471.jpg","text":"TemporaryFile(/tmp/multipartBody6927660063852354285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701472633,"filename":"image_12012025_18_03_02_523498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55e0dcdbd9b3c86a6107a21fb0c08405.jpg","text":"TemporaryFile(/tmp/multipartBody6594122639995394248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701472633,"filename":"image_12012025_18_02_02_402809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2759ff28b9c64281b1e2c4a904ceb681.jpg","text":"TemporaryFile(/tmp/multipartBody2215012112555067265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701472633,"filename":"image_12012025_18_03_02_523498_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328467439","file1":"1328467420","file0":"1328467272","file3":"1328467441"},"map_files_photo_id_array":[{"photo_id":"1328467439","filename":"file2"},{"photo_id":"1328467420","filename":"file1"},{"photo_id":"1328467272","filename":"file0"},{"photo_id":"1328467441","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328467441":["hashtag1","hashtag2"]},{"1328467420":["hashtag1","hashtag2"]},{"1328467272":["hashtag1","hashtag2"]},{"1328467439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328467441, 1328467420, 1328467272, 1328467439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11157011985779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:04:02.990523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:04:22.629108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0003.jpg', '/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0000.jpg', '/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0001.jpg', '/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/03/image_12012025_18_03_02_523498_0003.jpg
/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0000.jpg
/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0001.jpg
/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328468562","1328468679","1328468564","1328468584"],"photo_ids_order":["1328468562","1328468564","1328468584","1328468679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da8193b24835ab38a8b878386ecfd586.jpg","text":"TemporaryFile(/tmp/multipartBody5559868599633375359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701532940,"filename":"image_12012025_18_03_02_523498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f67d12d7151a28b6eaedc9df27fa921e.jpg","text":"TemporaryFile(/tmp/multipartBody5579729467353876780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701532940,"filename":"image_12012025_18_04_02_761836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1db787abf034862ecaa74a3c22d28886.jpg","text":"TemporaryFile(/tmp/multipartBody1948634734862411338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701532940,"filename":"image_12012025_18_04_02_761836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3397afc104a0425edf420c10aedc4133.jpg","text":"TemporaryFile(/tmp/multipartBody4584821716185499981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701532940,"filename":"image_12012025_18_04_02_761836_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328468584","file1":"1328468564","file0":"1328468562","file3":"1328468679"},"map_files_photo_id_array":[{"photo_id":"1328468584","filename":"file2"},{"photo_id":"1328468564","filename":"file1"},{"photo_id":"1328468562","filename":"file0"},{"photo_id":"1328468679","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328468562":["hashtag1","hashtag2"]},{"1328468679":["hashtag1","hashtag2"]},{"1328468564":["hashtag1","hashtag2"]},{"1328468584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328468562, 1328468679, 1328468564, 1328468584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33975005149841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:05:22.855935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0003.jpg', '/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0000.jpg', '/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0001.jpg', '/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/04/image_12012025_18_04_02_761836_0003.jpg
/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0000.jpg
/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0001.jpg
/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328468988","1328468984","1328468986","1328468989"],"photo_ids_order":["1328468984","1328468986","1328468988","1328468989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5496bc6f1f71bef051c229bcb6762d76.jpg","text":"TemporaryFile(/tmp/multipartBody6138784108806457007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701593275,"filename":"image_12012025_18_05_02_897890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a320f43d4ea6913cabff854675fb490.jpg","text":"TemporaryFile(/tmp/multipartBody953866925422340591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701593275,"filename":"image_12012025_18_04_02_761836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18345d4150cf888500bad3ec5806cd7b.jpg","text":"TemporaryFile(/tmp/multipartBody665320604585414768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701593275,"filename":"image_12012025_18_05_02_897890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e08e44f75d6ec9cf719c1cc433831a48.jpg","text":"TemporaryFile(/tmp/multipartBody6466426113086398385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701593275,"filename":"image_12012025_18_05_02_897890_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328468988","file1":"1328468986","file0":"1328468984","file3":"1328468989"},"map_files_photo_id_array":[{"photo_id":"1328468988","filename":"file2"},{"photo_id":"1328468986","filename":"file1"},{"photo_id":"1328468984","filename":"file0"},{"photo_id":"1328468989","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328468988":["hashtag1","hashtag2"]},{"1328468984":["hashtag1","hashtag2"]},{"1328468986":["hashtag1","hashtag2"]},{"1328468989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328468988, 1328468984, 1328468986, 1328468989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.722806453704834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:06:21.919853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0003.jpg', '/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0000.jpg', '/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0001.jpg', '/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0003.jpg
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0000.jpg
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0001.jpg
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_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.916141033172607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:06:41.891446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0003.jpg', '/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0000.jpg', '/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0001.jpg', '/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_02_897890_0003.jpg
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0000.jpg
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0001.jpg
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469030","1328469032","1328469029","1328469034"],"photo_ids_order":["1328469029","1328469030","1328469032","1328469034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/952450bee2afe901fb4ef9285b774e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5763239659853776273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701672152,"filename":"image_12012025_18_06_03_193747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29ece27f77dd1d56a3012df1fdcc83de.jpg","text":"TemporaryFile(/tmp/multipartBody6455053081625219447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701672152,"filename":"image_12012025_18_06_03_193747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc2a7c0c78a94b02cb95b53e27d2b55e.jpg","text":"TemporaryFile(/tmp/multipartBody4920158647978645659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701672152,"filename":"image_12012025_18_05_02_897890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f00a003777dd14ce09a7601ce93eb305.jpg","text":"TemporaryFile(/tmp/multipartBody9115257139194587881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701672152,"filename":"image_12012025_18_06_03_193747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469032","file1":"1328469030","file0":"1328469029","file3":"1328469034"},"map_files_photo_id_array":[{"photo_id":"1328469032","filename":"file2"},{"photo_id":"1328469030","filename":"file1"},{"photo_id":"1328469029","filename":"file0"},{"photo_id":"1328469034","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469030":["hashtag1","hashtag2"]},{"1328469032":["hashtag1","hashtag2"]},{"1328469029":["hashtag1","hashtag2"]},{"1328469034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469030, 1328469032, 1328469029, 1328469034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.99194836616516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:07:32.026760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0003.jpg', '/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0000.jpg', '/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0001.jpg', '/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/06/image_12012025_18_06_03_193747_0003.jpg
/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0000.jpg
/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0001.jpg
/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469045","1328469048","1328469047","1328469049"],"photo_ids_order":["1328469045","1328469047","1328469048","1328469049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aca848a81f532ec773d4121740ddacd7.jpg","text":"TemporaryFile(/tmp/multipartBody8498659969882500708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701722403,"filename":"image_12012025_18_06_03_193747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad4039067a4bf04f775f889e4cfe99c6.jpg","text":"TemporaryFile(/tmp/multipartBody4438830203863485974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701722403,"filename":"image_12012025_18_07_02_212325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86e2c204e9408dedd65da30a16fcf4e3.jpg","text":"TemporaryFile(/tmp/multipartBody8114611417708572293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701722403,"filename":"image_12012025_18_07_02_212325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e148a1bfcd27c89d19c43271e4fa571.jpg","text":"TemporaryFile(/tmp/multipartBody7017858533315855370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701722403,"filename":"image_12012025_18_07_02_212325_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469048","file1":"1328469047","file0":"1328469045","file3":"1328469049"},"map_files_photo_id_array":[{"photo_id":"1328469048","filename":"file2"},{"photo_id":"1328469047","filename":"file1"},{"photo_id":"1328469045","filename":"file0"},{"photo_id":"1328469049","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469045":["hashtag1","hashtag2"]},{"1328469048":["hashtag1","hashtag2"]},{"1328469047":["hashtag1","hashtag2"]},{"1328469049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469045, 1328469048, 1328469047, 1328469049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.20360517501831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:08:22.187591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0003.jpg', '/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0000.jpg', '/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0001.jpg', '/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/07/image_12012025_18_07_02_212325_0003.jpg
/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0000.jpg
/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0001.jpg
/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469063","1328469057","1328469059","1328469061"],"photo_ids_order":["1328469057","1328469059","1328469061","1328469063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12b937d97096cab3dc7f498de57b019a.jpg","text":"TemporaryFile(/tmp/multipartBody7866649454518906018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701772504,"filename":"image_12012025_18_08_02_399104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d53497db469e3f56f828b265c5d81d51.jpg","text":"TemporaryFile(/tmp/multipartBody2457324273725127746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701772504,"filename":"image_12012025_18_07_02_212325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0086f488cf5c78bc6823a7f3ce9ede9a.jpg","text":"TemporaryFile(/tmp/multipartBody8704411907174460446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701772504,"filename":"image_12012025_18_08_02_399104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d6f8545f4e3eb7416484f1ad4e1a70c.jpg","text":"TemporaryFile(/tmp/multipartBody5731937418757892666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701772504,"filename":"image_12012025_18_08_02_399104_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469061","file1":"1328469059","file0":"1328469057","file3":"1328469063"},"map_files_photo_id_array":[{"photo_id":"1328469061","filename":"file2"},{"photo_id":"1328469059","filename":"file1"},{"photo_id":"1328469057","filename":"file0"},{"photo_id":"1328469063","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469063":["hashtag1","hashtag2"]},{"1328469057":["hashtag1","hashtag2"]},{"1328469059":["hashtag1","hashtag2"]},{"1328469061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469063, 1328469057, 1328469059, 1328469061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.034095764160156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:09:22.455536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0003.jpg', '/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0000.jpg', '/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0001.jpg', '/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/08/image_12012025_18_08_02_399104_0003.jpg
/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0000.jpg
/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0001.jpg
/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469105","1328469071","1328469107","1328469082"],"photo_ids_order":["1328469071","1328469082","1328469105","1328469107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4370e44211584e94930337ef83dcdc52.jpg","text":"TemporaryFile(/tmp/multipartBody9174821714314314059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701832770,"filename":"image_12012025_18_09_02_549192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcfbf46b4e75459377418e7094875bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6064834998856614269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701832770,"filename":"image_12012025_18_08_02_399104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f891fcac3075e3659ec6b916429d793.jpg","text":"TemporaryFile(/tmp/multipartBody8331037710571130583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701832770,"filename":"image_12012025_18_09_02_549192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43524f09d39d63a861dc1d1c47cc8304.jpg","text":"TemporaryFile(/tmp/multipartBody5503140376375641576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701832770,"filename":"image_12012025_18_09_02_549192_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469105","file1":"1328469082","file0":"1328469071","file3":"1328469107"},"map_files_photo_id_array":[{"photo_id":"1328469105","filename":"file2"},{"photo_id":"1328469082","filename":"file1"},{"photo_id":"1328469071","filename":"file0"},{"photo_id":"1328469107","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469105":["hashtag1","hashtag2"]},{"1328469071":["hashtag1","hashtag2"]},{"1328469107":["hashtag1","hashtag2"]},{"1328469082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469105, 1328469071, 1328469107, 1328469082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22106432914734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:10:22.617939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0003.jpg', '/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0000.jpg', '/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0001.jpg', '/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_02_549192_0003.jpg
/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0000.jpg
/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0001.jpg
/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469114","1328469117","1328469119","1328469116"],"photo_ids_order":["1328469114","1328469116","1328469117","1328469119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ce9c6af6fc7a04195e392f7534fe579.jpg","text":"TemporaryFile(/tmp/multipartBody2191745941105743261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701892829,"filename":"image_12012025_18_09_02_549192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d018a6975b299bf42b43df5822e5a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody7312326236163722779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701892829,"filename":"image_12012025_18_10_02_735659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca56a115b14117d858f3f00689e96241.jpg","text":"TemporaryFile(/tmp/multipartBody8069362523293414165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701892829,"filename":"image_12012025_18_10_02_735659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bbfeb8debbceaa7b3252ed4d4e5479e.jpg","text":"TemporaryFile(/tmp/multipartBody299617971596129904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701892829,"filename":"image_12012025_18_10_02_735659_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469117","file1":"1328469116","file0":"1328469114","file3":"1328469119"},"map_files_photo_id_array":[{"photo_id":"1328469117","filename":"file2"},{"photo_id":"1328469116","filename":"file1"},{"photo_id":"1328469114","filename":"file0"},{"photo_id":"1328469119","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469114":["hashtag1","hashtag2"]},{"1328469117":["hashtag1","hashtag2"]},{"1328469119":["hashtag1","hashtag2"]},{"1328469116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469114, 1328469117, 1328469119, 1328469116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.87479257583618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:11:03.520949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:11:22.712934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0003.jpg', '/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0000.jpg', '/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0001.jpg', '/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_02_735659_0003.jpg
/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0000.jpg
/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0001.jpg
/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469132","1328469135","1328469134","1328469136"],"photo_ids_order":["1328469132","1328469134","1328469135","1328469136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d56468b55d1b5ac49ee05bd202a4088f.jpg","text":"TemporaryFile(/tmp/multipartBody4101205118946411990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701953048,"filename":"image_12012025_18_10_02_735659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7cf613d4983ca8e59dda98dbd4221402.jpg","text":"TemporaryFile(/tmp/multipartBody8341664382436000355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701953048,"filename":"image_12012025_18_11_02_935410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cddd014e4c26289826945798799cb40c.jpg","text":"TemporaryFile(/tmp/multipartBody8815680396270662361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701953048,"filename":"image_12012025_18_11_02_935410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa076222543c68d954a8752122edcad7.jpg","text":"TemporaryFile(/tmp/multipartBody1178451927686361825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736701953048,"filename":"image_12012025_18_11_02_935410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469135","file1":"1328469134","file0":"1328469132","file3":"1328469136"},"map_files_photo_id_array":[{"photo_id":"1328469135","filename":"file2"},{"photo_id":"1328469134","filename":"file1"},{"photo_id":"1328469132","filename":"file0"},{"photo_id":"1328469136","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469132":["hashtag1","hashtag2"]},{"1328469135":["hashtag1","hashtag2"]},{"1328469134":["hashtag1","hashtag2"]},{"1328469136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469132, 1328469135, 1328469134, 1328469136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28213334083557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:12:21.959926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0003.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0000.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0003.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0000.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_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.375883102416992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:12:31.923797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0003.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0000.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_02_935410_0003.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0000.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_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":["1328469150","1328469149","1328469148"],"photo_ids_order":["1328469148","1328469149","1328469150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44dcf4a3807bb78a04654ad0a4f605ff.jpg","text":"TemporaryFile(/tmp/multipartBody1770543436774313894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702019768,"filename":"image_12012025_18_12_03_126085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18e8784c4b156e0002d8e550471fe15d.jpg","text":"TemporaryFile(/tmp/multipartBody3023713913235917931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702019768,"filename":"image_12012025_18_12_03_126085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/808a3d92f3425b2661ad63faded0750a.jpg","text":"TemporaryFile(/tmp/multipartBody2672410042268846350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702019768,"filename":"image_12012025_18_11_02_935410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469150","file1":"1328469149","file0":"1328469148"},"map_files_photo_id_array":[{"photo_id":"1328469150","filename":"file2"},{"photo_id":"1328469149","filename":"file1"},{"photo_id":"1328469148","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469150":["hashtag1","hashtag2"]},{"1328469149":["hashtag1","hashtag2"]},{"1328469148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469150, 1328469149, 1328469148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.99297046661377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:13:22.129429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0003.jpg', '/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0000.jpg', '/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0001.jpg', '/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_03_126085_0003.jpg
/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0000.jpg
/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0001.jpg
/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469162","1328469159","1328469164","1328469163"],"photo_ids_order":["1328469159","1328469162","1328469163","1328469164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af3a2b456128b0c381c7ebf2b32b2b70.jpg","text":"TemporaryFile(/tmp/multipartBody6780629981694112090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702072361,"filename":"image_12012025_18_13_02_271897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa4271d8b46412b77d6355c6ef1d3245.jpg","text":"TemporaryFile(/tmp/multipartBody7321872788213418456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702072361,"filename":"image_12012025_18_12_03_126085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98dd01d2e19b2a7bc4d9d65758dc011e.jpg","text":"TemporaryFile(/tmp/multipartBody3196734385681960850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702072361,"filename":"image_12012025_18_13_02_271897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e3426cbf8dd02334414ff28774981ef.jpg","text":"TemporaryFile(/tmp/multipartBody860711620887157878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702072361,"filename":"image_12012025_18_13_02_271897_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469163","file1":"1328469162","file0":"1328469159","file3":"1328469164"},"map_files_photo_id_array":[{"photo_id":"1328469163","filename":"file2"},{"photo_id":"1328469162","filename":"file1"},{"photo_id":"1328469159","filename":"file0"},{"photo_id":"1328469164","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469162":["hashtag1","hashtag2"]},{"1328469159":["hashtag1","hashtag2"]},{"1328469164":["hashtag1","hashtag2"]},{"1328469163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469162, 1328469159, 1328469164, 1328469163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66720700263977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:14:22.364995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0003.jpg', '/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_02_533287_0000.jpg', '/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_02_533287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/13/image_12012025_18_13_02_271897_0003.jpg
/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_02_533287_0000.jpg
/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_02_533287_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":["1328469188","1328469182","1328469179"],"photo_ids_order":["1328469179","1328469182","1328469188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ec611738caf316af340090e37fb9591.jpg","text":"TemporaryFile(/tmp/multipartBody7156120378849514318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702130181,"filename":"image_12012025_18_14_02_533287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc1709efa7b61db5db0999056d4422d8.jpg","text":"TemporaryFile(/tmp/multipartBody8300566848182317084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702130181,"filename":"image_12012025_18_14_02_533287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0375aa2b9256dead56c5bbd52fc447e0.jpg","text":"TemporaryFile(/tmp/multipartBody8179009913795394321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702130181,"filename":"image_12012025_18_13_02_271897_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469188","file1":"1328469182","file0":"1328469179"},"map_files_photo_id_array":[{"photo_id":"1328469188","filename":"file2"},{"photo_id":"1328469182","filename":"file1"},{"photo_id":"1328469179","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469188":["hashtag1","hashtag2"]},{"1328469182":["hashtag1","hashtag2"]},{"1328469179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469188, 1328469182, 1328469179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.337355852127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:15:03.195198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:15:22.550069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_02_533287_0003.jpg', '/home/pi/Desktop/images/12012025/18/15/image_12012025_18_15_02_736024_0000.jpg', '/home/pi/Desktop/images/12012025/18/15/image_12012025_18_15_02_736024_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_02_533287_0003.jpg
/home/pi/Desktop/images/12012025/18/15/image_12012025_18_15_02_736024_0000.jpg
/home/pi/Desktop/images/12012025/18/15/image_12012025_18_15_02_736024_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":["1328469237","1328469234","1328469301"],"photo_ids_order":["1328469234","1328469237","1328469301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ff980af27efcd597b381e503826114c.jpg","text":"TemporaryFile(/tmp/multipartBody7434256705363876737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702190371,"filename":"image_12012025_18_15_02_736024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7f0f6a1cccddeb248a09fb55cf0bc20.jpg","text":"TemporaryFile(/tmp/multipartBody4419205993644168829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702190371,"filename":"image_12012025_18_14_02_533287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45ec284a0315a8c5582f9f4527c932cd.jpg","text":"TemporaryFile(/tmp/multipartBody6078930118787298454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702190371,"filename":"image_12012025_18_15_02_736024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469301","file1":"1328469237","file0":"1328469234"},"map_files_photo_id_array":[{"photo_id":"1328469301","filename":"file2"},{"photo_id":"1328469237","filename":"file1"},{"photo_id":"1328469234","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469237":["hashtag1","hashtag2"]},{"1328469234":["hashtag1","hashtag2"]},{"1328469301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469237, 1328469234, 1328469301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.12759566307068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:16:03.185531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:16:22.775025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/15/image_12012025_18_15_02_736024_0003.jpg', '/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0000.jpg', '/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0001.jpg', '/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/15/image_12012025_18_15_02_736024_0003.jpg
/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0000.jpg
/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0001.jpg
/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469393","1328469388","1328469385","1328469390"],"photo_ids_order":["1328469385","1328469388","1328469390","1328469393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3788cfe2d552fd6cbc053088ce400fb6.jpg","text":"TemporaryFile(/tmp/multipartBody9185095536376375241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702252966,"filename":"image_12012025_18_16_02_897720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9943e1cd7519481d440f4d879132912b.jpg","text":"TemporaryFile(/tmp/multipartBody4002693941055163908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702252966,"filename":"image_12012025_18_16_02_897720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd25b878c1b735a5c257356b53377742.jpg","text":"TemporaryFile(/tmp/multipartBody2484474492503334254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702252966,"filename":"image_12012025_18_15_02_736024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1207565b42f272f07d9e21146610e122.jpg","text":"TemporaryFile(/tmp/multipartBody6231108466623317639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702252966,"filename":"image_12012025_18_16_02_897720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469390","file1":"1328469388","file0":"1328469385","file3":"1328469393"},"map_files_photo_id_array":[{"photo_id":"1328469390","filename":"file2"},{"photo_id":"1328469388","filename":"file1"},{"photo_id":"1328469385","filename":"file0"},{"photo_id":"1328469393","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469393":["hashtag1","hashtag2"]},{"1328469388":["hashtag1","hashtag2"]},{"1328469385":["hashtag1","hashtag2"]},{"1328469390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469393, 1328469388, 1328469385, 1328469390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93382668495178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:17:21.934202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0003.jpg', '/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0000.jpg', '/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0001.jpg', '/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/16/image_12012025_18_16_02_897720_0003.jpg
/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0000.jpg
/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0001.jpg
/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469411","1328469414","1328469413","1328469409"],"photo_ids_order":["1328469409","1328469411","1328469413","1328469414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0941948e59464cae0a205baece7c90ce.jpg","text":"TemporaryFile(/tmp/multipartBody9047561060968735847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702312253,"filename":"image_12012025_18_17_03_130476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3e3983e50cf447174ef4ab6038f46ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8998518426365674847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702312253,"filename":"image_12012025_18_17_03_130476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/134c43ae1851e3fb8e6de93a5627bca3.jpg","text":"TemporaryFile(/tmp/multipartBody8112518804393169169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702312253,"filename":"image_12012025_18_17_03_130476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d2ee19b16488a1917caacd5e9540dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8571937039989279141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702312253,"filename":"image_12012025_18_16_02_897720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469413","file1":"1328469411","file0":"1328469409","file3":"1328469414"},"map_files_photo_id_array":[{"photo_id":"1328469413","filename":"file2"},{"photo_id":"1328469411","filename":"file1"},{"photo_id":"1328469409","filename":"file0"},{"photo_id":"1328469414","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469411":["hashtag1","hashtag2"]},{"1328469414":["hashtag1","hashtag2"]},{"1328469413":["hashtag1","hashtag2"]},{"1328469409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469411, 1328469414, 1328469413, 1328469409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.51001787185669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:18:22.076691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0003.jpg', '/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0000.jpg', '/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0001.jpg', '/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0003.jpg
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0000.jpg
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0001.jpg
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_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.793315649032593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:18:42.147632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0003.jpg', '/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0000.jpg', '/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0001.jpg', '/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/17/image_12012025_18_17_03_130476_0003.jpg
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0000.jpg
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0001.jpg
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_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":["1328469453","1328469455","1328469457","1328469454"],"photo_ids_order":["1328469453","1328469454","1328469455","1328469457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bb8bbe872923f41ba94f1a77e9f3e0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8901383365039285934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702392347,"filename":"image_12012025_18_17_03_130476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aef12cf0b65f4b6d103a83344990b472.jpg","text":"TemporaryFile(/tmp/multipartBody6094987591007041569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702392347,"filename":"image_12012025_18_18_02_284593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bab029b1916dcca0e5ea0465c464105.jpg","text":"TemporaryFile(/tmp/multipartBody7876966820051917887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702392347,"filename":"image_12012025_18_18_02_284593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3dab37d4448ab3e7f7cc3730efb045ff.jpg","text":"TemporaryFile(/tmp/multipartBody7868139296652921604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702392347,"filename":"image_12012025_18_18_02_284593_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469455","file1":"1328469454","file0":"1328469453","file3":"1328469457"},"map_files_photo_id_array":[{"photo_id":"1328469455","filename":"file2"},{"photo_id":"1328469454","filename":"file1"},{"photo_id":"1328469453","filename":"file0"},{"photo_id":"1328469457","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469453":["hashtag1","hashtag2"]},{"1328469455":["hashtag1","hashtag2"]},{"1328469457":["hashtag1","hashtag2"]},{"1328469454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469453, 1328469455, 1328469457, 1328469454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.535502672195435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:19:22.371004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0003.jpg', '/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0000.jpg', '/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0001.jpg', '/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/18/image_12012025_18_18_02_284593_0003.jpg
/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0000.jpg
/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0001.jpg
/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469471","1328469468","1328469465","1328469478"],"photo_ids_order":["1328469465","1328469468","1328469471","1328469478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5de0fdcb3ebcc212327e542d0af1f75.jpg","text":"TemporaryFile(/tmp/multipartBody7343308892564382863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702432645,"filename":"image_12012025_18_19_02_459725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2b60e8c7f4814a3f01005e019260ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4572365391553746790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702432645,"filename":"image_12012025_18_19_02_459725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/283aaad61fb5c52683a8d0bd95ac8ffe.jpg","text":"TemporaryFile(/tmp/multipartBody7939168231909655476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702432645,"filename":"image_12012025_18_18_02_284593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8d557e283e8e1d3fc6029f9fa7efca8.jpg","text":"TemporaryFile(/tmp/multipartBody8603195659717797980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702432645,"filename":"image_12012025_18_19_02_459725_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469471","file1":"1328469468","file0":"1328469465","file3":"1328469478"},"map_files_photo_id_array":[{"photo_id":"1328469471","filename":"file2"},{"photo_id":"1328469468","filename":"file1"},{"photo_id":"1328469465","filename":"file0"},{"photo_id":"1328469478","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469471":["hashtag1","hashtag2"]},{"1328469468":["hashtag1","hashtag2"]},{"1328469465":["hashtag1","hashtag2"]},{"1328469478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469471, 1328469468, 1328469465, 1328469478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7593674659729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:20:22.440356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0003.jpg', '/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0000.jpg', '/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0001.jpg', '/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/19/image_12012025_18_19_02_459725_0003.jpg
/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0000.jpg
/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0001.jpg
/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469509","1328469589","1328469505","1328469508"],"photo_ids_order":["1328469505","1328469508","1328469509","1328469589"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6dab7f3fbc5b9f6646e1a008c4a6bc01.jpg","text":"TemporaryFile(/tmp/multipartBody4980830290461420193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702492767,"filename":"image_12012025_18_20_02_588496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36adce98ea06b1a31a480f9c0c206e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5294568389236006498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702492767,"filename":"image_12012025_18_20_02_588496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8f969d5413e2f304ba04dfcf3612ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5453489113555802522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702492767,"filename":"image_12012025_18_19_02_459725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2105f0d38f089846e24bf14e8651a42.jpg","text":"TemporaryFile(/tmp/multipartBody3271990664137185926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702492767,"filename":"image_12012025_18_20_02_588496_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469509","file1":"1328469508","file0":"1328469505","file3":"1328469589"},"map_files_photo_id_array":[{"photo_id":"1328469509","filename":"file2"},{"photo_id":"1328469508","filename":"file1"},{"photo_id":"1328469505","filename":"file0"},{"photo_id":"1328469589","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469509":["hashtag1","hashtag2"]},{"1328469589":["hashtag1","hashtag2"]},{"1328469505":["hashtag1","hashtag2"]},{"1328469508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469509, 1328469589, 1328469505, 1328469508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.68770980834961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:21:03.149722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:21:22.617503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0003.jpg', '/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0000.jpg', '/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0001.jpg', '/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/20/image_12012025_18_20_02_588496_0003.jpg
/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0000.jpg
/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0001.jpg
/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469633","1328469642","1328469647","1328469634"],"photo_ids_order":["1328469633","1328469634","1328469642","1328469647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f63eb15838efaffef8dc0d9f6f39d2b6.jpg","text":"TemporaryFile(/tmp/multipartBody366171484167750179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702552821,"filename":"image_12012025_18_20_02_588496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fec3d4e4af5b28a798818cea75c4f0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1224893894798171908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702552821,"filename":"image_12012025_18_21_02_825289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ebd92eec921551a88a9fac82d4be4d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7293597741941510776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702552821,"filename":"image_12012025_18_21_02_825289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abb50f160bb36d989ce87decd88a03fb.jpg","text":"TemporaryFile(/tmp/multipartBody3160328539537065581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702552821,"filename":"image_12012025_18_21_02_825289_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469642","file1":"1328469634","file0":"1328469633","file3":"1328469647"},"map_files_photo_id_array":[{"photo_id":"1328469642","filename":"file2"},{"photo_id":"1328469634","filename":"file1"},{"photo_id":"1328469633","filename":"file0"},{"photo_id":"1328469647","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469633":["hashtag1","hashtag2"]},{"1328469642":["hashtag1","hashtag2"]},{"1328469647":["hashtag1","hashtag2"]},{"1328469634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469633, 1328469642, 1328469647, 1328469634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23297357559204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:22:21.848047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0003.jpg', '/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0000.jpg', '/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0001.jpg', '/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/21/image_12012025_18_21_02_825289_0003.jpg
/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0000.jpg
/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0001.jpg
/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469678","1328469681","1328469675","1328469679"],"photo_ids_order":["1328469675","1328469678","1328469679","1328469681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e322f1e8a4c928fb46ab29859426e66c.jpg","text":"TemporaryFile(/tmp/multipartBody6364007415872305795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702612144,"filename":"image_12012025_18_22_03_028452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4bc50fa4bdfa19a4607d384be849d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4465392241734814278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702612144,"filename":"image_12012025_18_22_03_028452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d87eab68809271c1ca478394b2559809.jpg","text":"TemporaryFile(/tmp/multipartBody6946433334728646509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702612144,"filename":"image_12012025_18_21_02_825289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85c5f8c2e82b61854e2aac9b5ce55c48.jpg","text":"TemporaryFile(/tmp/multipartBody4932720799314685785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702612144,"filename":"image_12012025_18_22_03_028452_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469679","file1":"1328469678","file0":"1328469675","file3":"1328469681"},"map_files_photo_id_array":[{"photo_id":"1328469679","filename":"file2"},{"photo_id":"1328469678","filename":"file1"},{"photo_id":"1328469675","filename":"file0"},{"photo_id":"1328469681","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469678":["hashtag1","hashtag2"]},{"1328469681":["hashtag1","hashtag2"]},{"1328469675":["hashtag1","hashtag2"]},{"1328469679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469678, 1328469681, 1328469675, 1328469679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.9066116809845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:23:02.567775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:23:21.968213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0003.jpg', '/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0000.jpg', '/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0001.jpg', '/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_03_028452_0003.jpg
/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0000.jpg
/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0001.jpg
/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469699","1328469701","1328469694","1328469697"],"photo_ids_order":["1328469694","1328469697","1328469699","1328469701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0958f0880c7f21c0d7c85344ae028fc.jpg","text":"TemporaryFile(/tmp/multipartBody1181056661324108044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702672339,"filename":"image_12012025_18_23_02_162469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8981e9a64005c777bb815102b8b8e06.jpg","text":"TemporaryFile(/tmp/multipartBody2331420850105681510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702672339,"filename":"image_12012025_18_23_02_162469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f49aaa251704e9645cf45a7e07737cd6.jpg","text":"TemporaryFile(/tmp/multipartBody680312041763819036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702672339,"filename":"image_12012025_18_22_03_028452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bf2eab6af8470d8244e61caaed51f40.jpg","text":"TemporaryFile(/tmp/multipartBody7924244285456486276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702672339,"filename":"image_12012025_18_23_02_162469_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469699","file1":"1328469697","file0":"1328469694","file3":"1328469701"},"map_files_photo_id_array":[{"photo_id":"1328469699","filename":"file2"},{"photo_id":"1328469697","filename":"file1"},{"photo_id":"1328469694","filename":"file0"},{"photo_id":"1328469701","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469699":["hashtag1","hashtag2"]},{"1328469701":["hashtag1","hashtag2"]},{"1328469694":["hashtag1","hashtag2"]},{"1328469697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469699, 1328469701, 1328469694, 1328469697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62677478790283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:24:02.452422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:24:22.082224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0003.jpg', '/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0000.jpg', '/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0001.jpg', '/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0003.jpg
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0000.jpg
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0001.jpg
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_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.856621265411377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:24:42.114449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0003.jpg', '/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0000.jpg', '/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0001.jpg', '/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/23/image_12012025_18_23_02_162469_0003.jpg
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0000.jpg
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0001.jpg
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_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":["1328469747","1328469746","1328469749","1328469745"],"photo_ids_order":["1328469745","1328469746","1328469747","1328469749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f723aa9b73e88841872ec503ff755720.jpg","text":"TemporaryFile(/tmp/multipartBody3332722161075858485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702752394,"filename":"image_12012025_18_24_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/12/b95d69b04e32a3832088c05a27615993.jpg","text":"TemporaryFile(/tmp/multipartBody5528947876019529003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702752394,"filename":"image_12012025_18_24_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/12/dad344782d7cf162bb2c5d723462dbd0.jpg","text":"TemporaryFile(/tmp/multipartBody340019804024701809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702752394,"filename":"image_12012025_18_24_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/12/c9aab89d9be416c40f64b263fef05c1f.jpg","text":"TemporaryFile(/tmp/multipartBody754834335427032203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702752394,"filename":"image_12012025_18_23_02_162469_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469747","file1":"1328469746","file0":"1328469745","file3":"1328469749"},"map_files_photo_id_array":[{"photo_id":"1328469747","filename":"file2"},{"photo_id":"1328469746","filename":"file1"},{"photo_id":"1328469745","filename":"file0"},{"photo_id":"1328469749","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469747":["hashtag1","hashtag2"]},{"1328469746":["hashtag1","hashtag2"]},{"1328469749":["hashtag1","hashtag2"]},{"1328469745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469747, 1328469746, 1328469749, 1328469745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.252845764160156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:25:22.301032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0003.jpg', '/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0000.jpg', '/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0001.jpg', '/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/24/image_12012025_18_24_02_309709_0003.jpg
/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0000.jpg
/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0001.jpg
/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469762","1328469761","1328469763","1328469757"],"photo_ids_order":["1328469757","1328469761","1328469762","1328469763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cee31df4012cbccb46d2b9bd8d15f443.jpg","text":"TemporaryFile(/tmp/multipartBody25858310467148802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702792639,"filename":"image_12012025_18_25_02_610216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcfca7c02984bc38044ac2927c302929.jpg","text":"TemporaryFile(/tmp/multipartBody7059700217051059268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702792639,"filename":"image_12012025_18_25_02_610216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ca16d417d194207b61f6cddf4e71803.jpg","text":"TemporaryFile(/tmp/multipartBody5613738166456674245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702792639,"filename":"image_12012025_18_25_02_610216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a40882823109169c2dc4dbb870579d6.jpg","text":"TemporaryFile(/tmp/multipartBody4579438592687212538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702792639,"filename":"image_12012025_18_24_02_309709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469762","file1":"1328469761","file0":"1328469757","file3":"1328469763"},"map_files_photo_id_array":[{"photo_id":"1328469762","filename":"file2"},{"photo_id":"1328469761","filename":"file1"},{"photo_id":"1328469757","filename":"file0"},{"photo_id":"1328469763","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469762":["hashtag1","hashtag2"]},{"1328469761":["hashtag1","hashtag2"]},{"1328469763":["hashtag1","hashtag2"]},{"1328469757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469762, 1328469761, 1328469763, 1328469757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.89889478683472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:26:22.512401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0003.jpg', '/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0000.jpg', '/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0001.jpg', '/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/25/image_12012025_18_25_02_610216_0003.jpg
/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0000.jpg
/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0001.jpg
/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469771","1328469774","1328469778","1328469780"],"photo_ids_order":["1328469771","1328469774","1328469778","1328469780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f278947124037fada99fa3f5bc850801.jpg","text":"TemporaryFile(/tmp/multipartBody2618354258236692131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702852840,"filename":"image_12012025_18_25_02_610216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f2d8bab13838397cc044f69eacca22f.jpg","text":"TemporaryFile(/tmp/multipartBody2892336077314450596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702852840,"filename":"image_12012025_18_26_02_737240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf45353483a21b23ad8d6bb90f85cc81.jpg","text":"TemporaryFile(/tmp/multipartBody6639201655193167223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702852840,"filename":"image_12012025_18_26_02_737240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2e49a779c4094b71073271cbda35f97.jpg","text":"TemporaryFile(/tmp/multipartBody6119530205293838394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702852840,"filename":"image_12012025_18_26_02_737240_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469778","file1":"1328469774","file0":"1328469771","file3":"1328469780"},"map_files_photo_id_array":[{"photo_id":"1328469778","filename":"file2"},{"photo_id":"1328469774","filename":"file1"},{"photo_id":"1328469771","filename":"file0"},{"photo_id":"1328469780","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469771":["hashtag1","hashtag2"]},{"1328469774":["hashtag1","hashtag2"]},{"1328469778":["hashtag1","hashtag2"]},{"1328469780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469771, 1328469774, 1328469778, 1328469780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48330521583557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:27:03.296148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:27:22.721127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0003.jpg', '/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0000.jpg', '/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0001.jpg', '/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/26/image_12012025_18_26_02_737240_0003.jpg
/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0000.jpg
/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0001.jpg
/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469798","1328469788","1328469796","1328469790"],"photo_ids_order":["1328469788","1328469790","1328469796","1328469798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c23a0b6f2244d02e1017010a22047cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8979520947401516806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702913014,"filename":"image_12012025_18_27_02_842962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3925205dbd1ccef12f12354d89ab485.jpg","text":"TemporaryFile(/tmp/multipartBody2584849132366790046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702913014,"filename":"image_12012025_18_26_02_737240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32535cefc119be61f97ba750c495dadc.jpg","text":"TemporaryFile(/tmp/multipartBody5363351420037922881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702913014,"filename":"image_12012025_18_27_02_842962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d632a8870e32ecf0d1af07f5a5d74b7.jpg","text":"TemporaryFile(/tmp/multipartBody5592075127238742379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702913014,"filename":"image_12012025_18_27_02_842962_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469796","file1":"1328469790","file0":"1328469788","file3":"1328469798"},"map_files_photo_id_array":[{"photo_id":"1328469796","filename":"file2"},{"photo_id":"1328469790","filename":"file1"},{"photo_id":"1328469788","filename":"file0"},{"photo_id":"1328469798","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469798":["hashtag1","hashtag2"]},{"1328469788":["hashtag1","hashtag2"]},{"1328469796":["hashtag1","hashtag2"]},{"1328469790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469798, 1328469788, 1328469796, 1328469790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.813202142715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:28:21.870010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0003.jpg', '/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0000.jpg', '/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0001.jpg', '/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0003.jpg
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0000.jpg
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0001.jpg
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_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.96647334098816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:28:41.863616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0003.jpg', '/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0000.jpg', '/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0001.jpg', '/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/27/image_12012025_18_27_02_842962_0003.jpg
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0000.jpg
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0001.jpg
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_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":["1328469867","1328469836","1328469851","1328469838"],"photo_ids_order":["1328469836","1328469838","1328469851","1328469867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bff48519e4356a6a5cb172134c0faef.jpg","text":"TemporaryFile(/tmp/multipartBody7364483056963631234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702992249,"filename":"image_12012025_18_28_03_005562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/887bc4086063ac9c22de44ebdc9b447a.jpg","text":"TemporaryFile(/tmp/multipartBody8515867378895261280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702992249,"filename":"image_12012025_18_27_02_842962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17aae97ab49d99c0ce7b74588a22cff2.jpg","text":"TemporaryFile(/tmp/multipartBody8300009076654178753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702992249,"filename":"image_12012025_18_28_03_005562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00d4962e2469cb564683dbe4eb8ee2ca.jpg","text":"TemporaryFile(/tmp/multipartBody5957263028351213822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736702992249,"filename":"image_12012025_18_28_03_005562_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469851","file1":"1328469838","file0":"1328469836","file3":"1328469867"},"map_files_photo_id_array":[{"photo_id":"1328469851","filename":"file2"},{"photo_id":"1328469838","filename":"file1"},{"photo_id":"1328469836","filename":"file0"},{"photo_id":"1328469867","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469867":["hashtag1","hashtag2"]},{"1328469836":["hashtag1","hashtag2"]},{"1328469851":["hashtag1","hashtag2"]},{"1328469838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469867, 1328469836, 1328469851, 1328469838)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.682596921920776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:29:31.987123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0003.jpg', '/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0000.jpg', '/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0001.jpg', '/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/28/image_12012025_18_28_03_005562_0003.jpg
/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0000.jpg
/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0001.jpg
/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469972","1328469968","1328469941","1328469965"],"photo_ids_order":["1328469941","1328469965","1328469968","1328469972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95cae03403b94b7288698e1b191890e9.jpg","text":"TemporaryFile(/tmp/multipartBody7705413820979777562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703042295,"filename":"image_12012025_18_29_02_197316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8dab40e9d9aa3a148eefa27de5e54883.jpg","text":"TemporaryFile(/tmp/multipartBody5106065989804759474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703042295,"filename":"image_12012025_18_29_02_197316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0cfa6619f0f2db1488dc5ebf393a7cad.jpg","text":"TemporaryFile(/tmp/multipartBody3778868160317810345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703042295,"filename":"image_12012025_18_28_03_005562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9508f413508fbe3fcd27a5b85f9cf6a4.jpg","text":"TemporaryFile(/tmp/multipartBody1817018454875135734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703042295,"filename":"image_12012025_18_29_02_197316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469968","file1":"1328469965","file0":"1328469941","file3":"1328469972"},"map_files_photo_id_array":[{"photo_id":"1328469968","filename":"file2"},{"photo_id":"1328469965","filename":"file1"},{"photo_id":"1328469941","filename":"file0"},{"photo_id":"1328469972","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469972":["hashtag1","hashtag2"]},{"1328469968":["hashtag1","hashtag2"]},{"1328469941":["hashtag1","hashtag2"]},{"1328469965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469972, 1328469968, 1328469941, 1328469965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.459344148635864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:30:22.218718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0003.jpg', '/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0000.jpg', '/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0001.jpg', '/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/29/image_12012025_18_29_02_197316_0003.jpg
/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0000.jpg
/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0001.jpg
/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328469981","1328469990","1328469985","1328469988"],"photo_ids_order":["1328469981","1328469985","1328469988","1328469990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/311fe37f29cf231325d85a1f6bbde53a.jpg","text":"TemporaryFile(/tmp/multipartBody6056311844336902847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703092409,"filename":"image_12012025_18_29_02_197316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6506bb7284e2cdb52b3aca6eb0e6805b.jpg","text":"TemporaryFile(/tmp/multipartBody2097104866909075661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703092409,"filename":"image_12012025_18_30_02_534840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da528d717e52556c3b1012a487451229.jpg","text":"TemporaryFile(/tmp/multipartBody293864911920347712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703092409,"filename":"image_12012025_18_30_02_534840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0557b5e7714dad439c1e2b2d3f200166.jpg","text":"TemporaryFile(/tmp/multipartBody776980885368617532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703092409,"filename":"image_12012025_18_30_02_534840_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328469988","file1":"1328469985","file0":"1328469981","file3":"1328469990"},"map_files_photo_id_array":[{"photo_id":"1328469988","filename":"file2"},{"photo_id":"1328469985","filename":"file1"},{"photo_id":"1328469981","filename":"file0"},{"photo_id":"1328469990","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328469981":["hashtag1","hashtag2"]},{"1328469990":["hashtag1","hashtag2"]},{"1328469985":["hashtag1","hashtag2"]},{"1328469988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328469981, 1328469990, 1328469985, 1328469988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.174203634262085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:31:02.863003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:31:22.273662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0003.jpg', '/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0000.jpg', '/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0001.jpg', '/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/30/image_12012025_18_30_02_534840_0003.jpg
/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0000.jpg
/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0001.jpg
/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470033","1328470038","1328470041","1328470035"],"photo_ids_order":["1328470033","1328470035","1328470038","1328470041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a658e200e482074510aa8bec870d178.jpg","text":"TemporaryFile(/tmp/multipartBody4290596471340162990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703152520,"filename":"image_12012025_18_30_02_534840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49dcb179184b2b9cb8f361e5210263ee.jpg","text":"TemporaryFile(/tmp/multipartBody6382999275944340191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703152520,"filename":"image_12012025_18_31_02_586840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/019f1619e81309cbb3cc92dcf78cfb25.jpg","text":"TemporaryFile(/tmp/multipartBody8571180038723733073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703152520,"filename":"image_12012025_18_31_02_586840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d539e667b49eb57ea0b69f55064f201a.jpg","text":"TemporaryFile(/tmp/multipartBody1559594427477464780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703152520,"filename":"image_12012025_18_31_02_586840_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470038","file1":"1328470035","file0":"1328470033","file3":"1328470041"},"map_files_photo_id_array":[{"photo_id":"1328470038","filename":"file2"},{"photo_id":"1328470035","filename":"file1"},{"photo_id":"1328470033","filename":"file0"},{"photo_id":"1328470041","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470033":["hashtag1","hashtag2"]},{"1328470038":["hashtag1","hashtag2"]},{"1328470041":["hashtag1","hashtag2"]},{"1328470035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470033, 1328470038, 1328470041, 1328470035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08003807067871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:32:22.532451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0003.jpg', '/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0000.jpg', '/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0001.jpg', '/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/31/image_12012025_18_31_02_586840_0003.jpg
/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0000.jpg
/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0001.jpg
/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470054","1328470050","1328470049","1328470052"],"photo_ids_order":["1328470049","1328470050","1328470052","1328470054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9d9942b993d6dd004cfe556ea9069af.jpg","text":"TemporaryFile(/tmp/multipartBody7017836337504295951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703212873,"filename":"image_12012025_18_32_02_721700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56d88f18caf4cb2cfce37d953c117efd.jpg","text":"TemporaryFile(/tmp/multipartBody2917411929668365077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703212873,"filename":"image_12012025_18_32_02_721700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a83c5d524d695b21d6569fe237ee827b.jpg","text":"TemporaryFile(/tmp/multipartBody1401731912521579935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703212873,"filename":"image_12012025_18_31_02_586840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a1eae78be1f5a2f57e730abb95e8ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7518538947427428562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703212873,"filename":"image_12012025_18_32_02_721700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470052","file1":"1328470050","file0":"1328470049","file3":"1328470054"},"map_files_photo_id_array":[{"photo_id":"1328470052","filename":"file2"},{"photo_id":"1328470050","filename":"file1"},{"photo_id":"1328470049","filename":"file0"},{"photo_id":"1328470054","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470054":["hashtag1","hashtag2"]},{"1328470050":["hashtag1","hashtag2"]},{"1328470049":["hashtag1","hashtag2"]},{"1328470052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470054, 1328470050, 1328470049, 1328470052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.188369035720825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:33:22.694021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0003.jpg', '/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0000.jpg', '/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0001.jpg', '/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/32/image_12012025_18_32_02_721700_0003.jpg
/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0000.jpg
/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0001.jpg
/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470074","1328470065","1328470101","1328470094"],"photo_ids_order":["1328470065","1328470074","1328470094","1328470101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a768703507abd1226bc391ea89e288fd.jpg","text":"TemporaryFile(/tmp/multipartBody5699378549476420110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703273107,"filename":"image_12012025_18_33_02_857339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c12eee5dd0a275e368adb099d7333e3.jpg","text":"TemporaryFile(/tmp/multipartBody3001533443009856232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703273107,"filename":"image_12012025_18_32_02_721700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16be84d512ff1b7e8b86897bcc49fda8.jpg","text":"TemporaryFile(/tmp/multipartBody6664935098607061799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703273107,"filename":"image_12012025_18_33_02_857339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5824c57ef3d319a74a0ce3370551d692.jpg","text":"TemporaryFile(/tmp/multipartBody2879545223601771082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703273107,"filename":"image_12012025_18_33_02_857339_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470094","file1":"1328470074","file0":"1328470065","file3":"1328470101"},"map_files_photo_id_array":[{"photo_id":"1328470094","filename":"file2"},{"photo_id":"1328470074","filename":"file1"},{"photo_id":"1328470065","filename":"file0"},{"photo_id":"1328470101","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470074":["hashtag1","hashtag2"]},{"1328470065":["hashtag1","hashtag2"]},{"1328470101":["hashtag1","hashtag2"]},{"1328470094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470074, 1328470065, 1328470101, 1328470094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5212082862854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:34:21.910955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0003.jpg', '/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0000.jpg', '/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0001.jpg', '/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0003.jpg
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0000.jpg
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0001.jpg
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_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.965152025222778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:34:41.910176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0003.jpg', '/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0000.jpg', '/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0001.jpg', '/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/33/image_12012025_18_33_02_857339_0003.jpg
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0000.jpg
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0001.jpg
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_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":["1328470120","1328470117","1328470116","1328470118"],"photo_ids_order":["1328470116","1328470117","1328470118","1328470120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b34585f22e18e96537aaee652e1fd5f0.jpg","text":"TemporaryFile(/tmp/multipartBody2764666150229197399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703352285,"filename":"image_12012025_18_34_03_078355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2453fa6b621b4594a942eaeee6497eb.jpg","text":"TemporaryFile(/tmp/multipartBody5644484861464927017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703352285,"filename":"image_12012025_18_34_03_078355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b965f54b94e6f211178e6b5ff3bba156.jpg","text":"TemporaryFile(/tmp/multipartBody2928758214447163983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703352285,"filename":"image_12012025_18_33_02_857339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9487dd39ed0fdeb6161ca13dd1f5b118.jpg","text":"TemporaryFile(/tmp/multipartBody3548538729815050385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703352285,"filename":"image_12012025_18_34_03_078355_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470118","file1":"1328470117","file0":"1328470116","file3":"1328470120"},"map_files_photo_id_array":[{"photo_id":"1328470118","filename":"file2"},{"photo_id":"1328470117","filename":"file1"},{"photo_id":"1328470116","filename":"file0"},{"photo_id":"1328470120","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470120":["hashtag1","hashtag2"]},{"1328470117":["hashtag1","hashtag2"]},{"1328470116":["hashtag1","hashtag2"]},{"1328470118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470120, 1328470117, 1328470116, 1328470118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70728921890259 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-12 18:35:32.125626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0003.jpg', '/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0000.jpg', '/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0001.jpg', '/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/34/image_12012025_18_34_03_078355_0003.jpg
/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0000.jpg
/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0001.jpg
/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470132","1328470135","1328470134","1328470136"],"photo_ids_order":["1328470132","1328470134","1328470135","1328470136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/655baa0202e480717bb39c2c3d320c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6742217931171452920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703402327,"filename":"image_12012025_18_34_03_078355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8748d7d06848e4fb03cca2eb46920a8c.jpg","text":"TemporaryFile(/tmp/multipartBody1223763138149106260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703402327,"filename":"image_12012025_18_35_02_253199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f8a7673453efd931643fdba0301d5fc.jpg","text":"TemporaryFile(/tmp/multipartBody12395268113538918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703402327,"filename":"image_12012025_18_35_02_253199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0550a2e511577047065e01ca2c3d2482.jpg","text":"TemporaryFile(/tmp/multipartBody2076070263233320046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703402327,"filename":"image_12012025_18_35_02_253199_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470135","file1":"1328470134","file0":"1328470132","file3":"1328470136"},"map_files_photo_id_array":[{"photo_id":"1328470135","filename":"file2"},{"photo_id":"1328470134","filename":"file1"},{"photo_id":"1328470132","filename":"file0"},{"photo_id":"1328470136","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470132":["hashtag1","hashtag2"]},{"1328470135":["hashtag1","hashtag2"]},{"1328470134":["hashtag1","hashtag2"]},{"1328470136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470132, 1328470135, 1328470134, 1328470136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.98644208908081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:36:22.419126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0003.jpg', '/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0000.jpg', '/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0001.jpg', '/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/35/image_12012025_18_35_02_253199_0003.jpg
/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0000.jpg
/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0001.jpg
/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470149","1328470148","1328470145","1328470150"],"photo_ids_order":["1328470145","1328470148","1328470149","1328470150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad85a8862c4668f4afa859a840adbd76.jpg","text":"TemporaryFile(/tmp/multipartBody7590731213176145299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703452636,"filename":"image_12012025_18_36_02_504577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71796f2495456013c11423dc9ebf9d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1634387912897563285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703452636,"filename":"image_12012025_18_36_02_504577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8c526bb33a94e8686730ee308e63103.jpg","text":"TemporaryFile(/tmp/multipartBody5252116195049240863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703452636,"filename":"image_12012025_18_35_02_253199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03e757785bbb11d9b5967c034afcbc7f.jpg","text":"TemporaryFile(/tmp/multipartBody1037024261592980184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703452636,"filename":"image_12012025_18_36_02_504577_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470149","file1":"1328470148","file0":"1328470145","file3":"1328470150"},"map_files_photo_id_array":[{"photo_id":"1328470149","filename":"file2"},{"photo_id":"1328470148","filename":"file1"},{"photo_id":"1328470145","filename":"file0"},{"photo_id":"1328470150","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470149":["hashtag1","hashtag2"]},{"1328470148":["hashtag1","hashtag2"]},{"1328470145":["hashtag1","hashtag2"]},{"1328470150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470149, 1328470148, 1328470145, 1328470150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.99162316322327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:37:22.512690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0003.jpg', '/home/pi/Desktop/images/12012025/18/37/image_12012025_18_37_02_743773_0000.jpg', '/home/pi/Desktop/images/12012025/18/37/image_12012025_18_37_02_743773_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/36/image_12012025_18_36_02_504577_0003.jpg
/home/pi/Desktop/images/12012025/18/37/image_12012025_18_37_02_743773_0000.jpg
/home/pi/Desktop/images/12012025/18/37/image_12012025_18_37_02_743773_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":["1328470161","1328470158","1328470163"],"photo_ids_order":["1328470158","1328470161","1328470163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/282e77f095ece94a876a2b8b55204368.jpg","text":"TemporaryFile(/tmp/multipartBody2327002045287615060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703510386,"filename":"image_12012025_18_37_02_743773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d1504ccddd37b9ea9b27ef69164165d.jpg","text":"TemporaryFile(/tmp/multipartBody5871032253118671500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703510386,"filename":"image_12012025_18_36_02_504577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f299fc6bd761f7ed26b9616e59ae2d8.jpg","text":"TemporaryFile(/tmp/multipartBody2756386796433752646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703510386,"filename":"image_12012025_18_37_02_743773_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470163","file1":"1328470161","file0":"1328470158"},"map_files_photo_id_array":[{"photo_id":"1328470163","filename":"file2"},{"photo_id":"1328470161","filename":"file1"},{"photo_id":"1328470158","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470161":["hashtag1","hashtag2"]},{"1328470158":["hashtag1","hashtag2"]},{"1328470163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470161, 1328470158, 1328470163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.430147886276245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:38:02.988402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:38:22.637946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/37/image_12012025_18_37_02_743773_0002.jpg', '/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0000.jpg', '/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0001.jpg', '/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/37/image_12012025_18_37_02_743773_0002.jpg
/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0000.jpg
/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0001.jpg
/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470174","1328470176","1328470178","1328470180"],"photo_ids_order":["1328470174","1328470176","1328470178","1328470180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63f736df8bb29557ce1fa22e9aed59a5.jpg","text":"TemporaryFile(/tmp/multipartBody6276687541609925823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703573054,"filename":"image_12012025_18_37_02_743773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16589ced3a5efd58f382fa2b24659367.jpg","text":"TemporaryFile(/tmp/multipartBody108734300634660256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703573054,"filename":"image_12012025_18_38_02_883661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e2a7f53373c839c2905df37ba0566651.jpg","text":"TemporaryFile(/tmp/multipartBody6259222089664584727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703573054,"filename":"image_12012025_18_38_02_883661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e6b562e5c0d9787753fd6bd1eafe5e5.jpg","text":"TemporaryFile(/tmp/multipartBody5559569081146880707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703573054,"filename":"image_12012025_18_38_02_883661_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470178","file1":"1328470176","file0":"1328470174","file3":"1328470180"},"map_files_photo_id_array":[{"photo_id":"1328470178","filename":"file2"},{"photo_id":"1328470176","filename":"file1"},{"photo_id":"1328470174","filename":"file0"},{"photo_id":"1328470180","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470174":["hashtag1","hashtag2"]},{"1328470176":["hashtag1","hashtag2"]},{"1328470178":["hashtag1","hashtag2"]},{"1328470180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470174, 1328470176, 1328470178, 1328470180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8755202293396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:39:21.933602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0003.jpg', '/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0000.jpg', '/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0001.jpg', '/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/38/image_12012025_18_38_02_883661_0003.jpg
/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0000.jpg
/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0001.jpg
/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470194","1328470197","1328470198","1328470192"],"photo_ids_order":["1328470192","1328470194","1328470197","1328470198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/865660c20e844c729548e01ef866b0b8.jpg","text":"TemporaryFile(/tmp/multipartBody7882310936098038674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703632231,"filename":"image_12012025_18_39_03_072697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/60e7fdfcd7ef6c887461b12e131b3167.jpg","text":"TemporaryFile(/tmp/multipartBody75157662118975250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703632231,"filename":"image_12012025_18_39_03_072697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/551aba3c0e431b087c08729bf6bba243.jpg","text":"TemporaryFile(/tmp/multipartBody1639258918964516388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703632231,"filename":"image_12012025_18_39_03_072697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da77282f5af8b08d0b4bca298f89125e.jpg","text":"TemporaryFile(/tmp/multipartBody6127323713313803765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703632231,"filename":"image_12012025_18_38_02_883661_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470197","file1":"1328470194","file0":"1328470192","file3":"1328470198"},"map_files_photo_id_array":[{"photo_id":"1328470197","filename":"file2"},{"photo_id":"1328470194","filename":"file1"},{"photo_id":"1328470192","filename":"file0"},{"photo_id":"1328470198","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470194":["hashtag1","hashtag2"]},{"1328470197":["hashtag1","hashtag2"]},{"1328470198":["hashtag1","hashtag2"]},{"1328470192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470194, 1328470197, 1328470198, 1328470192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23094034194946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:40:22.072625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0003.jpg', '/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0000.jpg', '/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0001.jpg', '/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0003.jpg
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0000.jpg
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0001.jpg
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_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.956546068191528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:40:42.087385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0003.jpg', '/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0000.jpg', '/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0001.jpg', '/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/39/image_12012025_18_39_03_072697_0003.jpg
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0000.jpg
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0001.jpg
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_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":["1328470240","1328470239","1328470247","1328470241"],"photo_ids_order":["1328470239","1328470240","1328470241","1328470247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63dfa2e49827ddfbfcf02fb8896f98ce.jpg","text":"TemporaryFile(/tmp/multipartBody331514918872840835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703712429,"filename":"image_12012025_18_40_02_138547_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8311757958eb7d2ab400b7f187eb0b7.jpg","text":"TemporaryFile(/tmp/multipartBody8752546425547491665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703712429,"filename":"image_12012025_18_39_03_072697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f8215b70e51f9807bd05c1afb8a67e6.jpg","text":"TemporaryFile(/tmp/multipartBody8556912430372817632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703712429,"filename":"image_12012025_18_40_02_138547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bb93df100052ab90fcaac6d7c37c759.jpg","text":"TemporaryFile(/tmp/multipartBody8272323927953791448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703712429,"filename":"image_12012025_18_40_02_138547_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470241","file1":"1328470240","file0":"1328470239","file3":"1328470247"},"map_files_photo_id_array":[{"photo_id":"1328470241","filename":"file2"},{"photo_id":"1328470240","filename":"file1"},{"photo_id":"1328470239","filename":"file0"},{"photo_id":"1328470247","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470240":["hashtag1","hashtag2"]},{"1328470239":["hashtag1","hashtag2"]},{"1328470247":["hashtag1","hashtag2"]},{"1328470241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470240, 1328470239, 1328470247, 1328470241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.835952281951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:41:22.289187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0003.jpg', '/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0000.jpg', '/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0001.jpg', '/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/40/image_12012025_18_40_02_138547_0003.jpg
/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0000.jpg
/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0001.jpg
/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470255","1328470260","1328470259","1328470258"],"photo_ids_order":["1328470255","1328470258","1328470259","1328470260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4e5dc3fe65d83e60b1a339e939d6dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1928765217007989515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703752771,"filename":"image_12012025_18_40_02_138547_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ad535756f6414f3d49d2af13f4dbcad.jpg","text":"TemporaryFile(/tmp/multipartBody5209933235027995872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703752771,"filename":"image_12012025_18_41_02_514064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1783f0f0bbe057faf92eb16699e64a1.jpg","text":"TemporaryFile(/tmp/multipartBody4342718674811644379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703752771,"filename":"image_12012025_18_41_02_514064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a5f222a97a1e47653f4680b834986d8.jpg","text":"TemporaryFile(/tmp/multipartBody111440674154314628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703752771,"filename":"image_12012025_18_41_02_514064_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470259","file1":"1328470258","file0":"1328470255","file3":"1328470260"},"map_files_photo_id_array":[{"photo_id":"1328470259","filename":"file2"},{"photo_id":"1328470258","filename":"file1"},{"photo_id":"1328470255","filename":"file0"},{"photo_id":"1328470260","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470255":["hashtag1","hashtag2"]},{"1328470260":["hashtag1","hashtag2"]},{"1328470259":["hashtag1","hashtag2"]},{"1328470258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470255, 1328470260, 1328470259, 1328470258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.2241415977478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:42:22.420737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0003.jpg', '/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0000.jpg', '/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0001.jpg', '/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/41/image_12012025_18_41_02_514064_0003.jpg
/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0000.jpg
/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0001.jpg
/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470274","1328470268","1328470279","1328470270"],"photo_ids_order":["1328470268","1328470270","1328470274","1328470279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b90bb9ec6af95a4649d7e80278232451.jpg","text":"TemporaryFile(/tmp/multipartBody6539579629572194054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703812768,"filename":"image_12012025_18_42_02_640409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2be8aee0bddae0392218df75aaf6fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody2449062815824563480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703812768,"filename":"image_12012025_18_41_02_514064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c10abae06f0a28ed29819a03cc6e6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5418516283876783392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703812768,"filename":"image_12012025_18_42_02_640409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38d4f07acf1bedf11ea0315bc8102dad.jpg","text":"TemporaryFile(/tmp/multipartBody3038794551038835907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703812768,"filename":"image_12012025_18_42_02_640409_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470274","file1":"1328470270","file0":"1328470268","file3":"1328470279"},"map_files_photo_id_array":[{"photo_id":"1328470274","filename":"file2"},{"photo_id":"1328470270","filename":"file1"},{"photo_id":"1328470268","filename":"file0"},{"photo_id":"1328470279","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470274":["hashtag1","hashtag2"]},{"1328470268":["hashtag1","hashtag2"]},{"1328470279":["hashtag1","hashtag2"]},{"1328470270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470274, 1328470268, 1328470279, 1328470270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.08267545700073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:43:03.097452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:43:22.567553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0003.jpg', '/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0000.jpg', '/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0001.jpg', '/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/42/image_12012025_18_42_02_640409_0003.jpg
/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0000.jpg
/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0001.jpg
/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470324","1328470327","1328470318","1328470320"],"photo_ids_order":["1328470318","1328470320","1328470324","1328470327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/838fd6fba277185e8e8cb4aacafc05fd.jpg","text":"TemporaryFile(/tmp/multipartBody9113650615605880434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703872887,"filename":"image_12012025_18_43_02_763198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4de04fa728f17d433c0944ddffc20ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5295251470317957318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703872887,"filename":"image_12012025_18_43_02_763198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc120a1dd170e013fcf5617bbbea0f8f.jpg","text":"TemporaryFile(/tmp/multipartBody8376396566634853619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703872887,"filename":"image_12012025_18_42_02_640409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d12961e3da69ec9f2cf3519ac3abf3f.jpg","text":"TemporaryFile(/tmp/multipartBody9173669336585610000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703872887,"filename":"image_12012025_18_43_02_763198_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470324","file1":"1328470320","file0":"1328470318","file3":"1328470327"},"map_files_photo_id_array":[{"photo_id":"1328470324","filename":"file2"},{"photo_id":"1328470320","filename":"file1"},{"photo_id":"1328470318","filename":"file0"},{"photo_id":"1328470327","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470324":["hashtag1","hashtag2"]},{"1328470327":["hashtag1","hashtag2"]},{"1328470318":["hashtag1","hashtag2"]},{"1328470320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470324, 1328470327, 1328470318, 1328470320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0963339805603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:44:22.837923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0003.jpg', '/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0000.jpg', '/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0001.jpg', '/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/43/image_12012025_18_43_02_763198_0003.jpg
/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0000.jpg
/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0001.jpg
/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470345","1328470348","1328470356","1328470352"],"photo_ids_order":["1328470345","1328470348","1328470352","1328470356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/012f10f5b6f1a0771f53fdd18d62c129.jpg","text":"TemporaryFile(/tmp/multipartBody5719546572745981677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703933104,"filename":"image_12012025_18_43_02_763198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd4ae1b4598371179f783d651c235398.jpg","text":"TemporaryFile(/tmp/multipartBody7629224413382931110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703933104,"filename":"image_12012025_18_44_02_907828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28b2b5ad17be331d38aadd176f7aaba4.jpg","text":"TemporaryFile(/tmp/multipartBody325109712827599324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703933104,"filename":"image_12012025_18_44_02_907828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d2419450fb423cf571fd96f734fb671.jpg","text":"TemporaryFile(/tmp/multipartBody588751398028349946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703933104,"filename":"image_12012025_18_44_02_907828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470352","file1":"1328470348","file0":"1328470345","file3":"1328470356"},"map_files_photo_id_array":[{"photo_id":"1328470352","filename":"file2"},{"photo_id":"1328470348","filename":"file1"},{"photo_id":"1328470345","filename":"file0"},{"photo_id":"1328470356","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470345":["hashtag1","hashtag2"]},{"1328470348":["hashtag1","hashtag2"]},{"1328470356":["hashtag1","hashtag2"]},{"1328470352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470345, 1328470348, 1328470356, 1328470352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12025499343872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:45:21.994253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0003.jpg', '/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0000.jpg', '/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0001.jpg', '/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/44/image_12012025_18_44_02_907828_0003.jpg
/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0000.jpg
/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0001.jpg
/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470398","1328470395","1328470401","1328470399"],"photo_ids_order":["1328470395","1328470398","1328470399","1328470401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b277150b10070aace4fdbb12742e5835.jpg","text":"TemporaryFile(/tmp/multipartBody1844996523462147535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703992283,"filename":"image_12012025_18_45_03_130422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/006f3371ceba68c08a725ce6f8b6fb46.jpg","text":"TemporaryFile(/tmp/multipartBody1024186867672900924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703992283,"filename":"image_12012025_18_44_02_907828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/363b1a0739762ea8b2d6a9c9d14052c3.jpg","text":"TemporaryFile(/tmp/multipartBody5156236455335319585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703992283,"filename":"image_12012025_18_45_03_130422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e88f9661254e0539f81ec59ee387a1c2.jpg","text":"TemporaryFile(/tmp/multipartBody2838555748512082624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736703992283,"filename":"image_12012025_18_45_03_130422_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470399","file1":"1328470398","file0":"1328470395","file3":"1328470401"},"map_files_photo_id_array":[{"photo_id":"1328470399","filename":"file2"},{"photo_id":"1328470398","filename":"file1"},{"photo_id":"1328470395","filename":"file0"},{"photo_id":"1328470401","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470398":["hashtag1","hashtag2"]},{"1328470395":["hashtag1","hashtag2"]},{"1328470401":["hashtag1","hashtag2"]},{"1328470399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470398, 1328470395, 1328470401, 1328470399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23241925239563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:46:22.163778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0003.jpg', '/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0000.jpg', '/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0001.jpg', '/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/45/image_12012025_18_45_03_130422_0003.jpg
/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0000.jpg
/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0001.jpg
/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470420","1328470416","1328470419","1328470418"],"photo_ids_order":["1328470416","1328470418","1328470419","1328470420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06a5d6f9b2ecb2fe2964be70bdcd29ee.jpg","text":"TemporaryFile(/tmp/multipartBody5965966454513568319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704052551,"filename":"image_12012025_18_46_02_324801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eabfa8b027487141cd050834a6369ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5141137650287858131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704052551,"filename":"image_12012025_18_45_03_130422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad0d3993148258dd819b314cee5c50bf.jpg","text":"TemporaryFile(/tmp/multipartBody5900021971301974474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704052551,"filename":"image_12012025_18_46_02_324801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b6c6a2049dd42b3417d0168c04931d0.jpg","text":"TemporaryFile(/tmp/multipartBody4065331753744006600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704052551,"filename":"image_12012025_18_46_02_324801_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470419","file1":"1328470418","file0":"1328470416","file3":"1328470420"},"map_files_photo_id_array":[{"photo_id":"1328470419","filename":"file2"},{"photo_id":"1328470418","filename":"file1"},{"photo_id":"1328470416","filename":"file0"},{"photo_id":"1328470420","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470420":["hashtag1","hashtag2"]},{"1328470416":["hashtag1","hashtag2"]},{"1328470419":["hashtag1","hashtag2"]},{"1328470418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470420, 1328470416, 1328470419, 1328470418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.682899951934814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:47:22.265731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0003.jpg', '/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0000.jpg', '/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0001.jpg', '/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/46/image_12012025_18_46_02_324801_0003.jpg
/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0000.jpg
/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0001.jpg
/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470459","1328470452","1328470455","1328470456"],"photo_ids_order":["1328470452","1328470455","1328470456","1328470459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23e2e8a0020a512416b34a26aa510f54.jpg","text":"TemporaryFile(/tmp/multipartBody342453714745952184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704112663,"filename":"image_12012025_18_47_02_538955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/902b0248b2431660a2eac14f59f4e77e.jpg","text":"TemporaryFile(/tmp/multipartBody7032517728366950351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704112663,"filename":"image_12012025_18_46_02_324801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e8338e5cd8aed667c9b34ba0503a4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2991498907426757277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704112663,"filename":"image_12012025_18_47_02_538955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa448397203c342dc61dc71990ab7606.jpg","text":"TemporaryFile(/tmp/multipartBody8390073374706584592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704112663,"filename":"image_12012025_18_47_02_538955_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470456","file1":"1328470455","file0":"1328470452","file3":"1328470459"},"map_files_photo_id_array":[{"photo_id":"1328470456","filename":"file2"},{"photo_id":"1328470455","filename":"file1"},{"photo_id":"1328470452","filename":"file0"},{"photo_id":"1328470459","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470459":["hashtag1","hashtag2"]},{"1328470452":["hashtag1","hashtag2"]},{"1328470455":["hashtag1","hashtag2"]},{"1328470456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470459, 1328470452, 1328470455, 1328470456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87783741950989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:48:22.502184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0003.jpg', '/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0000.jpg', '/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0001.jpg', '/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/47/image_12012025_18_47_02_538955_0003.jpg
/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0000.jpg
/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0001.jpg
/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470501","1328470473","1328470467","1328470474"],"photo_ids_order":["1328470467","1328470473","1328470474","1328470501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03e0ff34d3edaf1fd6d7cc2c92053bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7321640612740763005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704172958,"filename":"image_12012025_18_48_02_682472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f20056ea31a40257b97d045b2729004a.jpg","text":"TemporaryFile(/tmp/multipartBody4054705764373349591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704172958,"filename":"image_12012025_18_48_02_682472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa11914c87e712aa5effa830c6c02720.jpg","text":"TemporaryFile(/tmp/multipartBody8634702293460180451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704172958,"filename":"image_12012025_18_47_02_538955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f2bfcc1f7f3db345e4ca9669f4db1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4636774347210141576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704172958,"filename":"image_12012025_18_48_02_682472_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470474","file1":"1328470473","file0":"1328470467","file3":"1328470501"},"map_files_photo_id_array":[{"photo_id":"1328470474","filename":"file2"},{"photo_id":"1328470473","filename":"file1"},{"photo_id":"1328470467","filename":"file0"},{"photo_id":"1328470501","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470501":["hashtag1","hashtag2"]},{"1328470473":["hashtag1","hashtag2"]},{"1328470467":["hashtag1","hashtag2"]},{"1328470474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470501, 1328470473, 1328470467, 1328470474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00247097015381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:49:22.681165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0003.jpg', '/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0000.jpg', '/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0001.jpg', '/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/48/image_12012025_18_48_02_682472_0003.jpg
/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0000.jpg
/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0001.jpg
/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470519","1328470515","1328470520","1328470517"],"photo_ids_order":["1328470515","1328470517","1328470519","1328470520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1714127f7fd49c76a6f7c6ffd7177224.jpg","text":"TemporaryFile(/tmp/multipartBody8672726206609291999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704232917,"filename":"image_12012025_18_49_02_803991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14506136ed5c06bf4c3f977478cb1347.jpg","text":"TemporaryFile(/tmp/multipartBody7067739341574944196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704232917,"filename":"image_12012025_18_48_02_682472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1878ee21e53072512626d2c57250d08.jpg","text":"TemporaryFile(/tmp/multipartBody2237826542607539218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704232917,"filename":"image_12012025_18_49_02_803991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4187d5dd878af72f4e7d91da0f7b26b0.jpg","text":"TemporaryFile(/tmp/multipartBody66765627394430408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704232917,"filename":"image_12012025_18_49_02_803991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470519","file1":"1328470517","file0":"1328470515","file3":"1328470520"},"map_files_photo_id_array":[{"photo_id":"1328470519","filename":"file2"},{"photo_id":"1328470517","filename":"file1"},{"photo_id":"1328470515","filename":"file0"},{"photo_id":"1328470520","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470519":["hashtag1","hashtag2"]},{"1328470515":["hashtag1","hashtag2"]},{"1328470520":["hashtag1","hashtag2"]},{"1328470517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470519, 1328470515, 1328470520, 1328470517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71464514732361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:50:21.874242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0003.jpg', '/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0000.jpg', '/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0001.jpg', '/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0003.jpg
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0000.jpg
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0001.jpg
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_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.003960609436035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:50:41.946255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0003.jpg', '/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0000.jpg', '/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0001.jpg', '/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/49/image_12012025_18_49_02_803991_0003.jpg
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0000.jpg
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0001.jpg
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_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":["1328470537","1328470533","1328470535","1328470534"],"photo_ids_order":["1328470533","1328470534","1328470535","1328470537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02b97b4072e4432aaca137b9c3ebcef5.jpg","text":"TemporaryFile(/tmp/multipartBody8100551336858135787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704312380,"filename":"image_12012025_18_50_03_088676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6268415d6e931b6a2416bb5a87b35dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5656558219213632313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704312380,"filename":"image_12012025_18_49_02_803991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5e4835c75ffd21a9f7870c5e29dbf2d.jpg","text":"TemporaryFile(/tmp/multipartBody4966877428201079794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704312380,"filename":"image_12012025_18_50_03_088676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d31d3517a5a527b42ef8a7461a4fb732.jpg","text":"TemporaryFile(/tmp/multipartBody2134030851685759363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704312380,"filename":"image_12012025_18_50_03_088676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470535","file1":"1328470534","file0":"1328470533","file3":"1328470537"},"map_files_photo_id_array":[{"photo_id":"1328470535","filename":"file2"},{"photo_id":"1328470534","filename":"file1"},{"photo_id":"1328470533","filename":"file0"},{"photo_id":"1328470537","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470537":["hashtag1","hashtag2"]},{"1328470533":["hashtag1","hashtag2"]},{"1328470535":["hashtag1","hashtag2"]},{"1328470534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470537, 1328470533, 1328470535, 1328470534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.139628410339355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:51:22.184287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0003.jpg', '/home/pi/Desktop/images/12012025/18/51/image_12012025_18_51_02_274314_0000.jpg', '/home/pi/Desktop/images/12012025/18/51/image_12012025_18_51_02_274314_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/50/image_12012025_18_50_03_088676_0003.jpg
/home/pi/Desktop/images/12012025/18/51/image_12012025_18_51_02_274314_0000.jpg
/home/pi/Desktop/images/12012025/18/51/image_12012025_18_51_02_274314_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":["1328470558","1328470548","1328470544"],"photo_ids_order":["1328470544","1328470548","1328470558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8bce913fcba5f810daae585c1d7ef97.jpg","text":"TemporaryFile(/tmp/multipartBody8379746482025183153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704349981,"filename":"image_12012025_18_51_02_274314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd02feaeb54eb62b1c3235e57e40c579.jpg","text":"TemporaryFile(/tmp/multipartBody7506224271021281254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704349981,"filename":"image_12012025_18_51_02_274314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4161240db80559a57310b6c1b15fd55.jpg","text":"TemporaryFile(/tmp/multipartBody9168891160002193302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704349981,"filename":"image_12012025_18_50_03_088676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470558","file1":"1328470548","file0":"1328470544"},"map_files_photo_id_array":[{"photo_id":"1328470558","filename":"file2"},{"photo_id":"1328470548","filename":"file1"},{"photo_id":"1328470544","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470558":["hashtag1","hashtag2"]},{"1328470548":["hashtag1","hashtag2"]},{"1328470544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470558, 1328470548, 1328470544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.977383375167847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:52:02.663896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:52:22.324273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/51/image_12012025_18_51_02_274314_0002.jpg', '/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0000.jpg', '/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0001.jpg', '/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/51/image_12012025_18_51_02_274314_0002.jpg
/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0000.jpg
/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0001.jpg
/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470590","1328470592","1328470597","1328470594"],"photo_ids_order":["1328470590","1328470592","1328470594","1328470597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66d47816771eb919bfc230a25ccb1bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4843165775219624583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704412558,"filename":"image_12012025_18_51_02_274314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a266dc79d01000c92b3992641d710840.jpg","text":"TemporaryFile(/tmp/multipartBody9132081140873065918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704412558,"filename":"image_12012025_18_52_02_536184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d62fb9ecd101fa6ae5613d84a1864615.jpg","text":"TemporaryFile(/tmp/multipartBody3609513136031164705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704412558,"filename":"image_12012025_18_52_02_536184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d6ae30519108505585e4c3b0c4fbde0.jpg","text":"TemporaryFile(/tmp/multipartBody7208552405367321678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704412558,"filename":"image_12012025_18_52_02_536184_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470594","file1":"1328470592","file0":"1328470590","file3":"1328470597"},"map_files_photo_id_array":[{"photo_id":"1328470594","filename":"file2"},{"photo_id":"1328470592","filename":"file1"},{"photo_id":"1328470590","filename":"file0"},{"photo_id":"1328470597","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470590":["hashtag1","hashtag2"]},{"1328470592":["hashtag1","hashtag2"]},{"1328470597":["hashtag1","hashtag2"]},{"1328470594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470590, 1328470592, 1328470597, 1328470594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.541374921798706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 18:53:03.122924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:53:22.532155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0003.jpg', '/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0000.jpg', '/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0001.jpg', '/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0003.jpg
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0000.jpg
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0001.jpg
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_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.908860683441162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:53:42.633067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0003.jpg', '/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0000.jpg', '/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0001.jpg', '/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/52/image_12012025_18_52_02_536184_0003.jpg
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0000.jpg
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0001.jpg
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470615","1328470620","1328470611","1328470613"],"photo_ids_order":["1328470611","1328470613","1328470615","1328470620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b67c761222736b71914838d9d8b08ec2.jpg","text":"TemporaryFile(/tmp/multipartBody2285125050588139852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704492997,"filename":"image_12012025_18_53_02_680448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/588098723623c214bae1c3b4dfcb41ba.jpg","text":"TemporaryFile(/tmp/multipartBody5965626543349534059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704492997,"filename":"image_12012025_18_53_02_680448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d9a624098c3291b023e5b1251a436ec.jpg","text":"TemporaryFile(/tmp/multipartBody8972749689318886329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704492997,"filename":"image_12012025_18_52_02_536184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25623ef439cb58e73e11e91ab143758e.jpg","text":"TemporaryFile(/tmp/multipartBody1266175567952522341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704492997,"filename":"image_12012025_18_53_02_680448_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470615","file1":"1328470613","file0":"1328470611","file3":"1328470620"},"map_files_photo_id_array":[{"photo_id":"1328470615","filename":"file2"},{"photo_id":"1328470613","filename":"file1"},{"photo_id":"1328470611","filename":"file0"},{"photo_id":"1328470620","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470615":["hashtag1","hashtag2"]},{"1328470620":["hashtag1","hashtag2"]},{"1328470611":["hashtag1","hashtag2"]},{"1328470613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470615, 1328470620, 1328470611, 1328470613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81176209449768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:54:32.684270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0003.jpg', '/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0000.jpg', '/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0001.jpg', '/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/53/image_12012025_18_53_02_680448_0003.jpg
/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0000.jpg
/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0001.jpg
/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470650","1328470652","1328470646","1328470648"],"photo_ids_order":["1328470646","1328470648","1328470650","1328470652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2784bceba88bda90d20b9a16e7fc9db4.jpg","text":"TemporaryFile(/tmp/multipartBody3548230960746937503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704543133,"filename":"image_12012025_18_54_02_955698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec804a6083a9e7950c3d63f54f947e10.jpg","text":"TemporaryFile(/tmp/multipartBody4533389957987276573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704543133,"filename":"image_12012025_18_54_02_955698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b076f1e3b59b19e72cf1de9fe06b7ea.jpg","text":"TemporaryFile(/tmp/multipartBody8767076463006478418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704543133,"filename":"image_12012025_18_53_02_680448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d107a6aa9dac32ed059db6c966d9b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1954766740497164113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704543133,"filename":"image_12012025_18_54_02_955698_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470650","file1":"1328470648","file0":"1328470646","file3":"1328470652"},"map_files_photo_id_array":[{"photo_id":"1328470650","filename":"file2"},{"photo_id":"1328470648","filename":"file1"},{"photo_id":"1328470646","filename":"file0"},{"photo_id":"1328470652","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470650":["hashtag1","hashtag2"]},{"1328470652":["hashtag1","hashtag2"]},{"1328470646":["hashtag1","hashtag2"]},{"1328470648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470650, 1328470652, 1328470646, 1328470648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.640384912490845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:55:21.944750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0003.jpg', '/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0000.jpg', '/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0001.jpg', '/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/54/image_12012025_18_54_02_955698_0003.jpg
/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0000.jpg
/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0001.jpg
/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470662","1328470665","1328470668","1328470666"],"photo_ids_order":["1328470662","1328470665","1328470666","1328470668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ede0e77cdc3627dfef5ae86b81ab2d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4704875682392773944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704592248,"filename":"image_12012025_18_54_02_955698_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2dca8c413514f6207027b3d570ef51f7.jpg","text":"TemporaryFile(/tmp/multipartBody7975693757301213466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704592248,"filename":"image_12012025_18_55_03_151045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1eedb8400df9dbf1de72bbf664650bd.jpg","text":"TemporaryFile(/tmp/multipartBody2005479222680276472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704592248,"filename":"image_12012025_18_55_03_151045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e5dbc5a3560cc78b760bf88e6397cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8709326187537138611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704592248,"filename":"image_12012025_18_55_03_151045_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470666","file1":"1328470665","file0":"1328470662","file3":"1328470668"},"map_files_photo_id_array":[{"photo_id":"1328470666","filename":"file2"},{"photo_id":"1328470665","filename":"file1"},{"photo_id":"1328470662","filename":"file0"},{"photo_id":"1328470668","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470662":["hashtag1","hashtag2"]},{"1328470665":["hashtag1","hashtag2"]},{"1328470668":["hashtag1","hashtag2"]},{"1328470666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470662, 1328470665, 1328470668, 1328470666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03156852722168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 18:56:22.084560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0003.jpg', '/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0000.jpg', '/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0001.jpg', '/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0003.jpg
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0000.jpg
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0001.jpg
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_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.884380578994751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 18:56:42.044272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0003.jpg', '/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0000.jpg', '/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0001.jpg', '/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/55/image_12012025_18_55_03_151045_0003.jpg
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0000.jpg
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0001.jpg
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328470685","1328470688","1328470690","1328470684"],"photo_ids_order":["1328470684","1328470685","1328470688","1328470690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81fe7c7c40c72ff9622c7642697c4c79.jpg","text":"TemporaryFile(/tmp/multipartBody5984290753060076612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704672352,"filename":"image_12012025_18_56_02_293969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be3078603540a5e616013b696a6de14b.jpg","text":"TemporaryFile(/tmp/multipartBody3888670585807015851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704672352,"filename":"image_12012025_18_56_02_293969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bc143df078cba354fc9f5e9f82ba141.jpg","text":"TemporaryFile(/tmp/multipartBody1339987571057873748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704672352,"filename":"image_12012025_18_56_02_293969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/429a6aafefce60c3fea5f95b7d933120.jpg","text":"TemporaryFile(/tmp/multipartBody7585619836658401959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704672352,"filename":"image_12012025_18_55_03_151045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328470688","file1":"1328470685","file0":"1328470684","file3":"1328470690"},"map_files_photo_id_array":[{"photo_id":"1328470688","filename":"file2"},{"photo_id":"1328470685","filename":"file1"},{"photo_id":"1328470684","filename":"file0"},{"photo_id":"1328470690","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328470685":["hashtag1","hashtag2"]},{"1328470688":["hashtag1","hashtag2"]},{"1328470690":["hashtag1","hashtag2"]},{"1328470684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328470685, 1328470688, 1328470690, 1328470684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63149309158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:57:32.227661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0003.jpg', '/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0000.jpg', '/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0001.jpg', '/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0003.jpg
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0000.jpg
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0001.jpg
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_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-12 18:59:03.014357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0003.jpg', '/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0000.jpg', '/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0001.jpg', '/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/56/image_12012025_18_56_02_293969_0003.jpg
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0000.jpg
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0001.jpg
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328471142","1328470743","1328471482","1328470747"],"photo_ids_order":["1328470743","1328470747","1328471142","1328471482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db22bfd12023d281f73dc9344cacfb11.jpg","text":"TemporaryFile(/tmp/multipartBody2920194886214279542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704813457,"filename":"image_12012025_18_57_02_424017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e53c94e6da5436b277e9141b6e5efa09.jpg","text":"TemporaryFile(/tmp/multipartBody5841612771809176866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704813457,"filename":"image_12012025_18_56_02_293969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b700b90fdbb377d3f11b1bd60e281341.jpg","text":"TemporaryFile(/tmp/multipartBody328134104709065493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704813457,"filename":"image_12012025_18_57_02_424017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc6d7fb1e7ef034d0fe67393dd78ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody8596985849441500124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704813457,"filename":"image_12012025_18_57_02_424017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328471142","file1":"1328470747","file0":"1328470743","file3":"1328471482"},"map_files_photo_id_array":[{"photo_id":"1328471142","filename":"file2"},{"photo_id":"1328470747","filename":"file1"},{"photo_id":"1328470743","filename":"file0"},{"photo_id":"1328471482","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328471142":["hashtag1","hashtag2"]},{"1328470743":["hashtag1","hashtag2"]},{"1328471482":["hashtag1","hashtag2"]},{"1328470747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328471142, 1328470743, 1328471482, 1328470747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68502378463745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 18:59:52.508191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0003.jpg', '/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0000.jpg', '/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0001.jpg', '/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0002.jpg', '/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0003.jpg', '/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/57/image_12012025_18_57_02_424017_0003.jpg
/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0000.jpg
/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0001.jpg
/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0002.jpg
/home/pi/Desktop/images/12012025/18/58/image_12012025_18_58_02_651412_0003.jpg
/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_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":["1328471901","1328471798","1328471972","1328471825","1328471851","1328471806"],"photo_ids_order":["1328471798","1328471806","1328471825","1328471851","1328471901","1328471972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b2bf875d90dceeeadf250a77ed23222.jpg","text":"TemporaryFile(/tmp/multipartBody8832643681615362814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704867468,"filename":"image_12012025_18_58_02_651412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab370483c8f771acce25f581cd9473a0.jpg","text":"TemporaryFile(/tmp/multipartBody8458290386669132105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704867468,"filename":"image_12012025_18_57_02_424017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85df11c874af30733b0f3caaf564fc4b.jpg","text":"TemporaryFile(/tmp/multipartBody7761440590907601383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704867468,"filename":"image_12012025_18_59_02_798682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c4c1d87e4d7e870db0e0b3468ab12c3.jpg","text":"TemporaryFile(/tmp/multipartBody2371101427357038905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704867468,"filename":"image_12012025_18_58_02_651412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef2dbdf1731667e12835b528b64e5220.jpg","text":"TemporaryFile(/tmp/multipartBody2748805301968576431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704867468,"filename":"image_12012025_18_58_02_651412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2bd3d5bf8e894a3eaaac10cd95440a4.jpg","text":"TemporaryFile(/tmp/multipartBody2459926407215326904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704867468,"filename":"image_12012025_18_58_02_651412_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328471825","file1":"1328471806","file0":"1328471798","file4":"1328471901","file5":"1328471972","file3":"1328471851"},"map_files_photo_id_array":[{"photo_id":"1328471972","filename":"file5"},{"photo_id":"1328471825","filename":"file2"},{"photo_id":"1328471901","filename":"file4"},{"photo_id":"1328471806","filename":"file1"},{"photo_id":"1328471798","filename":"file0"},{"photo_id":"1328471851","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328471901":["hashtag1","hashtag2"]},{"1328471798":["hashtag1","hashtag2"]},{"1328471972":["hashtag1","hashtag2"]},{"1328471825":["hashtag1","hashtag2"]},{"1328471851":["hashtag1","hashtag2"]},{"1328471806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328471901, 1328471798, 1328471972, 1328471825, 1328471851, 1328471806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.129340171813965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:00:52.668034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0001.jpg', '/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0002.jpg', '/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0003.jpg', '/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0000.jpg', '/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0001.jpg', '/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0001.jpg
/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0002.jpg
/home/pi/Desktop/images/12012025/18/59/image_12012025_18_59_02_798682_0003.jpg
/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0000.jpg
/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0001.jpg
/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328472015","1328472003","1328472005","1328472019","1328472010","1328472007"],"photo_ids_order":["1328472003","1328472005","1328472007","1328472010","1328472015","1328472019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e740320143059c5f6ce861055a32d882.jpg","text":"TemporaryFile(/tmp/multipartBody103920265519750811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704927581,"filename":"image_12012025_19_00_02_943433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82357fbfebc26336eef0737c854146a1.jpg","text":"TemporaryFile(/tmp/multipartBody9098154492889478531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704927581,"filename":"image_12012025_18_59_02_798682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bded8028c25e9eaba164d6894c453bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3108256550248005766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704927581,"filename":"image_12012025_18_59_02_798682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e0f0f548d052cb1ac801c245b078ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3146705886152057894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704927581,"filename":"image_12012025_19_00_02_943433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b40840ec2bef0eb92f4fee430e2004d8.jpg","text":"TemporaryFile(/tmp/multipartBody2011780983970845438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704927581,"filename":"image_12012025_19_00_02_943433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae0e14cdc2ced99a8bf88659c629450c.jpg","text":"TemporaryFile(/tmp/multipartBody4783391327899885847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704927581,"filename":"image_12012025_18_59_02_798682_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328472007","file1":"1328472005","file0":"1328472003","file4":"1328472015","file5":"1328472019","file3":"1328472010"},"map_files_photo_id_array":[{"photo_id":"1328472019","filename":"file5"},{"photo_id":"1328472007","filename":"file2"},{"photo_id":"1328472015","filename":"file4"},{"photo_id":"1328472005","filename":"file1"},{"photo_id":"1328472003","filename":"file0"},{"photo_id":"1328472010","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328472015":["hashtag1","hashtag2"]},{"1328472003":["hashtag1","hashtag2"]},{"1328472005":["hashtag1","hashtag2"]},{"1328472019":["hashtag1","hashtag2"]},{"1328472010":["hashtag1","hashtag2"]},{"1328472007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328472015, 1328472003, 1328472005, 1328472019, 1328472010, 1328472007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82783651351929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:01:51.849599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0003.jpg', '/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0000.jpg', '/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0001.jpg', '/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/00/image_12012025_19_00_02_943433_0003.jpg
/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0000.jpg
/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0001.jpg
/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_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":["1328472027","1328472020","1328472023","1328472025"],"photo_ids_order":["1328472020","1328472023","1328472025","1328472027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e094692a10e34c011caa402fb66d169.jpg","text":"TemporaryFile(/tmp/multipartBody2551153625766476534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704982201,"filename":"image_12012025_19_01_03_072556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da37faadb2863cf14f5207948a66f57e.jpg","text":"TemporaryFile(/tmp/multipartBody812179218240239188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704982201,"filename":"image_12012025_19_00_02_943433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d41069894ff3efb62d81964c09376827.jpg","text":"TemporaryFile(/tmp/multipartBody5717549773553466875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704982201,"filename":"image_12012025_19_01_03_072556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ba956aa922a4237fd9a000439d629db.jpg","text":"TemporaryFile(/tmp/multipartBody447834126909145210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736704982201,"filename":"image_12012025_19_01_03_072556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328472025","file1":"1328472023","file0":"1328472020","file3":"1328472027"},"map_files_photo_id_array":[{"photo_id":"1328472025","filename":"file2"},{"photo_id":"1328472023","filename":"file1"},{"photo_id":"1328472020","filename":"file0"},{"photo_id":"1328472027","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328472027":["hashtag1","hashtag2"]},{"1328472020":["hashtag1","hashtag2"]},{"1328472023":["hashtag1","hashtag2"]},{"1328472025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328472027, 1328472020, 1328472023, 1328472025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53360891342163 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-12 19:02:42.097704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0003.jpg', '/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0000.jpg', '/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0001.jpg', '/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/01/image_12012025_19_01_03_072556_0003.jpg
/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0000.jpg
/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0001.jpg
/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328472042","1328472044","1328472038","1328472040"],"photo_ids_order":["1328472038","1328472040","1328472042","1328472044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2aeeb4268c274f806ad1864e260edcc.jpg","text":"TemporaryFile(/tmp/multipartBody1559777368396088911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705032301,"filename":"image_12012025_19_02_02_236605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77a3956b5ffb0017bea9ec8b87b0be9b.jpg","text":"TemporaryFile(/tmp/multipartBody635977390866345170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705032301,"filename":"image_12012025_19_02_02_236605_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f092e00663d84e4d97695d0cb59e060.jpg","text":"TemporaryFile(/tmp/multipartBody4392141558337323905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705032301,"filename":"image_12012025_19_01_03_072556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57a7dd4552065e0e8e0c3c1b0d903fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4401097049386906799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705032301,"filename":"image_12012025_19_02_02_236605_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328472042","file1":"1328472040","file0":"1328472038","file3":"1328472044"},"map_files_photo_id_array":[{"photo_id":"1328472042","filename":"file2"},{"photo_id":"1328472040","filename":"file1"},{"photo_id":"1328472038","filename":"file0"},{"photo_id":"1328472044","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328472042":["hashtag1","hashtag2"]},{"1328472044":["hashtag1","hashtag2"]},{"1328472038":["hashtag1","hashtag2"]},{"1328472040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328472042, 1328472044, 1328472038, 1328472040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77723956108093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:03:32.191691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0003.jpg', '/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0000.jpg', '/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0001.jpg', '/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/02/image_12012025_19_02_02_236605_0003.jpg
/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0000.jpg
/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0001.jpg
/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328472048","1328472071","1328472091","1328472063"],"photo_ids_order":["1328472048","1328472063","1328472071","1328472091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa4526fcb29c7668cb0936fe89e315af.jpg","text":"TemporaryFile(/tmp/multipartBody1111390035635205947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705082339,"filename":"image_12012025_19_02_02_236605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07311c894c4330a01f27c5e84ec28a6d.jpg","text":"TemporaryFile(/tmp/multipartBody6843395696146556679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705082339,"filename":"image_12012025_19_03_02_352535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f1ad33dd7cb812f743dc7ddce586b8f.jpg","text":"TemporaryFile(/tmp/multipartBody661118499222964595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705082339,"filename":"image_12012025_19_03_02_352535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/805aedeba7a6146ca2d1cb60ed74ff90.jpg","text":"TemporaryFile(/tmp/multipartBody2744139950519212746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705082339,"filename":"image_12012025_19_03_02_352535_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328472071","file1":"1328472063","file0":"1328472048","file3":"1328472091"},"map_files_photo_id_array":[{"photo_id":"1328472071","filename":"file2"},{"photo_id":"1328472063","filename":"file1"},{"photo_id":"1328472048","filename":"file0"},{"photo_id":"1328472091","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328472048":["hashtag1","hashtag2"]},{"1328472071":["hashtag1","hashtag2"]},{"1328472091":["hashtag1","hashtag2"]},{"1328472063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328472048, 1328472071, 1328472091, 1328472063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44060778617859 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:04:22.506591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0003.jpg', '/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0000.jpg', '/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0001.jpg', '/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/03/image_12012025_19_03_02_352535_0003.jpg
/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0000.jpg
/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0001.jpg
/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328472097","1328472174","1328472100","1328472279"],"photo_ids_order":["1328472097","1328472100","1328472174","1328472279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb82f126bf51b2989bce14ec5f1eabfb.jpg","text":"TemporaryFile(/tmp/multipartBody2678703652994794840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705132837,"filename":"image_12012025_19_03_02_352535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4a2669cb0e67b5df5a5e3fef193321b.jpg","text":"TemporaryFile(/tmp/multipartBody3273618679022730953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705132837,"filename":"image_12012025_19_04_02_570196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/249002464e229f608897488b4fbf47e7.jpg","text":"TemporaryFile(/tmp/multipartBody3243157247970636196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705132837,"filename":"image_12012025_19_04_02_570196_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/633d7f423b3381f6ad2fdc0e75934e59.jpg","text":"TemporaryFile(/tmp/multipartBody6715290190218470237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705132837,"filename":"image_12012025_19_04_02_570196_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328472174","file1":"1328472100","file0":"1328472097","file3":"1328472279"},"map_files_photo_id_array":[{"photo_id":"1328472174","filename":"file2"},{"photo_id":"1328472100","filename":"file1"},{"photo_id":"1328472097","filename":"file0"},{"photo_id":"1328472279","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328472097":["hashtag1","hashtag2"]},{"1328472174":["hashtag1","hashtag2"]},{"1328472100":["hashtag1","hashtag2"]},{"1328472279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328472097, 1328472174, 1328472100, 1328472279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.963095903396606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:05:22.679388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0003.jpg', '/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0000.jpg', '/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0001.jpg', '/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/04/image_12012025_19_04_02_570196_0003.jpg
/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0000.jpg
/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0001.jpg
/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328474269","1328473993","1328473714","1328474270"],"photo_ids_order":["1328473714","1328473993","1328474269","1328474270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6143c517f674f8ab8d6c109666956e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4172464699333980142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705192841,"filename":"image_12012025_19_05_02_816236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9da96988f3f1bbf0cfc35578a0965dae.jpg","text":"TemporaryFile(/tmp/multipartBody6209461148151251242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705192841,"filename":"image_12012025_19_05_02_816236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2692e1325474ae640d43f56e6f6f0702.jpg","text":"TemporaryFile(/tmp/multipartBody1153330660787622635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705192841,"filename":"image_12012025_19_04_02_570196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03a0575b54800287888704594d9f3c17.jpg","text":"TemporaryFile(/tmp/multipartBody8401371711663372243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705192841,"filename":"image_12012025_19_05_02_816236_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328474269","file1":"1328473993","file0":"1328473714","file3":"1328474270"},"map_files_photo_id_array":[{"photo_id":"1328474269","filename":"file2"},{"photo_id":"1328473993","filename":"file1"},{"photo_id":"1328473714","filename":"file0"},{"photo_id":"1328474270","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328474269":["hashtag1","hashtag2"]},{"1328473993":["hashtag1","hashtag2"]},{"1328473714":["hashtag1","hashtag2"]},{"1328474270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328474269, 1328473993, 1328473714, 1328474270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.029048442840576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:06:21.798148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0003.jpg', '/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0000.jpg', '/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0001.jpg', '/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0003.jpg
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0000.jpg
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0001.jpg
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_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.778497695922852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 19:06:41.828042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0003.jpg', '/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0000.jpg', '/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0001.jpg', '/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/05/image_12012025_19_05_02_816236_0003.jpg
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0000.jpg
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0001.jpg
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_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":["1328474558","1328474563","1328474560","1328474556"],"photo_ids_order":["1328474556","1328474558","1328474560","1328474563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/066c03527308bd9a132e0e8b099f61a8.jpg","text":"TemporaryFile(/tmp/multipartBody2397219969224208230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705272006,"filename":"image_12012025_19_06_02_983850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2742ab096321e7aa025dfe28f7c8ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6922839670926507269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705272006,"filename":"image_12012025_19_06_02_983850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f32ba6205554252cf8e7571c314bf894.jpg","text":"TemporaryFile(/tmp/multipartBody111533061565714245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705272006,"filename":"image_12012025_19_06_02_983850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ab2c8ced27acdab4b9ddba9802ed3f5.jpg","text":"TemporaryFile(/tmp/multipartBody1476027782319558410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705272006,"filename":"image_12012025_19_05_02_816236_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328474560","file1":"1328474558","file0":"1328474556","file3":"1328474563"},"map_files_photo_id_array":[{"photo_id":"1328474560","filename":"file2"},{"photo_id":"1328474558","filename":"file1"},{"photo_id":"1328474556","filename":"file0"},{"photo_id":"1328474563","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328474558":["hashtag1","hashtag2"]},{"1328474563":["hashtag1","hashtag2"]},{"1328474560":["hashtag1","hashtag2"]},{"1328474556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328474558, 1328474563, 1328474560, 1328474556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65787124633789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:07:21.990307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0003.jpg', '/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0000.jpg', '/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0001.jpg', '/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/06/image_12012025_19_06_02_983850_0003.jpg
/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0000.jpg
/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0001.jpg
/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475046","1328475043","1328475001","1328475097"],"photo_ids_order":["1328475001","1328475043","1328475046","1328475097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5dd09df011d45a97c6b1511039e8d670.jpg","text":"TemporaryFile(/tmp/multipartBody974617272438824819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705312265,"filename":"image_12012025_19_07_02_182401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8bd2ab0474d452065304dd75723be7c.jpg","text":"TemporaryFile(/tmp/multipartBody15076094978183267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705312265,"filename":"image_12012025_19_07_02_182401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ada4d9264693e82e197fabeba5351e30.jpg","text":"TemporaryFile(/tmp/multipartBody6510801040755559793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705312265,"filename":"image_12012025_19_06_02_983850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14d5f94206cb4e436980e4ff379bbe0a.jpg","text":"TemporaryFile(/tmp/multipartBody3309552814628444140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705312265,"filename":"image_12012025_19_07_02_182401_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475046","file1":"1328475043","file0":"1328475001","file3":"1328475097"},"map_files_photo_id_array":[{"photo_id":"1328475046","filename":"file2"},{"photo_id":"1328475043","filename":"file1"},{"photo_id":"1328475001","filename":"file0"},{"photo_id":"1328475097","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475046":["hashtag1","hashtag2"]},{"1328475043":["hashtag1","hashtag2"]},{"1328475001":["hashtag1","hashtag2"]},{"1328475097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475046, 1328475043, 1328475001, 1328475097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74443745613098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:08:02.450982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:08:22.073997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0003.jpg', '/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0000.jpg', '/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0001.jpg', '/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/07/image_12012025_19_07_02_182401_0003.jpg
/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0000.jpg
/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0001.jpg
/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475124","1328475126","1328475122","1328475128"],"photo_ids_order":["1328475122","1328475124","1328475126","1328475128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8bd2ba3d48486a8cb0a4e882f0caa2b.jpg","text":"TemporaryFile(/tmp/multipartBody4672552150493491249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705372219,"filename":"image_12012025_19_08_02_270134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a83d90ebbe595422326ea3bc23a8e04e.jpg","text":"TemporaryFile(/tmp/multipartBody4457563117349321795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705372219,"filename":"image_12012025_19_08_02_270134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/79661830fcd922785f0bbfef07eb8e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5592191924655165530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705372219,"filename":"image_12012025_19_07_02_182401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/116a531b62ea6a943fb650fcd9d04680.jpg","text":"TemporaryFile(/tmp/multipartBody5091121418873065102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705372219,"filename":"image_12012025_19_08_02_270134_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475126","file1":"1328475124","file0":"1328475122","file3":"1328475128"},"map_files_photo_id_array":[{"photo_id":"1328475126","filename":"file2"},{"photo_id":"1328475124","filename":"file1"},{"photo_id":"1328475122","filename":"file0"},{"photo_id":"1328475128","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475124":["hashtag1","hashtag2"]},{"1328475126":["hashtag1","hashtag2"]},{"1328475122":["hashtag1","hashtag2"]},{"1328475128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475124, 1328475126, 1328475122, 1328475128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01319599151611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:09:22.353469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0003.jpg', '/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0000.jpg', '/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0001.jpg', '/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/08/image_12012025_19_08_02_270134_0003.jpg
/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0000.jpg
/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0001.jpg
/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475151","1328475139","1328475158","1328475137"],"photo_ids_order":["1328475137","1328475139","1328475151","1328475158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8670d271bb9f63ce43cb0fb36ff9699.jpg","text":"TemporaryFile(/tmp/multipartBody6381639085317649577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705432424,"filename":"image_12012025_19_09_02_456476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a123b5bcd614314bacc73140a7cc131.jpg","text":"TemporaryFile(/tmp/multipartBody1684823947426225731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705432424,"filename":"image_12012025_19_09_02_456476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30d3ff31270292ad2a17eb99c91e1f74.jpg","text":"TemporaryFile(/tmp/multipartBody2458346711149798430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705432424,"filename":"image_12012025_19_09_02_456476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2d26151f48ca9c6864efb26ceceeebb.jpg","text":"TemporaryFile(/tmp/multipartBody1378384786253247364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705432424,"filename":"image_12012025_19_08_02_270134_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475151","file1":"1328475139","file0":"1328475137","file3":"1328475158"},"map_files_photo_id_array":[{"photo_id":"1328475151","filename":"file2"},{"photo_id":"1328475139","filename":"file1"},{"photo_id":"1328475137","filename":"file0"},{"photo_id":"1328475158","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475151":["hashtag1","hashtag2"]},{"1328475139":["hashtag1","hashtag2"]},{"1328475158":["hashtag1","hashtag2"]},{"1328475137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475151, 1328475139, 1328475158, 1328475137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00283908843994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:10:22.560852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0003.jpg', '/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0000.jpg', '/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0001.jpg', '/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/09/image_12012025_19_09_02_456476_0003.jpg
/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0000.jpg
/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0001.jpg
/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475199","1328475193","1328475197","1328475196"],"photo_ids_order":["1328475193","1328475196","1328475197","1328475199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f427b8805118667ac1fb1cb238205e34.jpg","text":"TemporaryFile(/tmp/multipartBody5112908128261914419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705492725,"filename":"image_12012025_19_10_02_674425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7fc6fd39e98a0121855d51253486b6c7.jpg","text":"TemporaryFile(/tmp/multipartBody4623346023654436132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705492725,"filename":"image_12012025_19_09_02_456476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2297b6e5d76900f5e09b51a90c20c75d.jpg","text":"TemporaryFile(/tmp/multipartBody3655839772773309695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705492725,"filename":"image_12012025_19_10_02_674425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32fe097cca0b09beaf9ab54dc4013599.jpg","text":"TemporaryFile(/tmp/multipartBody5634295918514515318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705492725,"filename":"image_12012025_19_10_02_674425_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475197","file1":"1328475196","file0":"1328475193","file3":"1328475199"},"map_files_photo_id_array":[{"photo_id":"1328475197","filename":"file2"},{"photo_id":"1328475196","filename":"file1"},{"photo_id":"1328475193","filename":"file0"},{"photo_id":"1328475199","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475199":["hashtag1","hashtag2"]},{"1328475193":["hashtag1","hashtag2"]},{"1328475197":["hashtag1","hashtag2"]},{"1328475196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475199, 1328475193, 1328475197, 1328475196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51678991317749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:11:03.368637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:11:22.748747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0003.jpg', '/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0000.jpg', '/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0001.jpg', '/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/10/image_12012025_19_10_02_674425_0003.jpg
/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0000.jpg
/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0001.jpg
/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475214","1328475217","1328475219","1328475218"],"photo_ids_order":["1328475214","1328475217","1328475218","1328475219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9938fbd710087f8840dae6d1b12ad44c.jpg","text":"TemporaryFile(/tmp/multipartBody7223531788491821375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705553017,"filename":"image_12012025_19_10_02_674425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f453b4d818ae4b926d26c0e42921727d.jpg","text":"TemporaryFile(/tmp/multipartBody6982791058533495660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705553017,"filename":"image_12012025_19_11_02_840713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a479489cd85236c17db232eff2f1fec.jpg","text":"TemporaryFile(/tmp/multipartBody4533469710744623535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705553017,"filename":"image_12012025_19_11_02_840713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3235c5015f8f9472aa6d3475abcd21bc.jpg","text":"TemporaryFile(/tmp/multipartBody1458587223786247454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705553017,"filename":"image_12012025_19_11_02_840713_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475218","file1":"1328475217","file0":"1328475214","file3":"1328475219"},"map_files_photo_id_array":[{"photo_id":"1328475218","filename":"file2"},{"photo_id":"1328475217","filename":"file1"},{"photo_id":"1328475214","filename":"file0"},{"photo_id":"1328475219","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475214":["hashtag1","hashtag2"]},{"1328475217":["hashtag1","hashtag2"]},{"1328475219":["hashtag1","hashtag2"]},{"1328475218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475214, 1328475217, 1328475219, 1328475218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44830775260925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:12:21.912913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0003.jpg', '/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0000.jpg', '/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0001.jpg', '/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0003.jpg
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0000.jpg
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0001.jpg
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_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.769949674606323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 19:12:41.775455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0003.jpg', '/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0000.jpg', '/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0001.jpg', '/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/11/image_12012025_19_11_02_840713_0003.jpg
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0000.jpg
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0001.jpg
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475250","1328475252","1328475249","1328475254"],"photo_ids_order":["1328475249","1328475250","1328475252","1328475254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3d636a60a34a86378d332eeb91addaa.jpg","text":"TemporaryFile(/tmp/multipartBody2569701610362958540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705631956,"filename":"image_12012025_19_12_02_968612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b164d131bfdeef21ed1bc693a39f6796.jpg","text":"TemporaryFile(/tmp/multipartBody4618295219204280330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705631956,"filename":"image_12012025_19_12_02_968612_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d6b6d0eaed62169dc0e19381c86612c7.jpg","text":"TemporaryFile(/tmp/multipartBody2181548031115411283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705631956,"filename":"image_12012025_19_11_02_840713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9dbca147c84e6aa9468fc4a7221e547e.jpg","text":"TemporaryFile(/tmp/multipartBody2112463602395678659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705631956,"filename":"image_12012025_19_12_02_968612_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475252","file1":"1328475250","file0":"1328475249","file3":"1328475254"},"map_files_photo_id_array":[{"photo_id":"1328475252","filename":"file2"},{"photo_id":"1328475250","filename":"file1"},{"photo_id":"1328475249","filename":"file0"},{"photo_id":"1328475254","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475250":["hashtag1","hashtag2"]},{"1328475252":["hashtag1","hashtag2"]},{"1328475249":["hashtag1","hashtag2"]},{"1328475254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475250, 1328475252, 1328475249, 1328475254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.539588928222656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:13:31.993639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0003.jpg', '/home/pi/Desktop/images/12012025/19/13/image_12012025_19_13_02_197934_0000.jpg', '/home/pi/Desktop/images/12012025/19/13/image_12012025_19_13_02_197934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/12/image_12012025_19_12_02_968612_0003.jpg
/home/pi/Desktop/images/12012025/19/13/image_12012025_19_13_02_197934_0000.jpg
/home/pi/Desktop/images/12012025/19/13/image_12012025_19_13_02_197934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475265","1328475264","1328475266"],"photo_ids_order":["1328475264","1328475265","1328475266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/727f06f37a09ec8f2817a02b32d7c861.jpg","text":"TemporaryFile(/tmp/multipartBody5798453163589019304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705679967,"filename":"image_12012025_19_13_02_197934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f736a37a05854875e03ac98d81f4326.jpg","text":"TemporaryFile(/tmp/multipartBody4910096171581660560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705679967,"filename":"image_12012025_19_12_02_968612_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95a714f08718f49af386737c59f12756.jpg","text":"TemporaryFile(/tmp/multipartBody1978801660592732977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705679967,"filename":"image_12012025_19_13_02_197934_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475266","file1":"1328475265","file0":"1328475264"},"map_files_photo_id_array":[{"photo_id":"1328475266","filename":"file2"},{"photo_id":"1328475265","filename":"file1"},{"photo_id":"1328475264","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475265":["hashtag1","hashtag2"]},{"1328475264":["hashtag1","hashtag2"]},{"1328475266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475265, 1328475264, 1328475266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.685116052627563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:14:22.248369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/13/image_12012025_19_13_02_197934_0003.jpg', '/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0000.jpg', '/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0001.jpg', '/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/13/image_12012025_19_13_02_197934_0003.jpg
/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0000.jpg
/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0001.jpg
/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475292","1328475282","1328475290","1328475287"],"photo_ids_order":["1328475282","1328475287","1328475290","1328475292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/913e08ec0b9949af40358dac76b15b3f.jpg","text":"TemporaryFile(/tmp/multipartBody8560700872564974664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705732510,"filename":"image_12012025_19_14_02_420725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a12f7315d5f25ebf3e7c109295d09df9.jpg","text":"TemporaryFile(/tmp/multipartBody3321844338159544946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705732510,"filename":"image_12012025_19_13_02_197934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09150beb0c6f885e11163581f797bb1b.jpg","text":"TemporaryFile(/tmp/multipartBody6111670119830776968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705732510,"filename":"image_12012025_19_14_02_420725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb4d58433f1900a9fd64acf6869657a0.jpg","text":"TemporaryFile(/tmp/multipartBody4804630558105461605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705732510,"filename":"image_12012025_19_14_02_420725_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475290","file1":"1328475287","file0":"1328475282","file3":"1328475292"},"map_files_photo_id_array":[{"photo_id":"1328475290","filename":"file2"},{"photo_id":"1328475287","filename":"file1"},{"photo_id":"1328475282","filename":"file0"},{"photo_id":"1328475292","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475292":["hashtag1","hashtag2"]},{"1328475282":["hashtag1","hashtag2"]},{"1328475290":["hashtag1","hashtag2"]},{"1328475287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475292, 1328475282, 1328475290, 1328475287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.525333404541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:15:03.049971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:15:22.348171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0003.jpg', '/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0000.jpg', '/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0001.jpg', '/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/14/image_12012025_19_14_02_420725_0003.jpg
/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0000.jpg
/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0001.jpg
/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475319","1328475323","1328475317","1328475326"],"photo_ids_order":["1328475317","1328475319","1328475323","1328475326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/78f11ab447f57291e48666a9a827d335.jpg","text":"TemporaryFile(/tmp/multipartBody927803553604943843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705792546,"filename":"image_12012025_19_15_02_588192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd0dfcf278370c9924b53dcd18e24384.jpg","text":"TemporaryFile(/tmp/multipartBody6320812849778079853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705792546,"filename":"image_12012025_19_15_02_588192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f03550dc45b11965991cac0067cb448.jpg","text":"TemporaryFile(/tmp/multipartBody8588939063763202504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705792546,"filename":"image_12012025_19_14_02_420725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fad9d377d14319d1a92be73ff196da4.jpg","text":"TemporaryFile(/tmp/multipartBody5258016817556160751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705792546,"filename":"image_12012025_19_15_02_588192_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475323","file1":"1328475319","file0":"1328475317","file3":"1328475326"},"map_files_photo_id_array":[{"photo_id":"1328475323","filename":"file2"},{"photo_id":"1328475319","filename":"file1"},{"photo_id":"1328475317","filename":"file0"},{"photo_id":"1328475326","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475319":["hashtag1","hashtag2"]},{"1328475323":["hashtag1","hashtag2"]},{"1328475317":["hashtag1","hashtag2"]},{"1328475326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475319, 1328475323, 1328475317, 1328475326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36613488197327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:16:02.994945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:16:22.583723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0003.jpg', '/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0000.jpg', '/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0001.jpg', '/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/15/image_12012025_19_15_02_588192_0003.jpg
/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0000.jpg
/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0001.jpg
/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475407","1328475406","1328475408","1328475410"],"photo_ids_order":["1328475406","1328475407","1328475408","1328475410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6832fc66cdc77c7d4e72139335bc81e9.jpg","text":"TemporaryFile(/tmp/multipartBody8316672177864889448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705852748,"filename":"image_12012025_19_16_02_703270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0a327dbcac8ba987f2369b4b552b897.jpg","text":"TemporaryFile(/tmp/multipartBody344694458357535159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705852748,"filename":"image_12012025_19_15_02_588192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b704356e448ce82268c055ab2fdb978a.jpg","text":"TemporaryFile(/tmp/multipartBody7395009988967002341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705852748,"filename":"image_12012025_19_16_02_703270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85ec46ba48a7525d524ebf7638ad41bd.jpg","text":"TemporaryFile(/tmp/multipartBody3608448709378781836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705852748,"filename":"image_12012025_19_16_02_703270_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475408","file1":"1328475407","file0":"1328475406","file3":"1328475410"},"map_files_photo_id_array":[{"photo_id":"1328475408","filename":"file2"},{"photo_id":"1328475407","filename":"file1"},{"photo_id":"1328475406","filename":"file0"},{"photo_id":"1328475410","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475407":["hashtag1","hashtag2"]},{"1328475406":["hashtag1","hashtag2"]},{"1328475408":["hashtag1","hashtag2"]},{"1328475410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475407, 1328475406, 1328475408, 1328475410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.21281170845032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:17:03.476506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:17:22.744956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0003.jpg', '/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0000.jpg', '/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0001.jpg', '/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/16/image_12012025_19_16_02_703270_0003.jpg
/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0000.jpg
/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0001.jpg
/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475427","1328475423","1328475426","1328475428"],"photo_ids_order":["1328475423","1328475426","1328475427","1328475428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f0304969a47b75421f14cb1002300d22.jpg","text":"TemporaryFile(/tmp/multipartBody6282739535505952496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705913227,"filename":"image_12012025_19_17_02_861186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d99d5827de7f2d18055f239c5682cc7d.jpg","text":"TemporaryFile(/tmp/multipartBody2385988163572692692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705913227,"filename":"image_12012025_19_16_02_703270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7cf4a49e4e6920be1e0b1b30b5682625.jpg","text":"TemporaryFile(/tmp/multipartBody1178523373661084624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705913227,"filename":"image_12012025_19_17_02_861186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fc1c18b21b9d2a5789b2c40df8d760ec.jpg","text":"TemporaryFile(/tmp/multipartBody7591440595934264588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705913227,"filename":"image_12012025_19_17_02_861186_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475427","file1":"1328475426","file0":"1328475423","file3":"1328475428"},"map_files_photo_id_array":[{"photo_id":"1328475427","filename":"file2"},{"photo_id":"1328475426","filename":"file1"},{"photo_id":"1328475423","filename":"file0"},{"photo_id":"1328475428","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475427":["hashtag1","hashtag2"]},{"1328475423":["hashtag1","hashtag2"]},{"1328475426":["hashtag1","hashtag2"]},{"1328475428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475427, 1328475423, 1328475426, 1328475428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.182440519332886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:18:22.027909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0003.jpg', '/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0000.jpg', '/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0003.jpg
/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0000.jpg
/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_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.619278907775879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:18:31.934889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0003.jpg', '/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0000.jpg', '/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/17/image_12012025_19_17_02_861186_0003.jpg
/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0000.jpg
/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_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":["1328475441","1328475444","1328475443"],"photo_ids_order":["1328475441","1328475443","1328475444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec7338f3745806c6a6430e6c02efe2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3410616070067052380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705979963,"filename":"image_12012025_19_17_02_861186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/31131cfbd7c8c13aed3d9846515a9b52.jpg","text":"TemporaryFile(/tmp/multipartBody5705959360178671022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705979963,"filename":"image_12012025_19_18_03_143805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ec4f0e7f763d3c5b4b0603296cc7dea.jpg","text":"TemporaryFile(/tmp/multipartBody7627297284360719117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736705979963,"filename":"image_12012025_19_18_03_143805_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475444","file1":"1328475443","file0":"1328475441"},"map_files_photo_id_array":[{"photo_id":"1328475444","filename":"file2"},{"photo_id":"1328475443","filename":"file1"},{"photo_id":"1328475441","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475441":["hashtag1","hashtag2"]},{"1328475444":["hashtag1","hashtag2"]},{"1328475443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475441, 1328475444, 1328475443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.883551597595215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:19:22.178667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0002.jpg', '/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0000.jpg', '/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0001.jpg', '/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/18/image_12012025_19_18_03_143805_0002.jpg
/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0000.jpg
/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0001.jpg
/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475457","1328475453","1328475456","1328475455"],"photo_ids_order":["1328475453","1328475455","1328475456","1328475457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa19bb09b71044f8c72d825ad23f4f07.jpg","text":"TemporaryFile(/tmp/multipartBody7306002877294958052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706032409,"filename":"image_12012025_19_19_02_320289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/284a3473a695b341f7e8389cc3d213ef.jpg","text":"TemporaryFile(/tmp/multipartBody153750353493943136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706032409,"filename":"image_12012025_19_18_03_143805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7e94760b307de0f50cd4719d325f413.jpg","text":"TemporaryFile(/tmp/multipartBody6918181513762393755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706032409,"filename":"image_12012025_19_19_02_320289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/677834d4ea486d3ecba862302a99f524.jpg","text":"TemporaryFile(/tmp/multipartBody2560376936294756547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706032409,"filename":"image_12012025_19_19_02_320289_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475456","file1":"1328475455","file0":"1328475453","file3":"1328475457"},"map_files_photo_id_array":[{"photo_id":"1328475456","filename":"file2"},{"photo_id":"1328475455","filename":"file1"},{"photo_id":"1328475453","filename":"file0"},{"photo_id":"1328475457","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475457":["hashtag1","hashtag2"]},{"1328475453":["hashtag1","hashtag2"]},{"1328475456":["hashtag1","hashtag2"]},{"1328475455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475457, 1328475453, 1328475456, 1328475455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.64669966697693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:20:22.319698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0003.jpg', '/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0000.jpg', '/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0001.jpg', '/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/19/image_12012025_19_19_02_320289_0003.jpg
/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0000.jpg
/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0001.jpg
/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475466","1328475471","1328475468","1328475467"],"photo_ids_order":["1328475466","1328475467","1328475468","1328475471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4956d9893266d92e4a015779a783ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4920007713968413425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706092659,"filename":"image_12012025_19_19_02_320289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bda2ab305beb700b53c641806bff8c04.jpg","text":"TemporaryFile(/tmp/multipartBody8084253777925817982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706092659,"filename":"image_12012025_19_20_02_441911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a3c8036dcfe9af419899e7ea277e09d.jpg","text":"TemporaryFile(/tmp/multipartBody3863027568640073835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706092659,"filename":"image_12012025_19_20_02_441911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/240d7d3cdc1d4213eebbc08f5817f38f.jpg","text":"TemporaryFile(/tmp/multipartBody850607130197328149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706092659,"filename":"image_12012025_19_20_02_441911_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475468","file1":"1328475467","file0":"1328475466","file3":"1328475471"},"map_files_photo_id_array":[{"photo_id":"1328475468","filename":"file2"},{"photo_id":"1328475467","filename":"file1"},{"photo_id":"1328475466","filename":"file0"},{"photo_id":"1328475471","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475466":["hashtag1","hashtag2"]},{"1328475471":["hashtag1","hashtag2"]},{"1328475468":["hashtag1","hashtag2"]},{"1328475467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475466, 1328475471, 1328475468, 1328475467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09714722633362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:21:22.580601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0003.jpg', '/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0000.jpg', '/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0001.jpg', '/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/20/image_12012025_19_20_02_441911_0003.jpg
/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0000.jpg
/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0001.jpg
/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475481","1328475480","1328475479","1328475487"],"photo_ids_order":["1328475479","1328475480","1328475481","1328475487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7490d88730c93b2fe00575079e1c58e0.jpg","text":"TemporaryFile(/tmp/multipartBody4829727172721865022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706152861,"filename":"image_12012025_19_21_02_701435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf7b7d9da1baea9537dd87fb4901cdff.jpg","text":"TemporaryFile(/tmp/multipartBody2416521209958291643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706152861,"filename":"image_12012025_19_21_02_701435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af6d3c54c90b37922c2d05bb9269807a.jpg","text":"TemporaryFile(/tmp/multipartBody5362267359254440533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706152861,"filename":"image_12012025_19_20_02_441911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b1c2601f6585f01890c128e3ee8ea1b9.jpg","text":"TemporaryFile(/tmp/multipartBody994394219365875741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706152861,"filename":"image_12012025_19_21_02_701435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475481","file1":"1328475480","file0":"1328475479","file3":"1328475487"},"map_files_photo_id_array":[{"photo_id":"1328475481","filename":"file2"},{"photo_id":"1328475480","filename":"file1"},{"photo_id":"1328475479","filename":"file0"},{"photo_id":"1328475487","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475481":["hashtag1","hashtag2"]},{"1328475480":["hashtag1","hashtag2"]},{"1328475479":["hashtag1","hashtag2"]},{"1328475487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475481, 1328475480, 1328475479, 1328475487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.214011430740356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:22:22.749919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0003.jpg', '/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0000.jpg', '/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0001.jpg', '/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/21/image_12012025_19_21_02_701435_0003.jpg
/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0000.jpg
/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0001.jpg
/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475498","1328475501","1328475504","1328475500"],"photo_ids_order":["1328475498","1328475500","1328475501","1328475504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3eefc8a9d386d4e73008471953ed34d.jpg","text":"TemporaryFile(/tmp/multipartBody2562745001984597479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706212952,"filename":"image_12012025_19_21_02_701435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/164cb419c722d9b6ab38759ae8d1fe36.jpg","text":"TemporaryFile(/tmp/multipartBody3282392326421048269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706212952,"filename":"image_12012025_19_22_02_866339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/863214f92c7b88689f8b5c7eaffca5d4.jpg","text":"TemporaryFile(/tmp/multipartBody8047064616804535780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706212952,"filename":"image_12012025_19_22_02_866339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4158c1f25429e99d42d64743fd8143a5.jpg","text":"TemporaryFile(/tmp/multipartBody3366269280400464812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706212952,"filename":"image_12012025_19_22_02_866339_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475501","file1":"1328475500","file0":"1328475498","file3":"1328475504"},"map_files_photo_id_array":[{"photo_id":"1328475501","filename":"file2"},{"photo_id":"1328475500","filename":"file1"},{"photo_id":"1328475498","filename":"file0"},{"photo_id":"1328475504","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475498":["hashtag1","hashtag2"]},{"1328475501":["hashtag1","hashtag2"]},{"1328475504":["hashtag1","hashtag2"]},{"1328475500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475498, 1328475501, 1328475504, 1328475500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.1253604888916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:23:21.785648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0003.jpg', '/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0000.jpg', '/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0001.jpg', '/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/22/image_12012025_19_22_02_866339_0003.jpg
/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0000.jpg
/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0001.jpg
/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475514","1328475513","1328475515","1328475518"],"photo_ids_order":["1328475513","1328475514","1328475515","1328475518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1be189682d00744532c03d40a35346d8.jpg","text":"TemporaryFile(/tmp/multipartBody5752288520063953323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706272078,"filename":"image_12012025_19_23_03_067180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d093bcbc984c54870948bce0036de00.jpg","text":"TemporaryFile(/tmp/multipartBody41995756439450008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706272078,"filename":"image_12012025_19_22_02_866339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67da7ec49942b5244205056ef3a329e3.jpg","text":"TemporaryFile(/tmp/multipartBody2689467517892460948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706272078,"filename":"image_12012025_19_23_03_067180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a980f5604bd358db0adf023767c3ad83.jpg","text":"TemporaryFile(/tmp/multipartBody5836907844067332375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706272078,"filename":"image_12012025_19_23_03_067180_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475515","file1":"1328475514","file0":"1328475513","file3":"1328475518"},"map_files_photo_id_array":[{"photo_id":"1328475515","filename":"file2"},{"photo_id":"1328475514","filename":"file1"},{"photo_id":"1328475513","filename":"file0"},{"photo_id":"1328475518","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475514":["hashtag1","hashtag2"]},{"1328475513":["hashtag1","hashtag2"]},{"1328475515":["hashtag1","hashtag2"]},{"1328475518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475514, 1328475513, 1328475515, 1328475518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56550097465515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:24:21.960138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0003.jpg', '/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0000.jpg', '/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0001.jpg', '/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/23/image_12012025_19_23_03_067180_0003.jpg
/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0000.jpg
/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0001.jpg
/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475529","1328475528","1328475531","1328475525"],"photo_ids_order":["1328475525","1328475528","1328475529","1328475531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be11684da7aea8f178c373af9ad54765.jpg","text":"TemporaryFile(/tmp/multipartBody6080128640655664960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706332333,"filename":"image_12012025_19_24_02_125009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/498a624a23b0a4f368af53117ffe998c.jpg","text":"TemporaryFile(/tmp/multipartBody8989407770226435679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706332333,"filename":"image_12012025_19_24_02_125009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ec19a562f26c7d543114e6fb1364237.jpg","text":"TemporaryFile(/tmp/multipartBody3214380152180863456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706332333,"filename":"image_12012025_19_24_02_125009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9a6964b104ade590700296aa34dd537.jpg","text":"TemporaryFile(/tmp/multipartBody1613127649315161684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706332333,"filename":"image_12012025_19_23_03_067180_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475529","file1":"1328475528","file0":"1328475525","file3":"1328475531"},"map_files_photo_id_array":[{"photo_id":"1328475529","filename":"file2"},{"photo_id":"1328475528","filename":"file1"},{"photo_id":"1328475525","filename":"file0"},{"photo_id":"1328475531","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475529":["hashtag1","hashtag2"]},{"1328475528":["hashtag1","hashtag2"]},{"1328475531":["hashtag1","hashtag2"]},{"1328475525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475529, 1328475528, 1328475531, 1328475525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.288081407547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:25:02.703628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:25:22.108394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0003.jpg', '/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0000.jpg', '/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0001.jpg', '/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/24/image_12012025_19_24_02_125009_0003.jpg
/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0000.jpg
/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0001.jpg
/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475544","1328475547","1328475549","1328475542"],"photo_ids_order":["1328475542","1328475544","1328475547","1328475549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/31b8f492ab441f2ef762573983a0d370.jpg","text":"TemporaryFile(/tmp/multipartBody5858532042158650921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706392372,"filename":"image_12012025_19_25_02_402447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7e454b102bfe33d2a5e6d95c95606ed.jpg","text":"TemporaryFile(/tmp/multipartBody6418632509955357902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706392372,"filename":"image_12012025_19_25_02_402447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f60f4ca567c8e065eba893e4a4718b6.jpg","text":"TemporaryFile(/tmp/multipartBody4944032376040358857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706392372,"filename":"image_12012025_19_25_02_402447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5b1ed3157deb3a8d875af01086430c2.jpg","text":"TemporaryFile(/tmp/multipartBody7365652144173336829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706392372,"filename":"image_12012025_19_24_02_125009_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475547","file1":"1328475544","file0":"1328475542","file3":"1328475549"},"map_files_photo_id_array":[{"photo_id":"1328475547","filename":"file2"},{"photo_id":"1328475544","filename":"file1"},{"photo_id":"1328475542","filename":"file0"},{"photo_id":"1328475549","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475544":["hashtag1","hashtag2"]},{"1328475547":["hashtag1","hashtag2"]},{"1328475549":["hashtag1","hashtag2"]},{"1328475542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475544, 1328475547, 1328475549, 1328475542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.46304702758789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:26:22.267021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0003.jpg', '/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0000.jpg', '/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0001.jpg', '/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0003.jpg
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0000.jpg
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0001.jpg
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_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.902949810028076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 19:26:42.274386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0003.jpg', '/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0000.jpg', '/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0001.jpg', '/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/25/image_12012025_19_25_02_402447_0003.jpg
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0000.jpg
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0001.jpg
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475562","1328475563","1328475566","1328475569"],"photo_ids_order":["1328475562","1328475563","1328475566","1328475569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d1f49bdce67b938784c304c4e76dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody2029332132882013360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706472594,"filename":"image_12012025_19_25_02_402447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7da16309ad7c8184d6be66314de1a094.jpg","text":"TemporaryFile(/tmp/multipartBody5576469034037118981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706472594,"filename":"image_12012025_19_26_02_456366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/334f2184243cd2ad257e17c1d68d7797.jpg","text":"TemporaryFile(/tmp/multipartBody6412581907664399964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706472594,"filename":"image_12012025_19_26_02_456366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1037d3219e50945958b0aed1b6482b67.jpg","text":"TemporaryFile(/tmp/multipartBody8795476895026917500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706472594,"filename":"image_12012025_19_26_02_456366_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475566","file1":"1328475563","file0":"1328475562","file3":"1328475569"},"map_files_photo_id_array":[{"photo_id":"1328475566","filename":"file2"},{"photo_id":"1328475563","filename":"file1"},{"photo_id":"1328475562","filename":"file0"},{"photo_id":"1328475569","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475562":["hashtag1","hashtag2"]},{"1328475563":["hashtag1","hashtag2"]},{"1328475566":["hashtag1","hashtag2"]},{"1328475569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475562, 1328475563, 1328475566, 1328475569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.935575008392334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:27:32.438232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0003.jpg', '/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0000.jpg', '/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0001.jpg', '/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/26/image_12012025_19_26_02_456366_0003.jpg
/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0000.jpg
/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0001.jpg
/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475580","1328475582","1328475579","1328475581"],"photo_ids_order":["1328475579","1328475580","1328475581","1328475582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b9f6389da5f09edc6d1e346f6d89ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6805220318706928971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706522670,"filename":"image_12012025_19_27_02_662921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3c9ac78e82ffff1b472e9a808f6e5ec.jpg","text":"TemporaryFile(/tmp/multipartBody5067705098178208063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706522670,"filename":"image_12012025_19_27_02_662921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/93c0dcc2e22a979558d86d52756816e9.jpg","text":"TemporaryFile(/tmp/multipartBody1884011072699973941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706522670,"filename":"image_12012025_19_26_02_456366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e3ed8826247df919b47c1199e5f63c9.jpg","text":"TemporaryFile(/tmp/multipartBody2826960036154637624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706522670,"filename":"image_12012025_19_27_02_662921_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475581","file1":"1328475580","file0":"1328475579","file3":"1328475582"},"map_files_photo_id_array":[{"photo_id":"1328475581","filename":"file2"},{"photo_id":"1328475580","filename":"file1"},{"photo_id":"1328475579","filename":"file0"},{"photo_id":"1328475582","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475580":["hashtag1","hashtag2"]},{"1328475582":["hashtag1","hashtag2"]},{"1328475579":["hashtag1","hashtag2"]},{"1328475581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475580, 1328475582, 1328475579, 1328475581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.920700788497925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:28:22.611929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0003.jpg', '/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0000.jpg', '/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0001.jpg', '/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/27/image_12012025_19_27_02_662921_0003.jpg
/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0000.jpg
/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0001.jpg
/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475594","1328475600","1328475590","1328475598"],"photo_ids_order":["1328475590","1328475594","1328475598","1328475600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91e172fa41819796dc48d0507ef4df7b.jpg","text":"TemporaryFile(/tmp/multipartBody1623871293329749905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706573031,"filename":"image_12012025_19_28_02_834488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2fa51f4d68f5c65ce014512f301e69c5.jpg","text":"TemporaryFile(/tmp/multipartBody6277773813135549521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706573031,"filename":"image_12012025_19_28_02_834488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d7ed92e42df56dfd6eb29244d6d34607.jpg","text":"TemporaryFile(/tmp/multipartBody4432738568556648322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706573031,"filename":"image_12012025_19_27_02_662921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4861a4020aab974bd0e0050a08bafce3.jpg","text":"TemporaryFile(/tmp/multipartBody2840603288545869016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706573031,"filename":"image_12012025_19_28_02_834488_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475598","file1":"1328475594","file0":"1328475590","file3":"1328475600"},"map_files_photo_id_array":[{"photo_id":"1328475598","filename":"file2"},{"photo_id":"1328475594","filename":"file1"},{"photo_id":"1328475590","filename":"file0"},{"photo_id":"1328475600","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475594":["hashtag1","hashtag2"]},{"1328475600":["hashtag1","hashtag2"]},{"1328475590":["hashtag1","hashtag2"]},{"1328475598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475594, 1328475600, 1328475590, 1328475598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.9302282333374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:29:22.704329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0003.jpg', '/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0000.jpg', '/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0001.jpg', '/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/28/image_12012025_19_28_02_834488_0003.jpg
/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0000.jpg
/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0001.jpg
/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475616","1328475619","1328475626","1328475623"],"photo_ids_order":["1328475616","1328475619","1328475623","1328475626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/897f07d3347a8c47921cd50c8d783f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6687072561343190243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706633004,"filename":"image_12012025_19_28_02_834488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8eb3662a5a52631961f43997040d7f9f.jpg","text":"TemporaryFile(/tmp/multipartBody9088648843735298422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706633004,"filename":"image_12012025_19_29_02_929349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44956e724ba38e5f6c8a99e39358ebd9.jpg","text":"TemporaryFile(/tmp/multipartBody9081420113045769072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706633004,"filename":"image_12012025_19_29_02_929349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/184fc4d0416db8ad9de8a15ba6e1be2b.jpg","text":"TemporaryFile(/tmp/multipartBody1845250457792904508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706633004,"filename":"image_12012025_19_29_02_929349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475623","file1":"1328475619","file0":"1328475616","file3":"1328475626"},"map_files_photo_id_array":[{"photo_id":"1328475623","filename":"file2"},{"photo_id":"1328475619","filename":"file1"},{"photo_id":"1328475616","filename":"file0"},{"photo_id":"1328475626","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475616":["hashtag1","hashtag2"]},{"1328475619":["hashtag1","hashtag2"]},{"1328475626":["hashtag1","hashtag2"]},{"1328475623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475616, 1328475619, 1328475626, 1328475623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.27989673614502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:30:21.848531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0003.jpg', '/home/pi/Desktop/images/12012025/19/30/image_12012025_19_30_03_076226_0001.jpg', '/home/pi/Desktop/images/12012025/19/30/image_12012025_19_30_03_076226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/29/image_12012025_19_29_02_929349_0003.jpg
/home/pi/Desktop/images/12012025/19/30/image_12012025_19_30_03_076226_0001.jpg
/home/pi/Desktop/images/12012025/19/30/image_12012025_19_30_03_076226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475643","1328475638","1328475641"],"photo_ids_order":["1328475638","1328475641","1328475643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/706067669160906a7cda0c3e8189460a.jpg","text":"TemporaryFile(/tmp/multipartBody6152694776813175290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706689696,"filename":"image_12012025_19_30_03_076226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53966d1b4ccca8082027f6447a146521.jpg","text":"TemporaryFile(/tmp/multipartBody533226731759215070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706689696,"filename":"image_12012025_19_29_02_929349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7687bd5c5bc387022404be5d0d14dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody9055249617696687152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706689696,"filename":"image_12012025_19_30_03_076226_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475643","file1":"1328475641","file0":"1328475638"},"map_files_photo_id_array":[{"photo_id":"1328475643","filename":"file2"},{"photo_id":"1328475641","filename":"file1"},{"photo_id":"1328475638","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475643":["hashtag1","hashtag2"]},{"1328475638":["hashtag1","hashtag2"]},{"1328475641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475643, 1328475638, 1328475641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.185012578964233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:31:02.842527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:31:22.105796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/30/image_12012025_19_30_03_076226_0003.jpg', '/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0000.jpg', '/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0001.jpg', '/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/30/image_12012025_19_30_03_076226_0003.jpg
/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0000.jpg
/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0001.jpg
/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475757","1328475753","1328475756","1328475755"],"photo_ids_order":["1328475753","1328475755","1328475756","1328475757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff3ed06289b3677776f34e03a6484c42.jpg","text":"TemporaryFile(/tmp/multipartBody8685429903862350772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706752260,"filename":"image_12012025_19_31_02_263009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7933d296e1dedb6c534177c309abf4f.jpg","text":"TemporaryFile(/tmp/multipartBody6362529612149678515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706752260,"filename":"image_12012025_19_30_03_076226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ab7208938c5f30e0cf176f248b7f675e.jpg","text":"TemporaryFile(/tmp/multipartBody1105427440566415766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706752260,"filename":"image_12012025_19_31_02_263009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a6596aa94019ab3e239f5a2b294bc6ba.jpg","text":"TemporaryFile(/tmp/multipartBody3962772658025034365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706752260,"filename":"image_12012025_19_31_02_263009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475756","file1":"1328475755","file0":"1328475753","file3":"1328475757"},"map_files_photo_id_array":[{"photo_id":"1328475756","filename":"file2"},{"photo_id":"1328475755","filename":"file1"},{"photo_id":"1328475753","filename":"file0"},{"photo_id":"1328475757","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475757":["hashtag1","hashtag2"]},{"1328475753":["hashtag1","hashtag2"]},{"1328475756":["hashtag1","hashtag2"]},{"1328475755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475757, 1328475753, 1328475756, 1328475755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67548489570618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:32:02.653250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:32:22.208507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0003.jpg', '/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0000.jpg', '/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0001.jpg', '/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0003.jpg
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0000.jpg
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0001.jpg
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_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.870794534683228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 19:32:42.280265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0003.jpg', '/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0000.jpg', '/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0001.jpg', '/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/31/image_12012025_19_31_02_263009_0003.jpg
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0000.jpg
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0001.jpg
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475772","1328475771","1328475774","1328475776"],"photo_ids_order":["1328475771","1328475772","1328475774","1328475776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2d281239e3a90f85818f15107c07eba.jpg","text":"TemporaryFile(/tmp/multipartBody7520557320184415230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706832559,"filename":"image_12012025_19_32_02_435636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6f75ccd3f2abadf1404ebd85cc41b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6564033591341261375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706832559,"filename":"image_12012025_19_31_02_263009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d9e31aebccf749c145e0ee8168b273e.jpg","text":"TemporaryFile(/tmp/multipartBody3475069528651882574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706832559,"filename":"image_12012025_19_32_02_435636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1038860b40240dfb6bdcc17833c54529.jpg","text":"TemporaryFile(/tmp/multipartBody2498228223868824490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706832559,"filename":"image_12012025_19_32_02_435636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475774","file1":"1328475772","file0":"1328475771","file3":"1328475776"},"map_files_photo_id_array":[{"photo_id":"1328475774","filename":"file2"},{"photo_id":"1328475772","filename":"file1"},{"photo_id":"1328475771","filename":"file0"},{"photo_id":"1328475776","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475772":["hashtag1","hashtag2"]},{"1328475771":["hashtag1","hashtag2"]},{"1328475774":["hashtag1","hashtag2"]},{"1328475776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475772, 1328475771, 1328475774, 1328475776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.21855568885803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:33:32.392168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0003.jpg', '/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0000.jpg', '/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0001.jpg', '/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/32/image_12012025_19_32_02_435636_0003.jpg
/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0000.jpg
/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0001.jpg
/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475786","1328475785","1328475804","1328475803"],"photo_ids_order":["1328475785","1328475786","1328475803","1328475804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33ef2bc4453f7bad656aabf63237bb12.jpg","text":"TemporaryFile(/tmp/multipartBody5751513043431622954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706882490,"filename":"image_12012025_19_33_02_526371_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/791396e9293f2b692b73865eab18b643.jpg","text":"TemporaryFile(/tmp/multipartBody8226681386032909234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706882490,"filename":"image_12012025_19_32_02_435636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/549f59c495ca5b9eb32399e623de8ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3003389814659755285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706882490,"filename":"image_12012025_19_33_02_526371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/608a7e748c27f6ba82b973d208e77126.jpg","text":"TemporaryFile(/tmp/multipartBody5000812174555198960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706882490,"filename":"image_12012025_19_33_02_526371_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475803","file1":"1328475786","file0":"1328475785","file3":"1328475804"},"map_files_photo_id_array":[{"photo_id":"1328475803","filename":"file2"},{"photo_id":"1328475786","filename":"file1"},{"photo_id":"1328475785","filename":"file0"},{"photo_id":"1328475804","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475786":["hashtag1","hashtag2"]},{"1328475785":["hashtag1","hashtag2"]},{"1328475804":["hashtag1","hashtag2"]},{"1328475803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475786, 1328475785, 1328475804, 1328475803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53880214691162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:34:22.638711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0003.jpg', '/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0000.jpg', '/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0001.jpg', '/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/33/image_12012025_19_33_02_526371_0003.jpg
/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0000.jpg
/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0001.jpg
/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475817","1328475813","1328475812","1328475815"],"photo_ids_order":["1328475812","1328475813","1328475815","1328475817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b54d97acd652cf0dbf1406d265e8c355.jpg","text":"TemporaryFile(/tmp/multipartBody5026308963836968598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706932861,"filename":"image_12012025_19_34_02_741708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37d4b2d50589bfd9c24b0bfc111d0c62.jpg","text":"TemporaryFile(/tmp/multipartBody4446821899101408790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706932861,"filename":"image_12012025_19_34_02_741708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7743c2c4db1d60d69456c2687a34dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5904536203994196696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706932861,"filename":"image_12012025_19_33_02_526371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26f452c371464fb003a333279c22b9f7.jpg","text":"TemporaryFile(/tmp/multipartBody3436895876481538203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706932861,"filename":"image_12012025_19_34_02_741708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475815","file1":"1328475813","file0":"1328475812","file3":"1328475817"},"map_files_photo_id_array":[{"photo_id":"1328475815","filename":"file2"},{"photo_id":"1328475813","filename":"file1"},{"photo_id":"1328475812","filename":"file0"},{"photo_id":"1328475817","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475817":["hashtag1","hashtag2"]},{"1328475813":["hashtag1","hashtag2"]},{"1328475812":["hashtag1","hashtag2"]},{"1328475815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475817, 1328475813, 1328475812, 1328475815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19117307662964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:35:21.848635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0003.jpg', '/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0000.jpg', '/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0001.jpg', '/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/34/image_12012025_19_34_02_741708_0003.jpg
/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0000.jpg
/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0001.jpg
/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475825","1328475828","1328475824","1328475827"],"photo_ids_order":["1328475824","1328475825","1328475827","1328475828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96d254b609f12e721ccfe0fc27d71878.jpg","text":"TemporaryFile(/tmp/multipartBody6103460944861987989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706992200,"filename":"image_12012025_19_35_02_963235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80d74139f0c08b2aca89cef036af281b.jpg","text":"TemporaryFile(/tmp/multipartBody524960579228066977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706992200,"filename":"image_12012025_19_35_02_963235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/465dc73315550e325edd780fc7b9b401.jpg","text":"TemporaryFile(/tmp/multipartBody5238709599929771315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706992200,"filename":"image_12012025_19_34_02_741708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47daedfec494685f88cf182455e0d8ef.jpg","text":"TemporaryFile(/tmp/multipartBody5037473652928963123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736706992200,"filename":"image_12012025_19_35_02_963235_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475827","file1":"1328475825","file0":"1328475824","file3":"1328475828"},"map_files_photo_id_array":[{"photo_id":"1328475827","filename":"file2"},{"photo_id":"1328475825","filename":"file1"},{"photo_id":"1328475824","filename":"file0"},{"photo_id":"1328475828","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475825":["hashtag1","hashtag2"]},{"1328475828":["hashtag1","hashtag2"]},{"1328475824":["hashtag1","hashtag2"]},{"1328475827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475825, 1328475828, 1328475824, 1328475827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.31942939758301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:36:22.060429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0003.jpg', '/home/pi/Desktop/images/12012025/19/36/image_12012025_19_36_02_172146_0000.jpg', '/home/pi/Desktop/images/12012025/19/36/image_12012025_19_36_02_172146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/35/image_12012025_19_35_02_963235_0003.jpg
/home/pi/Desktop/images/12012025/19/36/image_12012025_19_36_02_172146_0000.jpg
/home/pi/Desktop/images/12012025/19/36/image_12012025_19_36_02_172146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475858","1328475855","1328475860"],"photo_ids_order":["1328475855","1328475858","1328475860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68ab1c0b4dd8573de664980ff9e34c57.jpg","text":"TemporaryFile(/tmp/multipartBody4294045511005308035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707049942,"filename":"image_12012025_19_36_02_172146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b7aabf2226ad0127c30853af4b48e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody6868759921654313426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707049942,"filename":"image_12012025_19_35_02_963235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/571d745d436c82588138a77011454e09.jpg","text":"TemporaryFile(/tmp/multipartBody4200907568379605715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707049942,"filename":"image_12012025_19_36_02_172146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475860","file1":"1328475858","file0":"1328475855"},"map_files_photo_id_array":[{"photo_id":"1328475860","filename":"file2"},{"photo_id":"1328475858","filename":"file1"},{"photo_id":"1328475855","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475858":["hashtag1","hashtag2"]},{"1328475855":["hashtag1","hashtag2"]},{"1328475860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475858, 1328475855, 1328475860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.755441427230835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:37:02.774103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:37:22.167720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/36/image_12012025_19_36_02_172146_0003.jpg', '/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0000.jpg', '/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0001.jpg', '/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/36/image_12012025_19_36_02_172146_0003.jpg
/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0000.jpg
/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0001.jpg
/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475913","1328475915","1328475911","1328475914"],"photo_ids_order":["1328475911","1328475913","1328475914","1328475915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3175abb4c7b64f7a33342215fe6e7460.jpg","text":"TemporaryFile(/tmp/multipartBody7361423727579828242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707112472,"filename":"image_12012025_19_37_02_389210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9a1292cae0343445cf63383e90e9fa9c.jpg","text":"TemporaryFile(/tmp/multipartBody6140941414244132502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707112472,"filename":"image_12012025_19_37_02_389210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d530e94067c56d8f4a07517e9818398b.jpg","text":"TemporaryFile(/tmp/multipartBody9168360067702263758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707112472,"filename":"image_12012025_19_36_02_172146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e6f6b395610c38a0debb96903919a66.jpg","text":"TemporaryFile(/tmp/multipartBody3860616999647330609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707112472,"filename":"image_12012025_19_37_02_389210_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475914","file1":"1328475913","file0":"1328475911","file3":"1328475915"},"map_files_photo_id_array":[{"photo_id":"1328475914","filename":"file2"},{"photo_id":"1328475913","filename":"file1"},{"photo_id":"1328475911","filename":"file0"},{"photo_id":"1328475915","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475913":["hashtag1","hashtag2"]},{"1328475915":["hashtag1","hashtag2"]},{"1328475911":["hashtag1","hashtag2"]},{"1328475914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475913, 1328475915, 1328475911, 1328475914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1981680393219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:38:02.588406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:38:22.339742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0003.jpg', '/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0000.jpg', '/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0001.jpg', '/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0003.jpg
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0000.jpg
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0001.jpg
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_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.830210208892822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 19:38:42.318937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0003.jpg', '/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0000.jpg', '/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0001.jpg', '/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/37/image_12012025_19_37_02_389210_0003.jpg
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0000.jpg
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0001.jpg
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_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":["1328475964","1328475961","1328475962","1328475959"],"photo_ids_order":["1328475959","1328475961","1328475962","1328475964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3dce025befc7808c03010c1e2a97cf41.jpg","text":"TemporaryFile(/tmp/multipartBody5720347835543556496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707192592,"filename":"image_12012025_19_38_02_654509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcc40498320b31b2b6f074f83d346e62.jpg","text":"TemporaryFile(/tmp/multipartBody3372638112914014664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707192592,"filename":"image_12012025_19_38_02_654509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/646bf56cf269b029826b14135c4ef458.jpg","text":"TemporaryFile(/tmp/multipartBody7191797689669229577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707192592,"filename":"image_12012025_19_38_02_654509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2cf9dae07213566b7963ca35e076c26d.jpg","text":"TemporaryFile(/tmp/multipartBody2054007861907762106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707192592,"filename":"image_12012025_19_37_02_389210_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475962","file1":"1328475961","file0":"1328475959","file3":"1328475964"},"map_files_photo_id_array":[{"photo_id":"1328475962","filename":"file2"},{"photo_id":"1328475961","filename":"file1"},{"photo_id":"1328475959","filename":"file0"},{"photo_id":"1328475964","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475964":["hashtag1","hashtag2"]},{"1328475961":["hashtag1","hashtag2"]},{"1328475962":["hashtag1","hashtag2"]},{"1328475959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475964, 1328475961, 1328475962, 1328475959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.883012771606445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:39:22.521960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0003.jpg', '/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0000.jpg', '/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0001.jpg', '/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/38/image_12012025_19_38_02_654509_0003.jpg
/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0000.jpg
/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0001.jpg
/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328475978","1328475971","1328475974","1328475976"],"photo_ids_order":["1328475971","1328475974","1328475976","1328475978"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1db527302603cc9d6688f57e7c35c9ee.jpg","text":"TemporaryFile(/tmp/multipartBody8607820657597926679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707232900,"filename":"image_12012025_19_39_02_679568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fbe75ace00a859d7091194f756655bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2260791489782967461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707232900,"filename":"image_12012025_19_38_02_654509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d967d8796d23d878bb813f5c0efc3403.jpg","text":"TemporaryFile(/tmp/multipartBody6896333252264127793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707232900,"filename":"image_12012025_19_39_02_679568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48349d2e4b7db5a895be8cf160604696.jpg","text":"TemporaryFile(/tmp/multipartBody5143578104701373316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707232900,"filename":"image_12012025_19_39_02_679568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328475976","file1":"1328475974","file0":"1328475971","file3":"1328475978"},"map_files_photo_id_array":[{"photo_id":"1328475976","filename":"file2"},{"photo_id":"1328475974","filename":"file1"},{"photo_id":"1328475971","filename":"file0"},{"photo_id":"1328475978","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328475978":["hashtag1","hashtag2"]},{"1328475971":["hashtag1","hashtag2"]},{"1328475974":["hashtag1","hashtag2"]},{"1328475976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328475978, 1328475971, 1328475974, 1328475976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.45975685119629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:40:22.751144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0003.jpg', '/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0000.jpg', '/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0001.jpg', '/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/39/image_12012025_19_39_02_679568_0003.jpg
/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0000.jpg
/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0001.jpg
/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476021","1328476015","1328476023","1328476025"],"photo_ids_order":["1328476015","1328476021","1328476023","1328476025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/232b838468a21b9b8f3f20744e759040.jpg","text":"TemporaryFile(/tmp/multipartBody2212689880145260333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707293109,"filename":"image_12012025_19_40_02_899836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/349a49c0cd925f22be18fc9b315dc840.jpg","text":"TemporaryFile(/tmp/multipartBody8910021530198571065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707293109,"filename":"image_12012025_19_39_02_679568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a534418d4096f94eecc814a2b74b2f7.jpg","text":"TemporaryFile(/tmp/multipartBody7520250599413203718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707293109,"filename":"image_12012025_19_40_02_899836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9ac2428237b0b819c9d33ebbe78f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody3946173994808692535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707293109,"filename":"image_12012025_19_40_02_899836_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476023","file1":"1328476021","file0":"1328476015","file3":"1328476025"},"map_files_photo_id_array":[{"photo_id":"1328476023","filename":"file2"},{"photo_id":"1328476021","filename":"file1"},{"photo_id":"1328476015","filename":"file0"},{"photo_id":"1328476025","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476021":["hashtag1","hashtag2"]},{"1328476015":["hashtag1","hashtag2"]},{"1328476023":["hashtag1","hashtag2"]},{"1328476025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476021, 1328476015, 1328476023, 1328476025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.030935525894165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:41:21.936971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0003.jpg', '/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0000.jpg', '/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0001.jpg', '/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/40/image_12012025_19_40_02_899836_0003.jpg
/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0000.jpg
/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0001.jpg
/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476032","1328476040","1328476043","1328476037"],"photo_ids_order":["1328476032","1328476037","1328476040","1328476043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d6246dfc82358f06e4e6d80d3203133.jpg","text":"TemporaryFile(/tmp/multipartBody6343772236142042230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707352152,"filename":"image_12012025_19_40_02_899836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/195e9cd5861446432a1e5faa180200fd.jpg","text":"TemporaryFile(/tmp/multipartBody496920958513936870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707352152,"filename":"image_12012025_19_41_03_084955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/749c4c110df7e0f17f736cedf56ea0db.jpg","text":"TemporaryFile(/tmp/multipartBody5288586142284488091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707352152,"filename":"image_12012025_19_41_03_084955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1bb0542e2cda7ef24e6b55bc5dd9c8b5.jpg","text":"TemporaryFile(/tmp/multipartBody120442218792014107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707352152,"filename":"image_12012025_19_41_03_084955_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476040","file1":"1328476037","file0":"1328476032","file3":"1328476043"},"map_files_photo_id_array":[{"photo_id":"1328476040","filename":"file2"},{"photo_id":"1328476037","filename":"file1"},{"photo_id":"1328476032","filename":"file0"},{"photo_id":"1328476043","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476032":["hashtag1","hashtag2"]},{"1328476040":["hashtag1","hashtag2"]},{"1328476043":["hashtag1","hashtag2"]},{"1328476037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476032, 1328476040, 1328476043, 1328476037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29242920875549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:42:02.507081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:42:22.080666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0003.jpg', '/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0000.jpg', '/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0001.jpg', '/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/41/image_12012025_19_41_03_084955_0003.jpg
/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0000.jpg
/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0001.jpg
/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476054","1328476056","1328476055","1328476058"],"photo_ids_order":["1328476054","1328476055","1328476056","1328476058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f27d0d48468422555b1129297ec91608.jpg","text":"TemporaryFile(/tmp/multipartBody8535428449372414268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707412208,"filename":"image_12012025_19_41_03_084955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41e84c94d3def1fc8031713583897136.jpg","text":"TemporaryFile(/tmp/multipartBody8653052874081806820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707412208,"filename":"image_12012025_19_42_02_191722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ca4a1ac9c1320cf499a9c25e519e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1184470062583038016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707412208,"filename":"image_12012025_19_42_02_191722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86c0ea68aa224a9265431b9c00a6d4f7.jpg","text":"TemporaryFile(/tmp/multipartBody1134626085613346380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707412208,"filename":"image_12012025_19_42_02_191722_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476056","file1":"1328476055","file0":"1328476054","file3":"1328476058"},"map_files_photo_id_array":[{"photo_id":"1328476056","filename":"file2"},{"photo_id":"1328476055","filename":"file1"},{"photo_id":"1328476054","filename":"file0"},{"photo_id":"1328476058","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476054":["hashtag1","hashtag2"]},{"1328476056":["hashtag1","hashtag2"]},{"1328476055":["hashtag1","hashtag2"]},{"1328476058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476054, 1328476056, 1328476055, 1328476058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02417182922363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:43:02.797937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:43:22.186489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0003.jpg', '/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0000.jpg', '/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0001.jpg', '/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/42/image_12012025_19_42_02_191722_0003.jpg
/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0000.jpg
/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0001.jpg
/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476092","1328476095","1328476094","1328476088"],"photo_ids_order":["1328476088","1328476092","1328476094","1328476095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c06f0c6f373cf692f6b231f5e82cfbbe.jpg","text":"TemporaryFile(/tmp/multipartBody4315557860239497457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707472403,"filename":"image_12012025_19_43_02_389851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35ec33580d02b46fa43d49c592057bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2999018339569184523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707472403,"filename":"image_12012025_19_43_02_389851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a507339da7cdd78f668977828954b97c.jpg","text":"TemporaryFile(/tmp/multipartBody6712213010712394394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707472403,"filename":"image_12012025_19_43_02_389851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eb096b6f6346fae590e0c7a7e2a712a9.jpg","text":"TemporaryFile(/tmp/multipartBody2893035811059562406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707472403,"filename":"image_12012025_19_42_02_191722_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476094","file1":"1328476092","file0":"1328476088","file3":"1328476095"},"map_files_photo_id_array":[{"photo_id":"1328476094","filename":"file2"},{"photo_id":"1328476092","filename":"file1"},{"photo_id":"1328476088","filename":"file0"},{"photo_id":"1328476095","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476092":["hashtag1","hashtag2"]},{"1328476095":["hashtag1","hashtag2"]},{"1328476094":["hashtag1","hashtag2"]},{"1328476088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476092, 1328476095, 1328476094, 1328476088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.65134596824646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:44:22.368972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0003.jpg', '/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0000.jpg', '/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0001.jpg', '/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_02_389851_0003.jpg
/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0000.jpg
/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0001.jpg
/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476114","1328476191","1328476263","1328476112"],"photo_ids_order":["1328476112","1328476114","1328476191","1328476263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ae80a031e61c6f4eb07a59a31f35474.jpg","text":"TemporaryFile(/tmp/multipartBody7369969665213267223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707532663,"filename":"image_12012025_19_44_02_629873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c52de4e53022f73dc9a25d862de5787a.jpg","text":"TemporaryFile(/tmp/multipartBody180006314197451040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707532663,"filename":"image_12012025_19_44_02_629873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57d48b536b0f589a9bb9e2bf893a44d5.jpg","text":"TemporaryFile(/tmp/multipartBody3427864123396946765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707532663,"filename":"image_12012025_19_44_02_629873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c6f70f612d3c9414260678da70b24411.jpg","text":"TemporaryFile(/tmp/multipartBody7557862213635354612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707532663,"filename":"image_12012025_19_43_02_389851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476191","file1":"1328476114","file0":"1328476112","file3":"1328476263"},"map_files_photo_id_array":[{"photo_id":"1328476191","filename":"file2"},{"photo_id":"1328476114","filename":"file1"},{"photo_id":"1328476112","filename":"file0"},{"photo_id":"1328476263","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476114":["hashtag1","hashtag2"]},{"1328476191":["hashtag1","hashtag2"]},{"1328476263":["hashtag1","hashtag2"]},{"1328476112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476114, 1328476191, 1328476263, 1328476112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.261922121047974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:45:22.594952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0003.jpg', '/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0000.jpg', '/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0001.jpg', '/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/44/image_12012025_19_44_02_629873_0003.jpg
/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0000.jpg
/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0001.jpg
/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476290","1328476285","1328476282","1328476279"],"photo_ids_order":["1328476279","1328476282","1328476285","1328476290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/206e8a3b9cff21549d560fea513b2fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8087737190321614475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707592894,"filename":"image_12012025_19_45_02_721170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3092bbac1456cd3ba64fa614a47c4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2293932845729492740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707592894,"filename":"image_12012025_19_45_02_721170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9bde43d5a8857d565f4762e5b6514d54.jpg","text":"TemporaryFile(/tmp/multipartBody8068924350934817529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707592894,"filename":"image_12012025_19_45_02_721170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8e2cbd863c3da9e1e2afa1c0a1d9e5e.jpg","text":"TemporaryFile(/tmp/multipartBody1946484904725206639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707592894,"filename":"image_12012025_19_44_02_629873_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476285","file1":"1328476282","file0":"1328476279","file3":"1328476290"},"map_files_photo_id_array":[{"photo_id":"1328476285","filename":"file2"},{"photo_id":"1328476282","filename":"file1"},{"photo_id":"1328476279","filename":"file0"},{"photo_id":"1328476290","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476290":["hashtag1","hashtag2"]},{"1328476285":["hashtag1","hashtag2"]},{"1328476282":["hashtag1","hashtag2"]},{"1328476279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476290, 1328476285, 1328476282, 1328476279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32404923439026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:46:03.086842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:46:22.691875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0003.jpg', '/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0000.jpg', '/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0001.jpg', '/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/45/image_12012025_19_45_02_721170_0003.jpg
/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0000.jpg
/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0001.jpg
/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476309","1328476308","1328476307","1328476310"],"photo_ids_order":["1328476307","1328476308","1328476309","1328476310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f109381e542b2739cdc276f39fcf2881.jpg","text":"TemporaryFile(/tmp/multipartBody4420136767846916290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707652964,"filename":"image_12012025_19_46_03_025203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9aa48578023279447a8adbdd89e6ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4376138020795568277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707652964,"filename":"image_12012025_19_46_03_025203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4dd6508a878b1de368880a7ce199ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody1640796946237332521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707652964,"filename":"image_12012025_19_45_02_721170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c8bbfbbd0984ce2eb0542a23a6bb17f.jpg","text":"TemporaryFile(/tmp/multipartBody4675788674588535470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707652964,"filename":"image_12012025_19_46_03_025203_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476309","file1":"1328476308","file0":"1328476307","file3":"1328476310"},"map_files_photo_id_array":[{"photo_id":"1328476309","filename":"file2"},{"photo_id":"1328476308","filename":"file1"},{"photo_id":"1328476307","filename":"file0"},{"photo_id":"1328476310","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476309":["hashtag1","hashtag2"]},{"1328476308":["hashtag1","hashtag2"]},{"1328476307":["hashtag1","hashtag2"]},{"1328476310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476309, 1328476308, 1328476307, 1328476310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.5383460521698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:47:21.947407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0003.jpg', '/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0000.jpg', '/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0001.jpg', '/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/46/image_12012025_19_46_03_025203_0003.jpg
/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0000.jpg
/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0001.jpg
/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476318","1328476323","1328476322","1328476321"],"photo_ids_order":["1328476318","1328476321","1328476322","1328476323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24657d8568502bc3e5f55ade2e43a57d.jpg","text":"TemporaryFile(/tmp/multipartBody2559911431572927555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707712150,"filename":"image_12012025_19_46_03_025203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ae2e4d1ec22dff1b0ff618c43ea23c2.jpg","text":"TemporaryFile(/tmp/multipartBody6568081627232277446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707712150,"filename":"image_12012025_19_47_03_116523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4f0f202920aeb54de16ab2d1fe7f2096.jpg","text":"TemporaryFile(/tmp/multipartBody7979471923968195266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707712150,"filename":"image_12012025_19_47_03_116523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e62a644f4ad036ebebaba033b2c8ef47.jpg","text":"TemporaryFile(/tmp/multipartBody981963484899790184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707712150,"filename":"image_12012025_19_47_03_116523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476322","file1":"1328476321","file0":"1328476318","file3":"1328476323"},"map_files_photo_id_array":[{"photo_id":"1328476322","filename":"file2"},{"photo_id":"1328476321","filename":"file1"},{"photo_id":"1328476318","filename":"file0"},{"photo_id":"1328476323","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476318":["hashtag1","hashtag2"]},{"1328476323":["hashtag1","hashtag2"]},{"1328476322":["hashtag1","hashtag2"]},{"1328476321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476318, 1328476323, 1328476322, 1328476321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.175992488861084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:48:22.145036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0003.jpg', '/home/pi/Desktop/images/12012025/19/48/image_12012025_19_48_02_391485_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0003.jpg
/home/pi/Desktop/images/12012025/19/48/image_12012025_19_48_02_391485_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.096960067749023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 19:48:32.075419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0003.jpg', '/home/pi/Desktop/images/12012025/19/48/image_12012025_19_48_02_391485_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/47/image_12012025_19_47_03_116523_0003.jpg
/home/pi/Desktop/images/12012025/19/48/image_12012025_19_48_02_391485_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":["1328476335","1328476337"],"photo_ids_order":["1328476335","1328476337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd842fbdf6f9ed5b378a6eb74bb581f2.jpg","text":"TemporaryFile(/tmp/multipartBody7562258528629132308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707777609,"filename":"image_12012025_19_47_03_116523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53dda72a402807a58667167c0dd4ab06.jpg","text":"TemporaryFile(/tmp/multipartBody7952139060564098381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707777609,"filename":"image_12012025_19_48_02_391485_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328476337","file0":"1328476335"},"map_files_photo_id_array":[{"photo_id":"1328476337","filename":"file1"},{"photo_id":"1328476335","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476335":["hashtag1","hashtag2"]},{"1328476337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476335, 1328476337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.633506298065186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:49:02.882429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:49:22.326325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/48/image_12012025_19_48_02_391485_0001.jpg', '/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0000.jpg', '/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0001.jpg', '/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/48/image_12012025_19_48_02_391485_0001.jpg
/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0000.jpg
/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0001.jpg
/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476350","1328476353","1328476347","1328476352"],"photo_ids_order":["1328476347","1328476350","1328476352","1328476353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ad6364dadac9a906d1f02b258d19fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1349558185620369482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707832649,"filename":"image_12012025_19_49_02_478724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d1a3661a7866308fcc06097f123ba0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6536612389652980431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707832649,"filename":"image_12012025_19_49_02_478724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2e70d49518f7a3376f8ab80fda9ceb9d.jpg","text":"TemporaryFile(/tmp/multipartBody4771904969308909547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707832649,"filename":"image_12012025_19_48_02_391485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ef7a4860417bd8282cbf18be2968502.jpg","text":"TemporaryFile(/tmp/multipartBody9001928491672943027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707832649,"filename":"image_12012025_19_49_02_478724_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476352","file1":"1328476350","file0":"1328476347","file3":"1328476353"},"map_files_photo_id_array":[{"photo_id":"1328476352","filename":"file2"},{"photo_id":"1328476350","filename":"file1"},{"photo_id":"1328476347","filename":"file0"},{"photo_id":"1328476353","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476350":["hashtag1","hashtag2"]},{"1328476353":["hashtag1","hashtag2"]},{"1328476347":["hashtag1","hashtag2"]},{"1328476352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476350, 1328476353, 1328476347, 1328476352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.15463161468506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:50:22.490335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0003.jpg', '/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0000.jpg', '/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0001.jpg', '/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/49/image_12012025_19_49_02_478724_0003.jpg
/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0000.jpg
/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0001.jpg
/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476380","1328476374","1328476376","1328476378"],"photo_ids_order":["1328476374","1328476376","1328476378","1328476380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/501c530a26cb69bbe18b1da4f73623f4.jpg","text":"TemporaryFile(/tmp/multipartBody5694526771735029313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707892724,"filename":"image_12012025_19_50_02_641760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf019682371ec4d9e9f6aef8d662b479.jpg","text":"TemporaryFile(/tmp/multipartBody3856336418590166645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707892724,"filename":"image_12012025_19_49_02_478724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4fc73bc7174a6bf9fd1567a88a69932.jpg","text":"TemporaryFile(/tmp/multipartBody5013596427771815823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707892724,"filename":"image_12012025_19_50_02_641760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d06a6f38ed24b3f3607c6cf90aef09f8.jpg","text":"TemporaryFile(/tmp/multipartBody4482346885417781877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707892724,"filename":"image_12012025_19_50_02_641760_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476378","file1":"1328476376","file0":"1328476374","file3":"1328476380"},"map_files_photo_id_array":[{"photo_id":"1328476378","filename":"file2"},{"photo_id":"1328476376","filename":"file1"},{"photo_id":"1328476374","filename":"file0"},{"photo_id":"1328476380","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476380":["hashtag1","hashtag2"]},{"1328476374":["hashtag1","hashtag2"]},{"1328476376":["hashtag1","hashtag2"]},{"1328476378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476380, 1328476374, 1328476376, 1328476378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.033125162124634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:51:22.705444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0003.jpg', '/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0000.jpg', '/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0001.jpg', '/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/50/image_12012025_19_50_02_641760_0003.jpg
/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0000.jpg
/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0001.jpg
/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476392","1328476389","1328476394","1328476387"],"photo_ids_order":["1328476387","1328476389","1328476392","1328476394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f40f438f52d6432df428a0b7185bdb42.jpg","text":"TemporaryFile(/tmp/multipartBody4887086291120468359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707953148,"filename":"image_12012025_19_51_02_816861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eedb1fa1377d8dfc2deccea53e7a3934.jpg","text":"TemporaryFile(/tmp/multipartBody1492671170283637542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707953148,"filename":"image_12012025_19_51_02_816861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c33cc243dd8693825144be2b65e59f0.jpg","text":"TemporaryFile(/tmp/multipartBody5274780974831791131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707953148,"filename":"image_12012025_19_51_02_816861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c49a17d053e97a15eff1689ba052e728.jpg","text":"TemporaryFile(/tmp/multipartBody6915446582662240734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736707953148,"filename":"image_12012025_19_50_02_641760_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476392","file1":"1328476389","file0":"1328476387","file3":"1328476394"},"map_files_photo_id_array":[{"photo_id":"1328476392","filename":"file2"},{"photo_id":"1328476389","filename":"file1"},{"photo_id":"1328476387","filename":"file0"},{"photo_id":"1328476394","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476392":["hashtag1","hashtag2"]},{"1328476389":["hashtag1","hashtag2"]},{"1328476394":["hashtag1","hashtag2"]},{"1328476387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476392, 1328476389, 1328476394, 1328476387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06040811538696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:52:21.924669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0003.jpg', '/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0000.jpg', '/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0001.jpg', '/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_02_816861_0003.jpg
/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0000.jpg
/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0001.jpg
/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476402","1328476404","1328476406","1328476403"],"photo_ids_order":["1328476402","1328476403","1328476404","1328476406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf1d27c01dd03f75ab9e1b2f96f0ad29.jpg","text":"TemporaryFile(/tmp/multipartBody2220613967094357294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708012218,"filename":"image_12012025_19_51_02_816861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69cf494900fdaed97902d0b7eecf9851.jpg","text":"TemporaryFile(/tmp/multipartBody3561247279988198098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708012218,"filename":"image_12012025_19_52_03_026913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/66f56267f5d7614093b779381f6aef6a.jpg","text":"TemporaryFile(/tmp/multipartBody1869545467967693947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708012218,"filename":"image_12012025_19_52_03_026913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6877101502384f7f48c6c6728a443fb.jpg","text":"TemporaryFile(/tmp/multipartBody8685361378341754005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708012218,"filename":"image_12012025_19_52_03_026913_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476404","file1":"1328476403","file0":"1328476402","file3":"1328476406"},"map_files_photo_id_array":[{"photo_id":"1328476404","filename":"file2"},{"photo_id":"1328476403","filename":"file1"},{"photo_id":"1328476402","filename":"file0"},{"photo_id":"1328476406","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476402":["hashtag1","hashtag2"]},{"1328476404":["hashtag1","hashtag2"]},{"1328476406":["hashtag1","hashtag2"]},{"1328476403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476402, 1328476404, 1328476406, 1328476403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51233410835266 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-12 19:53:22.062435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0003.jpg', '/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0000.jpg', '/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0001.jpg', '/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/52/image_12012025_19_52_03_026913_0003.jpg
/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0000.jpg
/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0001.jpg
/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476422","1328476418","1328476421","1328476420"],"photo_ids_order":["1328476418","1328476420","1328476421","1328476422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f29714eadce2c6535fd56c445742e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5705562150908514174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708072088,"filename":"image_12012025_19_53_02_243002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95d4fb8d5ea834ae226356039eff23e9.jpg","text":"TemporaryFile(/tmp/multipartBody6141717444611296619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708072088,"filename":"image_12012025_19_52_03_026913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee61170c071258c0fa5112be8674c119.jpg","text":"TemporaryFile(/tmp/multipartBody8735140692956221787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708072088,"filename":"image_12012025_19_53_02_243002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68ec49ba2b8baaecbcdd16081670f10f.jpg","text":"TemporaryFile(/tmp/multipartBody4294431601734289782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708072088,"filename":"image_12012025_19_53_02_243002_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476421","file1":"1328476420","file0":"1328476418","file3":"1328476422"},"map_files_photo_id_array":[{"photo_id":"1328476421","filename":"file2"},{"photo_id":"1328476420","filename":"file1"},{"photo_id":"1328476418","filename":"file0"},{"photo_id":"1328476422","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476422":["hashtag1","hashtag2"]},{"1328476418":["hashtag1","hashtag2"]},{"1328476421":["hashtag1","hashtag2"]},{"1328476420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476422, 1328476418, 1328476421, 1328476420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04223656654358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:54:22.223993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0003.jpg', '/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0000.jpg', '/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0001.jpg', '/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/53/image_12012025_19_53_02_243002_0003.jpg
/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0000.jpg
/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0001.jpg
/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476431","1328476434","1328476433","1328476435"],"photo_ids_order":["1328476431","1328476433","1328476434","1328476435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c9214d0c9e5a0a9901a28c7660616690.jpg","text":"TemporaryFile(/tmp/multipartBody4556288616380113295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708132368,"filename":"image_12012025_19_53_02_243002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba245912031c86d45a3ccbdba7ef7da6.jpg","text":"TemporaryFile(/tmp/multipartBody5891424940690097315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708132368,"filename":"image_12012025_19_54_02_390636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50eed6ac6cec8d249aa997b0b941c10c.jpg","text":"TemporaryFile(/tmp/multipartBody8173726749547722098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708132368,"filename":"image_12012025_19_54_02_390636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1923bddcef6fcf317e8cd8221b0c6690.jpg","text":"TemporaryFile(/tmp/multipartBody9047715333962570968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708132368,"filename":"image_12012025_19_54_02_390636_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476434","file1":"1328476433","file0":"1328476431","file3":"1328476435"},"map_files_photo_id_array":[{"photo_id":"1328476434","filename":"file2"},{"photo_id":"1328476433","filename":"file1"},{"photo_id":"1328476431","filename":"file0"},{"photo_id":"1328476435","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476431":["hashtag1","hashtag2"]},{"1328476434":["hashtag1","hashtag2"]},{"1328476433":["hashtag1","hashtag2"]},{"1328476435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476431, 1328476434, 1328476433, 1328476435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.80651521682739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 19:55:02.855644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:55:22.422878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0003.jpg', '/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0000.jpg', '/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0001.jpg', '/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/54/image_12012025_19_54_02_390636_0003.jpg
/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0000.jpg
/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0001.jpg
/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476446","1328476443","1328476445","1328476447"],"photo_ids_order":["1328476443","1328476445","1328476446","1328476447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b46c25b11f1dd122cac4622e73ffcb54.jpg","text":"TemporaryFile(/tmp/multipartBody3660066511069260467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708192740,"filename":"image_12012025_19_55_02_586326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d700755c6fead8e5af81785c29a96dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3420885748306162650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708192740,"filename":"image_12012025_19_54_02_390636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ee0a62bbc738f467152f0779d341e9aa.jpg","text":"TemporaryFile(/tmp/multipartBody5078641338227237275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708192740,"filename":"image_12012025_19_55_02_586326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2b3c728892c1fc534a8b8d331faab6a.jpg","text":"TemporaryFile(/tmp/multipartBody7133520854128579767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708192740,"filename":"image_12012025_19_55_02_586326_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476446","file1":"1328476445","file0":"1328476443","file3":"1328476447"},"map_files_photo_id_array":[{"photo_id":"1328476446","filename":"file2"},{"photo_id":"1328476445","filename":"file1"},{"photo_id":"1328476443","filename":"file0"},{"photo_id":"1328476447","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476446":["hashtag1","hashtag2"]},{"1328476443":["hashtag1","hashtag2"]},{"1328476445":["hashtag1","hashtag2"]},{"1328476447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476446, 1328476443, 1328476445, 1328476447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.09775757789612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:56:22.597984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0003.jpg', '/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0000.jpg', '/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0001.jpg', '/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/55/image_12012025_19_55_02_586326_0003.jpg
/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0000.jpg
/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0001.jpg
/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476788","1328476773","1328476790","1328476786"],"photo_ids_order":["1328476773","1328476786","1328476788","1328476790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd82595abcca1c411a8c86df18162540.jpg","text":"TemporaryFile(/tmp/multipartBody7965798500237349582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708252788,"filename":"image_12012025_19_56_02_788418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/117899a0fc93b6e428893b703fb00a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3764144215525872130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708252788,"filename":"image_12012025_19_55_02_586326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d3bd85a485aa56a54ffe7ccdce75a449.jpg","text":"TemporaryFile(/tmp/multipartBody3567969362071918911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708252788,"filename":"image_12012025_19_56_02_788418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c8fb0fbcfbd16fd0d103b58ce3e24a5.jpg","text":"TemporaryFile(/tmp/multipartBody1589106450339217742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708252788,"filename":"image_12012025_19_56_02_788418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476788","file1":"1328476786","file0":"1328476773","file3":"1328476790"},"map_files_photo_id_array":[{"photo_id":"1328476788","filename":"file2"},{"photo_id":"1328476786","filename":"file1"},{"photo_id":"1328476773","filename":"file0"},{"photo_id":"1328476790","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476788":["hashtag1","hashtag2"]},{"1328476773":["hashtag1","hashtag2"]},{"1328476790":["hashtag1","hashtag2"]},{"1328476786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476788, 1328476773, 1328476790, 1328476786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.555222034454346 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-12 19:57:22.749494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0003.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0000.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0001.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0003.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0000.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0001.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_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-12 19:59:02.484716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0003.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0000.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0001.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0002.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0003.jpg', '/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0003.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0000.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0001.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0002.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0003.jpg
/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_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.69344449043274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 19:59:22.043474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0003.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0000.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0001.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0002.jpg', '/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0003.jpg', '/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/56/image_12012025_19_56_02_788418_0003.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0000.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0001.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0002.jpg
/home/pi/Desktop/images/12012025/19/57/image_12012025_19_57_02_956728_0003.jpg
/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_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":["1328476840","1328476842","1328476836","1328476833","1328476837","1328476846"],"photo_ids_order":["1328476833","1328476836","1328476837","1328476840","1328476842","1328476846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e51e44c0c4e3c1a4a8e3a05abda3fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody5679460239164474674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708437070,"filename":"image_12012025_19_57_02_956728_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98c0fe7870503394ecf55a0efe3e2e18.jpg","text":"TemporaryFile(/tmp/multipartBody8340566889545386693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708437070,"filename":"image_12012025_19_57_02_956728_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/340d54cc7b7a0b858495fb024072c49a.jpg","text":"TemporaryFile(/tmp/multipartBody8400470280376694349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708437070,"filename":"image_12012025_19_57_02_956728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce57eed83205a672002106c07c02676f.jpg","text":"TemporaryFile(/tmp/multipartBody5986940144181330028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708437070,"filename":"image_12012025_19_56_02_788418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b79afb971cfbc75eec156e453c58399.jpg","text":"TemporaryFile(/tmp/multipartBody811673156306730569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708437070,"filename":"image_12012025_19_57_02_956728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3ac4ab645c4aac0532169eb37c89bda.jpg","text":"TemporaryFile(/tmp/multipartBody7727439313964656762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708437070,"filename":"image_12012025_19_58_03_146631_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476837","file1":"1328476836","file0":"1328476833","file4":"1328476842","file5":"1328476846","file3":"1328476840"},"map_files_photo_id_array":[{"photo_id":"1328476846","filename":"file5"},{"photo_id":"1328476837","filename":"file2"},{"photo_id":"1328476842","filename":"file4"},{"photo_id":"1328476836","filename":"file1"},{"photo_id":"1328476833","filename":"file0"},{"photo_id":"1328476840","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476840":["hashtag1","hashtag2"]},{"1328476842":["hashtag1","hashtag2"]},{"1328476836":["hashtag1","hashtag2"]},{"1328476833":["hashtag1","hashtag2"]},{"1328476837":["hashtag1","hashtag2"]},{"1328476846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476840, 1328476842, 1328476836, 1328476833, 1328476837, 1328476846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56383752822876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:00:22.230810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0001.jpg', '/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0002.jpg', '/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0003.jpg', '/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0000.jpg', '/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0001.jpg', '/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0001.jpg
/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0002.jpg
/home/pi/Desktop/images/12012025/19/58/image_12012025_19_58_03_146631_0003.jpg
/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0000.jpg
/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0001.jpg
/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328476866","1328476869","1328476859","1328476861","1328476864","1328476867"],"photo_ids_order":["1328476859","1328476861","1328476864","1328476866","1328476867","1328476869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/202bcaa30a7224acc7fdfcec1ffa0ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6638946049035215267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708497106,"filename":"image_12012025_19_59_02_216408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a365802cd68bbe73b47044c827a8aa53.jpg","text":"TemporaryFile(/tmp/multipartBody3981908448866100649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708497106,"filename":"image_12012025_19_59_02_216408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a8584aae4b4983f803b47f6828eb09d.jpg","text":"TemporaryFile(/tmp/multipartBody3199363238775176513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708497106,"filename":"image_12012025_19_58_03_146631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c62a565b260d5cd4bad1114b8e7e42c1.jpg","text":"TemporaryFile(/tmp/multipartBody949885160925585910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708497106,"filename":"image_12012025_19_58_03_146631_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73ad1dfb9875eb8cb2b41d9d1e71a61b.jpg","text":"TemporaryFile(/tmp/multipartBody6940981558840815439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708497106,"filename":"image_12012025_19_58_03_146631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/275fa339bdd640ecf1055629ebe93238.jpg","text":"TemporaryFile(/tmp/multipartBody4214592044981722467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708497106,"filename":"image_12012025_19_59_02_216408_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328476864","file1":"1328476861","file0":"1328476859","file4":"1328476867","file5":"1328476869","file3":"1328476866"},"map_files_photo_id_array":[{"photo_id":"1328476869","filename":"file5"},{"photo_id":"1328476864","filename":"file2"},{"photo_id":"1328476867","filename":"file4"},{"photo_id":"1328476861","filename":"file1"},{"photo_id":"1328476859","filename":"file0"},{"photo_id":"1328476866","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328476866":["hashtag1","hashtag2"]},{"1328476869":["hashtag1","hashtag2"]},{"1328476859":["hashtag1","hashtag2"]},{"1328476861":["hashtag1","hashtag2"]},{"1328476864":["hashtag1","hashtag2"]},{"1328476867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328476866, 1328476869, 1328476859, 1328476861, 1328476864, 1328476867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.89987397193909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:01:22.466193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0003.jpg', '/home/pi/Desktop/images/12012025/20/00/image_12012025_20_00_02_385316_0000.jpg', '/home/pi/Desktop/images/12012025/20/00/image_12012025_20_00_02_385316_0001.jpg', '/home/pi/Desktop/images/12012025/20/00/image_12012025_20_00_02_385316_0003.jpg', '/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0000.jpg', '/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/19/59/image_12012025_19_59_02_216408_0003.jpg
/home/pi/Desktop/images/12012025/20/00/image_12012025_20_00_02_385316_0000.jpg
/home/pi/Desktop/images/12012025/20/00/image_12012025_20_00_02_385316_0001.jpg
/home/pi/Desktop/images/12012025/20/00/image_12012025_20_00_02_385316_0003.jpg
/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0000.jpg
/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_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":["1328477886","1328477891","1328477884","1328477887","1328477895","1328477889"],"photo_ids_order":["1328477884","1328477886","1328477887","1328477889","1328477891","1328477895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85e74bf353ae127eaa7a702d35e99a4d.jpg","text":"TemporaryFile(/tmp/multipartBody5939134407768076497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708557346,"filename":"image_12012025_20_00_02_385316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f3c2854216ca8120a8620e3470b8052.jpg","text":"TemporaryFile(/tmp/multipartBody1029064100848468301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708557346,"filename":"image_12012025_20_01_02_559096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d5360daef373d8196f5e24e25bd3ed22.jpg","text":"TemporaryFile(/tmp/multipartBody3400420299265897382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708557346,"filename":"image_12012025_19_59_02_216408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16f0a4a8b741f2c0f68f0f9f5ba39ae3.jpg","text":"TemporaryFile(/tmp/multipartBody9178758142569900202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708557346,"filename":"image_12012025_20_00_02_385316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69f70d51976f59187b4bd434a6e39438.jpg","text":"TemporaryFile(/tmp/multipartBody7349605103344566966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708557346,"filename":"image_12012025_20_01_02_559096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e8cdf9ca00cd40c70455e30ff2d0741.jpg","text":"TemporaryFile(/tmp/multipartBody4820923544235103600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708557346,"filename":"image_12012025_20_00_02_385316_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328477887","file1":"1328477886","file0":"1328477884","file4":"1328477891","file5":"1328477895","file3":"1328477889"},"map_files_photo_id_array":[{"photo_id":"1328477895","filename":"file5"},{"photo_id":"1328477887","filename":"file2"},{"photo_id":"1328477891","filename":"file4"},{"photo_id":"1328477886","filename":"file1"},{"photo_id":"1328477884","filename":"file0"},{"photo_id":"1328477889","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328477886":["hashtag1","hashtag2"]},{"1328477891":["hashtag1","hashtag2"]},{"1328477884":["hashtag1","hashtag2"]},{"1328477887":["hashtag1","hashtag2"]},{"1328477895":["hashtag1","hashtag2"]},{"1328477889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328477886, 1328477891, 1328477884, 1328477887, 1328477895, 1328477889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9265239238739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:02:22.518228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0002.jpg', '/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0003.jpg', '/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0000.jpg', '/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0001.jpg', '/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0002.jpg
/home/pi/Desktop/images/12012025/20/01/image_12012025_20_01_02_559096_0003.jpg
/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0000.jpg
/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0001.jpg
/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328477907","1328477915","1328477965","1328477911","1328477905"],"photo_ids_order":["1328477905","1328477907","1328477911","1328477915","1328477965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50502fa3a42037116940b774b2cb5079.jpg","text":"TemporaryFile(/tmp/multipartBody7786408990442396423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708615207,"filename":"image_12012025_20_01_02_559096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3bfff7a0221bed78e04c67b29d791a61.jpg","text":"TemporaryFile(/tmp/multipartBody4671999647132574988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708615207,"filename":"image_12012025_20_02_02_765516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30dc5348849fd88b23afaa7ed6ac3ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5985721315876100588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708615207,"filename":"image_12012025_20_02_02_765516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7bade1f5499a75f36cbcd93fc4fbb1e1.jpg","text":"TemporaryFile(/tmp/multipartBody746771840384905734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708615207,"filename":"image_12012025_20_02_02_765516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/59ec19bfc7c46f0f0448889ce5ba5429.jpg","text":"TemporaryFile(/tmp/multipartBody2446253634592462874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708615207,"filename":"image_12012025_20_01_02_559096_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328477911","file1":"1328477907","file0":"1328477905","file4":"1328477965","file3":"1328477915"},"map_files_photo_id_array":[{"photo_id":"1328477911","filename":"file2"},{"photo_id":"1328477965","filename":"file4"},{"photo_id":"1328477907","filename":"file1"},{"photo_id":"1328477905","filename":"file0"},{"photo_id":"1328477915","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328477907":["hashtag1","hashtag2"]},{"1328477915":["hashtag1","hashtag2"]},{"1328477965":["hashtag1","hashtag2"]},{"1328477911":["hashtag1","hashtag2"]},{"1328477905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328477907, 1328477915, 1328477965, 1328477911, 1328477905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.27486300468445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:03:21.803351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0003.jpg', '/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0000.jpg', '/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0001.jpg', '/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/02/image_12012025_20_02_02_765516_0003.jpg
/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0000.jpg
/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0001.jpg
/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479168","1328479171","1328479185","1328479245"],"photo_ids_order":["1328479168","1328479171","1328479185","1328479245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfd0ce1add490a56e58a2ba30346d604.jpg","text":"TemporaryFile(/tmp/multipartBody8281595604987272387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708672026,"filename":"image_12012025_20_02_02_765516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1e027e87dc7ac9710b3833169e0f1728.jpg","text":"TemporaryFile(/tmp/multipartBody7210783439097437050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708672026,"filename":"image_12012025_20_03_02_922310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d0e52380df0fb834be55b0508e887e3.jpg","text":"TemporaryFile(/tmp/multipartBody2320878807808142969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708672026,"filename":"image_12012025_20_03_02_922310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84d65f536f5659b34ee407692626744b.jpg","text":"TemporaryFile(/tmp/multipartBody1095479271846314145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708672026,"filename":"image_12012025_20_03_02_922310_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479185","file1":"1328479171","file0":"1328479168","file3":"1328479245"},"map_files_photo_id_array":[{"photo_id":"1328479185","filename":"file2"},{"photo_id":"1328479171","filename":"file1"},{"photo_id":"1328479168","filename":"file0"},{"photo_id":"1328479245","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479168":["hashtag1","hashtag2"]},{"1328479171":["hashtag1","hashtag2"]},{"1328479185":["hashtag1","hashtag2"]},{"1328479245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479168, 1328479171, 1328479185, 1328479245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.13629961013794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:04:22.105296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0003.jpg', '/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0000.jpg', '/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0001.jpg', '/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/03/image_12012025_20_03_02_922310_0003.jpg
/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0000.jpg
/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0001.jpg
/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479547","1328479550","1328479552","1328479549"],"photo_ids_order":["1328479547","1328479549","1328479550","1328479552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f38a929db9d7d7f2252ad1c82b6420f2.jpg","text":"TemporaryFile(/tmp/multipartBody3788774802223364563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708732379,"filename":"image_12012025_20_03_02_922310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a83abc222ced3a913797944bcf001a4.jpg","text":"TemporaryFile(/tmp/multipartBody898593996469588912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708732379,"filename":"image_12012025_20_04_02_110458_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f923e3c704e0714d7a87904e545329a3.jpg","text":"TemporaryFile(/tmp/multipartBody4289283696274952291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708732379,"filename":"image_12012025_20_04_02_110458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/077ac9a5649d436fd4f4ec18c2a3678e.jpg","text":"TemporaryFile(/tmp/multipartBody8181224737932417084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708732379,"filename":"image_12012025_20_04_02_110458_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479550","file1":"1328479549","file0":"1328479547","file3":"1328479552"},"map_files_photo_id_array":[{"photo_id":"1328479550","filename":"file2"},{"photo_id":"1328479549","filename":"file1"},{"photo_id":"1328479547","filename":"file0"},{"photo_id":"1328479552","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479547":["hashtag1","hashtag2"]},{"1328479550":["hashtag1","hashtag2"]},{"1328479552":["hashtag1","hashtag2"]},{"1328479549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479547, 1328479550, 1328479552, 1328479549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24755620956421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:05:02.592180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:05:22.181896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0003.jpg', '/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0000.jpg', '/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0001.jpg', '/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/04/image_12012025_20_04_02_110458_0003.jpg
/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0000.jpg
/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0001.jpg
/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479576","1328479579","1328479581","1328479572"],"photo_ids_order":["1328479572","1328479576","1328479579","1328479581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/711d6b4403a34bc58b3f58088cd59861.jpg","text":"TemporaryFile(/tmp/multipartBody7560449818534738360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708792457,"filename":"image_12012025_20_05_02_327370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5269e888c8eabd2bc0b22c126614158d.jpg","text":"TemporaryFile(/tmp/multipartBody6389563348458109243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708792457,"filename":"image_12012025_20_05_02_327370_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc2480b598a14164b36191eceee85df5.jpg","text":"TemporaryFile(/tmp/multipartBody5021012809267438125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708792457,"filename":"image_12012025_20_05_02_327370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ffb97a8ea8e902e350d9708565ea354.jpg","text":"TemporaryFile(/tmp/multipartBody961593671956784132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708792457,"filename":"image_12012025_20_04_02_110458_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479579","file1":"1328479576","file0":"1328479572","file3":"1328479581"},"map_files_photo_id_array":[{"photo_id":"1328479579","filename":"file2"},{"photo_id":"1328479576","filename":"file1"},{"photo_id":"1328479572","filename":"file0"},{"photo_id":"1328479581","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479576":["hashtag1","hashtag2"]},{"1328479579":["hashtag1","hashtag2"]},{"1328479581":["hashtag1","hashtag2"]},{"1328479572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479576, 1328479579, 1328479581, 1328479572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.985251903533936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:06:02.806993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:06:22.315061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0003.jpg', '/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0000.jpg', '/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0001.jpg', '/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0003.jpg
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0000.jpg
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0001.jpg
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_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.631953954696655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 20:06:42.420052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0003.jpg', '/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0000.jpg', '/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0001.jpg', '/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/05/image_12012025_20_05_02_327370_0003.jpg
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0000.jpg
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0001.jpg
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_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":["1328479597","1328479600","1328479598","1328479602"],"photo_ids_order":["1328479597","1328479598","1328479600","1328479602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ab88af7b2976d30d846848b1123a0f9.jpg","text":"TemporaryFile(/tmp/multipartBody315033897888866925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708872416,"filename":"image_12012025_20_05_02_327370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ab3fa20d73efb19238695527bca20ac.jpg","text":"TemporaryFile(/tmp/multipartBody2024084397347164922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708872416,"filename":"image_12012025_20_06_02_570750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76c0bdc0a5121ecd6e086d6bfc7cd462.jpg","text":"TemporaryFile(/tmp/multipartBody5749292243677787480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708872416,"filename":"image_12012025_20_06_02_570750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ffe438d7a568f0dfa9e39cf86d5ce60e.jpg","text":"TemporaryFile(/tmp/multipartBody8044042568341004357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708872416,"filename":"image_12012025_20_06_02_570750_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479600","file1":"1328479598","file0":"1328479597","file3":"1328479602"},"map_files_photo_id_array":[{"photo_id":"1328479600","filename":"file2"},{"photo_id":"1328479598","filename":"file1"},{"photo_id":"1328479597","filename":"file0"},{"photo_id":"1328479602","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479597":["hashtag1","hashtag2"]},{"1328479600":["hashtag1","hashtag2"]},{"1328479598":["hashtag1","hashtag2"]},{"1328479602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479597, 1328479600, 1328479598, 1328479602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06000351905823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:07:22.480346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0003.jpg', '/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0000.jpg', '/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0001.jpg', '/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/06/image_12012025_20_06_02_570750_0003.jpg
/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0000.jpg
/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0001.jpg
/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479610","1328479613","1328479612","1328479611"],"photo_ids_order":["1328479610","1328479611","1328479612","1328479613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06ffa818efc5ef3c24fd8c52a15b7ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5883626842048558938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708912665,"filename":"image_12012025_20_06_02_570750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35779aad5b4aef427c0692a863f75912.jpg","text":"TemporaryFile(/tmp/multipartBody7636970927709434831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708912665,"filename":"image_12012025_20_07_02_699312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37decf72117bc5740b891d6ffd4c52e3.jpg","text":"TemporaryFile(/tmp/multipartBody5884262869603309698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708912665,"filename":"image_12012025_20_07_02_699312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44ab0f460c8a1ff619ed4ea14e1468ea.jpg","text":"TemporaryFile(/tmp/multipartBody3987835291343988657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708912665,"filename":"image_12012025_20_07_02_699312_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479612","file1":"1328479611","file0":"1328479610","file3":"1328479613"},"map_files_photo_id_array":[{"photo_id":"1328479612","filename":"file2"},{"photo_id":"1328479611","filename":"file1"},{"photo_id":"1328479610","filename":"file0"},{"photo_id":"1328479613","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479610":["hashtag1","hashtag2"]},{"1328479613":["hashtag1","hashtag2"]},{"1328479612":["hashtag1","hashtag2"]},{"1328479611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479610, 1328479613, 1328479612, 1328479611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71627926826477 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-12 20:08:22.763313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0003.jpg', '/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0000.jpg', '/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0001.jpg', '/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/07/image_12012025_20_07_02_699312_0003.jpg
/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0000.jpg
/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0001.jpg
/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479622","1328479627","1328479624","1328479623"],"photo_ids_order":["1328479622","1328479623","1328479624","1328479627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cb2d184595a82ee9ccb1de1f6dd060d.jpg","text":"TemporaryFile(/tmp/multipartBody8340780333268407774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708972848,"filename":"image_12012025_20_07_02_699312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e390000487845e2c739a7e28354c579b.jpg","text":"TemporaryFile(/tmp/multipartBody9077145387411503324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708972848,"filename":"image_12012025_20_08_02_861004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de550235f443c373d45b07f5b7f0fe62.jpg","text":"TemporaryFile(/tmp/multipartBody8555539574080759745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708972848,"filename":"image_12012025_20_08_02_861004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2120908c029bf5fccd309b0370d8fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1309492134588982002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736708972848,"filename":"image_12012025_20_08_02_861004_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479624","file1":"1328479623","file0":"1328479622","file3":"1328479627"},"map_files_photo_id_array":[{"photo_id":"1328479624","filename":"file2"},{"photo_id":"1328479623","filename":"file1"},{"photo_id":"1328479622","filename":"file0"},{"photo_id":"1328479627","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479622":["hashtag1","hashtag2"]},{"1328479627":["hashtag1","hashtag2"]},{"1328479624":["hashtag1","hashtag2"]},{"1328479623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479622, 1328479627, 1328479624, 1328479623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66590118408203 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-12 20:09:21.943160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0003.jpg', '/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0000.jpg', '/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0001.jpg', '/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/08/image_12012025_20_08_02_861004_0003.jpg
/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0000.jpg
/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0001.jpg
/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479640","1328479637","1328479642","1328479635"],"photo_ids_order":["1328479635","1328479637","1328479640","1328479642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ffb4436e0e51dab4399aa60df4a162a.jpg","text":"TemporaryFile(/tmp/multipartBody547690833365568830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709032059,"filename":"image_12012025_20_09_03_104148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9d86a31a2c42deb5ca24def46e97406.jpg","text":"TemporaryFile(/tmp/multipartBody736391038138548973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709032059,"filename":"image_12012025_20_09_03_104148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/634c8d43613c909c300e38c80aa9b8f7.jpg","text":"TemporaryFile(/tmp/multipartBody8190776226135233948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709032059,"filename":"image_12012025_20_09_03_104148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ed86a4bdf112bb8a8f3b44efc96b29a.jpg","text":"TemporaryFile(/tmp/multipartBody6495465321129190575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709032059,"filename":"image_12012025_20_08_02_861004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479640","file1":"1328479637","file0":"1328479635","file3":"1328479642"},"map_files_photo_id_array":[{"photo_id":"1328479640","filename":"file2"},{"photo_id":"1328479637","filename":"file1"},{"photo_id":"1328479635","filename":"file0"},{"photo_id":"1328479642","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479640":["hashtag1","hashtag2"]},{"1328479637":["hashtag1","hashtag2"]},{"1328479642":["hashtag1","hashtag2"]},{"1328479635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479640, 1328479637, 1328479642, 1328479635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96785235404968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:10:02.456742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:10:22.033553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0003.jpg', '/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0000.jpg', '/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0001.jpg', '/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/09/image_12012025_20_09_03_104148_0003.jpg
/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0000.jpg
/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0001.jpg
/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479652","1328479657","1328479654","1328479650"],"photo_ids_order":["1328479650","1328479652","1328479654","1328479657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fcbca02f0a8ce68a6eaa8a71465f60a5.jpg","text":"TemporaryFile(/tmp/multipartBody1845948711837999868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709092191,"filename":"image_12012025_20_10_02_290800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92cd0d97d9e22f0ac68f8ad845196bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3901286005216345496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709092191,"filename":"image_12012025_20_10_02_290800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a15ac82788d302e817c508987d174fbf.jpg","text":"TemporaryFile(/tmp/multipartBody7913295284286592606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709092191,"filename":"image_12012025_20_10_02_290800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24edcd69e506a2e0d7538a29e85ed959.jpg","text":"TemporaryFile(/tmp/multipartBody8245953159944138223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709092191,"filename":"image_12012025_20_09_03_104148_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479654","file1":"1328479652","file0":"1328479650","file3":"1328479657"},"map_files_photo_id_array":[{"photo_id":"1328479654","filename":"file2"},{"photo_id":"1328479652","filename":"file1"},{"photo_id":"1328479650","filename":"file0"},{"photo_id":"1328479657","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479652":["hashtag1","hashtag2"]},{"1328479657":["hashtag1","hashtag2"]},{"1328479654":["hashtag1","hashtag2"]},{"1328479650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479652, 1328479657, 1328479654, 1328479650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15521454811096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:11:22.357103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0003.jpg', '/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0000.jpg', '/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0001.jpg', '/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/10/image_12012025_20_10_02_290800_0003.jpg
/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0000.jpg
/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0001.jpg
/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479673","1328479675","1328479677","1328479670"],"photo_ids_order":["1328479670","1328479673","1328479675","1328479677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ccbf1aa2a4333552290a424b3440de6.jpg","text":"TemporaryFile(/tmp/multipartBody9090895146412078471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709152407,"filename":"image_12012025_20_11_02_407219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/558015ef0c2f12743e90bd5de5126777.jpg","text":"TemporaryFile(/tmp/multipartBody5839181907963659050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709152407,"filename":"image_12012025_20_11_02_407219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bf0ea16eb2800798a6e3ff4f73131bb2.jpg","text":"TemporaryFile(/tmp/multipartBody2806074172788736680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709152407,"filename":"image_12012025_20_11_02_407219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58f756f7845678f13deabbd0498bb355.jpg","text":"TemporaryFile(/tmp/multipartBody2398739579921140451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709152407,"filename":"image_12012025_20_10_02_290800_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479675","file1":"1328479673","file0":"1328479670","file3":"1328479677"},"map_files_photo_id_array":[{"photo_id":"1328479675","filename":"file2"},{"photo_id":"1328479673","filename":"file1"},{"photo_id":"1328479670","filename":"file0"},{"photo_id":"1328479677","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479673":["hashtag1","hashtag2"]},{"1328479675":["hashtag1","hashtag2"]},{"1328479677":["hashtag1","hashtag2"]},{"1328479670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479673, 1328479675, 1328479677, 1328479670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.169591426849365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:12:02.824403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:12:22.501306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0003.jpg', '/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0000.jpg', '/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0001.jpg', '/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0003.jpg
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0000.jpg
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0001.jpg
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_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.622655153274536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 20:12:42.403872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0003.jpg', '/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0000.jpg', '/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0001.jpg', '/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/11/image_12012025_20_11_02_407219_0003.jpg
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0000.jpg
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0001.jpg
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479693","1328479696","1328479692","1328479691"],"photo_ids_order":["1328479691","1328479692","1328479693","1328479696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d797e5be0d15b628a91ddaca624b505f.jpg","text":"TemporaryFile(/tmp/multipartBody1144156971725750174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709232416,"filename":"image_12012025_20_12_02_618433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/139a601b3cbb5eadb8e798cebefbfb9b.jpg","text":"TemporaryFile(/tmp/multipartBody2760798847095731046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709232416,"filename":"image_12012025_20_12_02_618433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d416eb9d41493174f1c933619f36fdb7.jpg","text":"TemporaryFile(/tmp/multipartBody1000331268683394851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709232416,"filename":"image_12012025_20_12_02_618433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33d2c3fbe285507e82cf7c0b7fbfc8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1204091319726163469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709232416,"filename":"image_12012025_20_11_02_407219_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479693","file1":"1328479692","file0":"1328479691","file3":"1328479696"},"map_files_photo_id_array":[{"photo_id":"1328479693","filename":"file2"},{"photo_id":"1328479692","filename":"file1"},{"photo_id":"1328479691","filename":"file0"},{"photo_id":"1328479696","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479693":["hashtag1","hashtag2"]},{"1328479696":["hashtag1","hashtag2"]},{"1328479692":["hashtag1","hashtag2"]},{"1328479691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479693, 1328479696, 1328479692, 1328479691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.917972803115845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:13:32.628517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0003.jpg', '/home/pi/Desktop/images/12012025/20/13/image_12012025_20_13_02_824317_0000.jpg', '/home/pi/Desktop/images/12012025/20/13/image_12012025_20_13_02_824317_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/12/image_12012025_20_12_02_618433_0003.jpg
/home/pi/Desktop/images/12012025/20/13/image_12012025_20_13_02_824317_0000.jpg
/home/pi/Desktop/images/12012025/20/13/image_12012025_20_13_02_824317_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":["1328479703","1328479705","1328479704"],"photo_ids_order":["1328479703","1328479704","1328479705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c71b153373ec6e91409c3ef38358d489.jpg","text":"TemporaryFile(/tmp/multipartBody6223577131674327978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709280448,"filename":"image_12012025_20_12_02_618433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/40003784575a379420ab7cc5e56bd5de.jpg","text":"TemporaryFile(/tmp/multipartBody7530542591785531331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709280448,"filename":"image_12012025_20_13_02_824317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18ddd0566ca8f74686e365ca96309c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7075707612431830127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709280448,"filename":"image_12012025_20_13_02_824317_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479705","file1":"1328479704","file0":"1328479703"},"map_files_photo_id_array":[{"photo_id":"1328479705","filename":"file2"},{"photo_id":"1328479704","filename":"file1"},{"photo_id":"1328479703","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479703":["hashtag1","hashtag2"]},{"1328479705":["hashtag1","hashtag2"]},{"1328479704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479703, 1328479705, 1328479704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.33712863922119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:14:21.877241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/13/image_12012025_20_13_02_824317_0002.jpg', '/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0000.jpg', '/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0001.jpg', '/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/13/image_12012025_20_13_02_824317_0002.jpg
/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0000.jpg
/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0001.jpg
/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479724","1328479726","1328479720","1328479728"],"photo_ids_order":["1328479720","1328479724","1328479726","1328479728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/79f02df36c38b0f1f8b1b70f6898e7cd.jpg","text":"TemporaryFile(/tmp/multipartBody4396128306272697636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709331938,"filename":"image_12012025_20_14_02_961852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c17ab74a1210a05a31e140f34fcd526.jpg","text":"TemporaryFile(/tmp/multipartBody797327053118852223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709331938,"filename":"image_12012025_20_14_02_961852_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88a66cfc4ae52160beb95136bfdf71ee.jpg","text":"TemporaryFile(/tmp/multipartBody8655535845136691559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709331938,"filename":"image_12012025_20_13_02_824317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/368561e574a09ddabf06e125b52a3647.jpg","text":"TemporaryFile(/tmp/multipartBody6050469186988664345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709331938,"filename":"image_12012025_20_14_02_961852_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479726","file1":"1328479724","file0":"1328479720","file3":"1328479728"},"map_files_photo_id_array":[{"photo_id":"1328479726","filename":"file2"},{"photo_id":"1328479724","filename":"file1"},{"photo_id":"1328479720","filename":"file0"},{"photo_id":"1328479728","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479724":["hashtag1","hashtag2"]},{"1328479726":["hashtag1","hashtag2"]},{"1328479720":["hashtag1","hashtag2"]},{"1328479728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479724, 1328479726, 1328479720, 1328479728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.06171679496765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:15:22.045433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0003.jpg', '/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0000.jpg', '/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0001.jpg', '/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/14/image_12012025_20_14_02_961852_0003.jpg
/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0000.jpg
/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0001.jpg
/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479736","1328479744","1328479738","1328479741"],"photo_ids_order":["1328479736","1328479738","1328479741","1328479744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98d65907a0a1926e5fd8e9dda6667453.jpg","text":"TemporaryFile(/tmp/multipartBody1069385100888653716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709392323,"filename":"image_12012025_20_14_02_961852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/22ef6a0b3f7a9d74a48defb5c81766e0.jpg","text":"TemporaryFile(/tmp/multipartBody181976568193429331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709392323,"filename":"image_12012025_20_15_02_188588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63fc80fb6e3201cfe2241e72aa5a7cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2424769057059297767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709392323,"filename":"image_12012025_20_15_02_188588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18eb84279e4058022e1a50e0b8fb6898.jpg","text":"TemporaryFile(/tmp/multipartBody8244893618706640540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709392323,"filename":"image_12012025_20_15_02_188588_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479741","file1":"1328479738","file0":"1328479736","file3":"1328479744"},"map_files_photo_id_array":[{"photo_id":"1328479741","filename":"file2"},{"photo_id":"1328479738","filename":"file1"},{"photo_id":"1328479736","filename":"file0"},{"photo_id":"1328479744","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479736":["hashtag1","hashtag2"]},{"1328479744":["hashtag1","hashtag2"]},{"1328479738":["hashtag1","hashtag2"]},{"1328479741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479736, 1328479744, 1328479738, 1328479741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81554651260376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:16:22.211217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0003.jpg', '/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0000.jpg', '/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0001.jpg', '/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/15/image_12012025_20_15_02_188588_0003.jpg
/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0000.jpg
/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0001.jpg
/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479757","1328479753","1328479755","1328479758"],"photo_ids_order":["1328479753","1328479755","1328479757","1328479758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58de1e434811cf3510afc09b43d73791.jpg","text":"TemporaryFile(/tmp/multipartBody8661349912876424720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709452380,"filename":"image_12012025_20_16_02_390040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6fe5368dd1234e4d3f15e0e93e5fae11.jpg","text":"TemporaryFile(/tmp/multipartBody902461741234195839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709452380,"filename":"image_12012025_20_15_02_188588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19421403cbc717f2739669dd3346905f.jpg","text":"TemporaryFile(/tmp/multipartBody8944453410033394553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709452380,"filename":"image_12012025_20_16_02_390040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7086aef1845835718e352a8b30500c17.jpg","text":"TemporaryFile(/tmp/multipartBody2137307994734618521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709452380,"filename":"image_12012025_20_16_02_390040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479757","file1":"1328479755","file0":"1328479753","file3":"1328479758"},"map_files_photo_id_array":[{"photo_id":"1328479757","filename":"file2"},{"photo_id":"1328479755","filename":"file1"},{"photo_id":"1328479753","filename":"file0"},{"photo_id":"1328479758","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479757":["hashtag1","hashtag2"]},{"1328479753":["hashtag1","hashtag2"]},{"1328479755":["hashtag1","hashtag2"]},{"1328479758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479757, 1328479753, 1328479755, 1328479758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9826078414917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:17:22.424295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0003.jpg', '/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0000.jpg', '/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0001.jpg', '/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/16/image_12012025_20_16_02_390040_0003.jpg
/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0000.jpg
/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0001.jpg
/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479775","1328479774","1328479771","1328479776"],"photo_ids_order":["1328479771","1328479774","1328479775","1328479776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2eaee042a5614b15ec3f73fff4408a5a.jpg","text":"TemporaryFile(/tmp/multipartBody7943700151007727009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709512549,"filename":"image_12012025_20_17_02_512791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06ff081520f88cbe6900453dd057598f.jpg","text":"TemporaryFile(/tmp/multipartBody7952963846463232998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709512549,"filename":"image_12012025_20_17_02_512791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c5fa554631db08cc2226154b249585b6.jpg","text":"TemporaryFile(/tmp/multipartBody6756103164224779914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709512549,"filename":"image_12012025_20_16_02_390040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e77dea82f541ca0ff544d4928d8a1988.jpg","text":"TemporaryFile(/tmp/multipartBody8052641975526222247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709512549,"filename":"image_12012025_20_17_02_512791_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479775","file1":"1328479774","file0":"1328479771","file3":"1328479776"},"map_files_photo_id_array":[{"photo_id":"1328479775","filename":"file2"},{"photo_id":"1328479774","filename":"file1"},{"photo_id":"1328479771","filename":"file0"},{"photo_id":"1328479776","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479775":["hashtag1","hashtag2"]},{"1328479774":["hashtag1","hashtag2"]},{"1328479771":["hashtag1","hashtag2"]},{"1328479776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479775, 1328479774, 1328479771, 1328479776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.733699798583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:18:22.558871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0003.jpg', '/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0000.jpg', '/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0001.jpg', '/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0003.jpg
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0000.jpg
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0001.jpg
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_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.699732542037964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 20:18:42.515103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0003.jpg', '/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0000.jpg', '/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0001.jpg', '/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/17/image_12012025_20_17_02_512791_0003.jpg
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0000.jpg
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0001.jpg
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479793","1328479792","1328479795","1328479797"],"photo_ids_order":["1328479792","1328479793","1328479795","1328479797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/71982c1cf3d6f8851d08f095a07edcad.jpg","text":"TemporaryFile(/tmp/multipartBody8844692762444499538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709592621,"filename":"image_12012025_20_18_02_727446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a2f3f4a2eac72c517f0189bd800705c.jpg","text":"TemporaryFile(/tmp/multipartBody34338605936356492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709592621,"filename":"image_12012025_20_17_02_512791_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d347963d085b3e47003840714d02520f.jpg","text":"TemporaryFile(/tmp/multipartBody7486437955777232565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709592621,"filename":"image_12012025_20_18_02_727446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a2c94dadb6725e98851895e91c6df4d6.jpg","text":"TemporaryFile(/tmp/multipartBody268308561886530131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709592621,"filename":"image_12012025_20_18_02_727446_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479795","file1":"1328479793","file0":"1328479792","file3":"1328479797"},"map_files_photo_id_array":[{"photo_id":"1328479795","filename":"file2"},{"photo_id":"1328479793","filename":"file1"},{"photo_id":"1328479792","filename":"file0"},{"photo_id":"1328479797","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479793":["hashtag1","hashtag2"]},{"1328479792":["hashtag1","hashtag2"]},{"1328479795":["hashtag1","hashtag2"]},{"1328479797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479793, 1328479792, 1328479795, 1328479797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45831060409546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:19:32.686594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0003.jpg', '/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0000.jpg', '/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0001.jpg', '/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/18/image_12012025_20_18_02_727446_0003.jpg
/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0000.jpg
/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0001.jpg
/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479808","1328479807","1328479806","1328479809"],"photo_ids_order":["1328479806","1328479807","1328479808","1328479809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1637940ea56ab5562887708829cf9d19.jpg","text":"TemporaryFile(/tmp/multipartBody6894949405658996472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709642954,"filename":"image_12012025_20_19_02_957194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbd9b51746bda177d775cd0771998972.jpg","text":"TemporaryFile(/tmp/multipartBody223886463115408402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709642954,"filename":"image_12012025_20_19_02_957194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfc7984fa3eb6a7b7f7dfcc1a624e4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1838788221519766800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709642954,"filename":"image_12012025_20_18_02_727446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0361da82b751576e75a559f7f00cb26.jpg","text":"TemporaryFile(/tmp/multipartBody549110966643610518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709642954,"filename":"image_12012025_20_19_02_957194_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479808","file1":"1328479807","file0":"1328479806","file3":"1328479809"},"map_files_photo_id_array":[{"photo_id":"1328479808","filename":"file2"},{"photo_id":"1328479807","filename":"file1"},{"photo_id":"1328479806","filename":"file0"},{"photo_id":"1328479809","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479808":["hashtag1","hashtag2"]},{"1328479807":["hashtag1","hashtag2"]},{"1328479806":["hashtag1","hashtag2"]},{"1328479809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479808, 1328479807, 1328479806, 1328479809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.75931239128113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:20:21.953296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0003.jpg', '/home/pi/Desktop/images/12012025/20/20/image_12012025_20_20_03_114837_0001.jpg', '/home/pi/Desktop/images/12012025/20/20/image_12012025_20_20_03_114837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/19/image_12012025_20_19_02_957194_0003.jpg
/home/pi/Desktop/images/12012025/20/20/image_12012025_20_20_03_114837_0001.jpg
/home/pi/Desktop/images/12012025/20/20/image_12012025_20_20_03_114837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479820","1328479817","1328479821"],"photo_ids_order":["1328479817","1328479820","1328479821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cbab04764ca1ffd9c72cb10de2973004.jpg","text":"TemporaryFile(/tmp/multipartBody8346299317606563411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709689711,"filename":"image_12012025_20_20_03_114837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18b55de95484024939abdd69ceec988a.jpg","text":"TemporaryFile(/tmp/multipartBody4519821631004565975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709689711,"filename":"image_12012025_20_19_02_957194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b3589185e4344e121ea9ff8c98549277.jpg","text":"TemporaryFile(/tmp/multipartBody2352835186236016813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709689711,"filename":"image_12012025_20_20_03_114837_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479821","file1":"1328479820","file0":"1328479817"},"map_files_photo_id_array":[{"photo_id":"1328479821","filename":"file2"},{"photo_id":"1328479820","filename":"file1"},{"photo_id":"1328479817","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479820":["hashtag1","hashtag2"]},{"1328479817":["hashtag1","hashtag2"]},{"1328479821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479820, 1328479817, 1328479821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.261648654937744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:21:02.703969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:21:22.074493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/20/image_12012025_20_20_03_114837_0003.jpg', '/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0000.jpg', '/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0001.jpg', '/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/20/image_12012025_20_20_03_114837_0003.jpg
/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0000.jpg
/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0001.jpg
/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479832","1328479831","1328479834","1328479830"],"photo_ids_order":["1328479830","1328479831","1328479832","1328479834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c33ffbe8a3d9d373c29aa97ae94690f.jpg","text":"TemporaryFile(/tmp/multipartBody4588369646019494851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709752196,"filename":"image_12012025_20_21_02_255614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89df3e1200442a99346a4bc6a0e0ffc7.jpg","text":"TemporaryFile(/tmp/multipartBody6030005426078276149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709752196,"filename":"image_12012025_20_21_02_255614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bac6f11160c4efcc3fef507d65bcc13f.jpg","text":"TemporaryFile(/tmp/multipartBody1957506692851939007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709752196,"filename":"image_12012025_20_21_02_255614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/044583b4d5cf9078b72812d3893fb0d4.jpg","text":"TemporaryFile(/tmp/multipartBody970720350826143042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709752196,"filename":"image_12012025_20_20_03_114837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479832","file1":"1328479831","file0":"1328479830","file3":"1328479834"},"map_files_photo_id_array":[{"photo_id":"1328479832","filename":"file2"},{"photo_id":"1328479831","filename":"file1"},{"photo_id":"1328479830","filename":"file0"},{"photo_id":"1328479834","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479832":["hashtag1","hashtag2"]},{"1328479831":["hashtag1","hashtag2"]},{"1328479834":["hashtag1","hashtag2"]},{"1328479830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479832, 1328479831, 1328479834, 1328479830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.742454528808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:22:22.244120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0003.jpg', '/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0000.jpg', '/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0001.jpg', '/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/21/image_12012025_20_21_02_255614_0003.jpg
/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0000.jpg
/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0001.jpg
/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479844","1328479847","1328479843","1328479842"],"photo_ids_order":["1328479842","1328479843","1328479844","1328479847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d7ff85c77d123d9d5e7a5734458af3d.jpg","text":"TemporaryFile(/tmp/multipartBody7110966569538081041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709812398,"filename":"image_12012025_20_22_02_459830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63f9f8db0a511d3fd266d865f7163fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4628130153266554171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709812398,"filename":"image_12012025_20_22_02_459830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e0449510a1e5be97a2405600c294fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody6291288965813203717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709812398,"filename":"image_12012025_20_22_02_459830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de1fd585446bfda979622027cee44a92.jpg","text":"TemporaryFile(/tmp/multipartBody7895961734946038444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709812398,"filename":"image_12012025_20_21_02_255614_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479844","file1":"1328479843","file0":"1328479842","file3":"1328479847"},"map_files_photo_id_array":[{"photo_id":"1328479844","filename":"file2"},{"photo_id":"1328479843","filename":"file1"},{"photo_id":"1328479842","filename":"file0"},{"photo_id":"1328479847","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479844":["hashtag1","hashtag2"]},{"1328479847":["hashtag1","hashtag2"]},{"1328479843":["hashtag1","hashtag2"]},{"1328479842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479844, 1328479847, 1328479843, 1328479842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31498599052429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:23:22.484683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0003.jpg', '/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0000.jpg', '/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0001.jpg', '/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/22/image_12012025_20_22_02_459830_0003.jpg
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0000.jpg
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0001.jpg
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479865","1328479859","1328479864","1328479862"],"photo_ids_order":["1328479859","1328479862","1328479864","1328479865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/435201ff2791407b2de9f773c284227a.jpg","text":"TemporaryFile(/tmp/multipartBody1513262466953711861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709872657,"filename":"image_12012025_20_23_02_649523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b274188512a7d058d3905ca6a82ff874.jpg","text":"TemporaryFile(/tmp/multipartBody6089015847058899532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709872657,"filename":"image_12012025_20_22_02_459830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45d429cd674a3f315639921ca71b9148.jpg","text":"TemporaryFile(/tmp/multipartBody7522455484945956645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709872657,"filename":"image_12012025_20_23_02_649523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/918a73d66702303978738e26ea94766f.jpg","text":"TemporaryFile(/tmp/multipartBody3413165670960428460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709872657,"filename":"image_12012025_20_23_02_649523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479864","file1":"1328479862","file0":"1328479859","file3":"1328479865"},"map_files_photo_id_array":[{"photo_id":"1328479864","filename":"file2"},{"photo_id":"1328479862","filename":"file1"},{"photo_id":"1328479859","filename":"file0"},{"photo_id":"1328479865","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479865":["hashtag1","hashtag2"]},{"1328479859":["hashtag1","hashtag2"]},{"1328479864":["hashtag1","hashtag2"]},{"1328479862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479865, 1328479859, 1328479864, 1328479862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.86069893836975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:24:22.614089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0003.jpg', '/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0000.jpg', '/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0001.jpg', '/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_02_649523_0003.jpg
/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0000.jpg
/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0001.jpg
/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479874","1328479876","1328479879","1328479878"],"photo_ids_order":["1328479874","1328479876","1328479878","1328479879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b4929e24f4a58a681380d8dcd93c13a.jpg","text":"TemporaryFile(/tmp/multipartBody7638482452085340291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709932709,"filename":"image_12012025_20_23_02_649523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/020994c3f4bcd70578751dd7e6006419.jpg","text":"TemporaryFile(/tmp/multipartBody3776118211427160671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709932709,"filename":"image_12012025_20_24_02_783946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f881b044717b30747d60234b6e4554d.jpg","text":"TemporaryFile(/tmp/multipartBody8847630456287165644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709932709,"filename":"image_12012025_20_24_02_783946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eddd4d6f7d05780d0277515ab10c5c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6915139622633939494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709932709,"filename":"image_12012025_20_24_02_783946_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479878","file1":"1328479876","file0":"1328479874","file3":"1328479879"},"map_files_photo_id_array":[{"photo_id":"1328479878","filename":"file2"},{"photo_id":"1328479876","filename":"file1"},{"photo_id":"1328479874","filename":"file0"},{"photo_id":"1328479879","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479874":["hashtag1","hashtag2"]},{"1328479876":["hashtag1","hashtag2"]},{"1328479879":["hashtag1","hashtag2"]},{"1328479878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479874, 1328479876, 1328479879, 1328479878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11720037460327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:25:22.778431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0003.jpg', '/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0000.jpg', '/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0001.jpg', '/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/24/image_12012025_20_24_02_783946_0003.jpg
/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0000.jpg
/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0001.jpg
/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479888","1328479890","1328479893","1328479887"],"photo_ids_order":["1328479887","1328479888","1328479890","1328479893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8841731782c1de94d3605957504fe871.jpg","text":"TemporaryFile(/tmp/multipartBody6719058681091941606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709992827,"filename":"image_12012025_20_25_02_960281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24508d110cafcf6c07db1fa5a07dc744.jpg","text":"TemporaryFile(/tmp/multipartBody3505395952825611085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709992827,"filename":"image_12012025_20_25_02_960281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ff0f749d5f4078cbd2984e7305b2eb47.jpg","text":"TemporaryFile(/tmp/multipartBody1426031178506536475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709992827,"filename":"image_12012025_20_25_02_960281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0422e33256e92bfcdbcc2fb03ff00a97.jpg","text":"TemporaryFile(/tmp/multipartBody3799042711945118521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736709992827,"filename":"image_12012025_20_24_02_783946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479890","file1":"1328479888","file0":"1328479887","file3":"1328479893"},"map_files_photo_id_array":[{"photo_id":"1328479890","filename":"file2"},{"photo_id":"1328479888","filename":"file1"},{"photo_id":"1328479887","filename":"file0"},{"photo_id":"1328479893","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479888":["hashtag1","hashtag2"]},{"1328479890":["hashtag1","hashtag2"]},{"1328479893":["hashtag1","hashtag2"]},{"1328479887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479888, 1328479890, 1328479893, 1328479887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7273850440979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:26:21.945236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0003.jpg', '/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0000.jpg', '/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0001.jpg', '/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/25/image_12012025_20_25_02_960281_0003.jpg
/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0000.jpg
/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0001.jpg
/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479904","1328479906","1328479903","1328479902"],"photo_ids_order":["1328479902","1328479903","1328479904","1328479906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b06d9c7b4362a17a1e9afdbdf783308d.jpg","text":"TemporaryFile(/tmp/multipartBody8614137545819877138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710051833,"filename":"image_12012025_20_26_03_113676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a7bea6c29b10446e3807b2e7730d25a.jpg","text":"TemporaryFile(/tmp/multipartBody1564248549020661919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710051833,"filename":"image_12012025_20_26_03_113676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cce1fa9e33503d6c8d5c852246e46857.jpg","text":"TemporaryFile(/tmp/multipartBody8313025182227081908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710051833,"filename":"image_12012025_20_26_03_113676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bec6a168b44a6e2cf22f66032c37af28.jpg","text":"TemporaryFile(/tmp/multipartBody1623291507431648684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710051833,"filename":"image_12012025_20_25_02_960281_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479904","file1":"1328479903","file0":"1328479902","file3":"1328479906"},"map_files_photo_id_array":[{"photo_id":"1328479904","filename":"file2"},{"photo_id":"1328479903","filename":"file1"},{"photo_id":"1328479902","filename":"file0"},{"photo_id":"1328479906","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479904":["hashtag1","hashtag2"]},{"1328479906":["hashtag1","hashtag2"]},{"1328479903":["hashtag1","hashtag2"]},{"1328479902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479904, 1328479906, 1328479903, 1328479902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.807698488235474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:27:22.128607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0003.jpg', '/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0000.jpg', '/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/26/image_12012025_20_26_03_113676_0003.jpg
/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0000.jpg
/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479922","1328479918","1328479923"],"photo_ids_order":["1328479918","1328479922","1328479923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c54535d8f512aea9633f82f97f521f2.jpg","text":"TemporaryFile(/tmp/multipartBody2738873298460371418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710109704,"filename":"image_12012025_20_27_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/12/b467351b93956b8446c7f6eb87823356.jpg","text":"TemporaryFile(/tmp/multipartBody755369210063016623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710109704,"filename":"image_12012025_20_26_03_113676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aae7ad02ab3a8d2584e177d172f51ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5414178142579236721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710109704,"filename":"image_12012025_20_27_02_277242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479923","file1":"1328479922","file0":"1328479918"},"map_files_photo_id_array":[{"photo_id":"1328479923","filename":"file2"},{"photo_id":"1328479922","filename":"file1"},{"photo_id":"1328479918","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479922":["hashtag1","hashtag2"]},{"1328479918":["hashtag1","hashtag2"]},{"1328479923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479922, 1328479918, 1328479923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.03627300262451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:28:02.845207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:28:22.308091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0003.jpg', '/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0000.jpg', '/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0001.jpg', '/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0003.jpg
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0000.jpg
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0001.jpg
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_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.40562629699707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 20:28:42.312169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0003.jpg', '/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0000.jpg', '/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0001.jpg', '/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_02_277242_0003.jpg
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0000.jpg
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0001.jpg
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_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":["1328479937","1328479942","1328479936","1328479939"],"photo_ids_order":["1328479936","1328479937","1328479939","1328479942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/84067d6477ecd39384c9aba0cf0170b8.jpg","text":"TemporaryFile(/tmp/multipartBody3410785689189556538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710192125,"filename":"image_12012025_20_28_02_429740_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a881d11b1c5a0a4b6aa4fe3f8681a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6720854361682859853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710192125,"filename":"image_12012025_20_28_02_429740_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4c91f0783efc533e07b447389c20bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5936138618038218549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710192125,"filename":"image_12012025_20_27_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/12/f3e4f04a23ec5e5560067b7d289529b0.jpg","text":"TemporaryFile(/tmp/multipartBody9158548613085046189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710192125,"filename":"image_12012025_20_28_02_429740_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479939","file1":"1328479937","file0":"1328479936","file3":"1328479942"},"map_files_photo_id_array":[{"photo_id":"1328479939","filename":"file2"},{"photo_id":"1328479937","filename":"file1"},{"photo_id":"1328479936","filename":"file0"},{"photo_id":"1328479942","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479937":["hashtag1","hashtag2"]},{"1328479942":["hashtag1","hashtag2"]},{"1328479936":["hashtag1","hashtag2"]},{"1328479939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479937, 1328479942, 1328479936, 1328479939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.21960520744324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:29:22.482177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0003.jpg', '/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0000.jpg', '/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0001.jpg', '/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/28/image_12012025_20_28_02_429740_0003.jpg
/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0000.jpg
/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0001.jpg
/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479964","1328479958","1328479968","1328479961"],"photo_ids_order":["1328479958","1328479961","1328479964","1328479968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f163203307e1b2cd1dfa80103a2bcdc.jpg","text":"TemporaryFile(/tmp/multipartBody7416659596543259360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710232282,"filename":"image_12012025_20_29_02_623536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/32e3be7eb00ace5ab190f7e25d968512.jpg","text":"TemporaryFile(/tmp/multipartBody5062744359484076687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710232282,"filename":"image_12012025_20_28_02_429740_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14bd48842ee78a44d1026ad0d7340569.jpg","text":"TemporaryFile(/tmp/multipartBody2496895480334833398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710232282,"filename":"image_12012025_20_29_02_623536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9d9b8a01ec09a8933a946bd902623d0.jpg","text":"TemporaryFile(/tmp/multipartBody840104622700904434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710232282,"filename":"image_12012025_20_29_02_623536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479964","file1":"1328479961","file0":"1328479958","file3":"1328479968"},"map_files_photo_id_array":[{"photo_id":"1328479964","filename":"file2"},{"photo_id":"1328479961","filename":"file1"},{"photo_id":"1328479958","filename":"file0"},{"photo_id":"1328479968","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479964":["hashtag1","hashtag2"]},{"1328479958":["hashtag1","hashtag2"]},{"1328479968":["hashtag1","hashtag2"]},{"1328479961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479964, 1328479958, 1328479968, 1328479961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89552450180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:30:22.664738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0003.jpg', '/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0000.jpg', '/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0001.jpg', '/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/29/image_12012025_20_29_02_623536_0003.jpg
/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0000.jpg
/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0001.jpg
/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328479985","1328479987","1328479986","1328479989"],"photo_ids_order":["1328479985","1328479986","1328479987","1328479989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e11134bf5b83387c418db535a93a4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5064747391687854391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710292447,"filename":"image_12012025_20_29_02_623536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2350ec88f91d9bc0717a768834d54d1.jpg","text":"TemporaryFile(/tmp/multipartBody3585144531026725312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710292447,"filename":"image_12012025_20_30_02_936040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/339f7847cd1a931ace6d43719096f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6359203860099009328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710292447,"filename":"image_12012025_20_30_02_936040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/733a30348d4aa4951c9b79a87db7dfa7.jpg","text":"TemporaryFile(/tmp/multipartBody3020017611455396805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710292447,"filename":"image_12012025_20_30_02_936040_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328479987","file1":"1328479986","file0":"1328479985","file3":"1328479989"},"map_files_photo_id_array":[{"photo_id":"1328479987","filename":"file2"},{"photo_id":"1328479986","filename":"file1"},{"photo_id":"1328479985","filename":"file0"},{"photo_id":"1328479989","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328479985":["hashtag1","hashtag2"]},{"1328479987":["hashtag1","hashtag2"]},{"1328479986":["hashtag1","hashtag2"]},{"1328479989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328479985, 1328479987, 1328479986, 1328479989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.07981514930725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:31:21.984636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0003.jpg', '/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0000.jpg', '/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0001.jpg', '/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/30/image_12012025_20_30_02_936040_0003.jpg
/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0000.jpg
/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0001.jpg
/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480003","1328480006","1328480005","1328480008"],"photo_ids_order":["1328480003","1328480005","1328480006","1328480008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9fb4450724093db16ff4af2e6ac39d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4342204023451767306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710351857,"filename":"image_12012025_20_30_02_936040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/031ede7ff7b9da1efb2511aaa11f1bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1341924725601298291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710351857,"filename":"image_12012025_20_31_02_978729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c12bd7e595b6ea9b7420a7a6a182fc87.jpg","text":"TemporaryFile(/tmp/multipartBody8067887555133541083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710351857,"filename":"image_12012025_20_31_02_978729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbc61840a0c87f9b278505a975c027c2.jpg","text":"TemporaryFile(/tmp/multipartBody5633336223524534896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710351857,"filename":"image_12012025_20_31_02_978729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480006","file1":"1328480005","file0":"1328480003","file3":"1328480008"},"map_files_photo_id_array":[{"photo_id":"1328480006","filename":"file2"},{"photo_id":"1328480005","filename":"file1"},{"photo_id":"1328480003","filename":"file0"},{"photo_id":"1328480008","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480003":["hashtag1","hashtag2"]},{"1328480006":["hashtag1","hashtag2"]},{"1328480005":["hashtag1","hashtag2"]},{"1328480008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480003, 1328480006, 1328480005, 1328480008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00381588935852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:32:02.381356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:32:21.994610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0003.jpg', '/home/pi/Desktop/images/12012025/20/32/image_12012025_20_32_02_193411_0000.jpg', '/home/pi/Desktop/images/12012025/20/32/image_12012025_20_32_02_193411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_02_978729_0003.jpg
/home/pi/Desktop/images/12012025/20/32/image_12012025_20_32_02_193411_0000.jpg
/home/pi/Desktop/images/12012025/20/32/image_12012025_20_32_02_193411_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480016","1328480018","1328480017"],"photo_ids_order":["1328480016","1328480017","1328480018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2e2aff8568a3b0c8f9be0d0d473b276.jpg","text":"TemporaryFile(/tmp/multipartBody8375636757984221482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710409636,"filename":"image_12012025_20_31_02_978729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce63b34624090b5113f58d16ddc03dfe.jpg","text":"TemporaryFile(/tmp/multipartBody158753652763642896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710409636,"filename":"image_12012025_20_32_02_193411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12c0454b4178cd30ea3e757fb9e14d71.jpg","text":"TemporaryFile(/tmp/multipartBody4511793617194232349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710409636,"filename":"image_12012025_20_32_02_193411_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480018","file1":"1328480017","file0":"1328480016"},"map_files_photo_id_array":[{"photo_id":"1328480018","filename":"file2"},{"photo_id":"1328480017","filename":"file1"},{"photo_id":"1328480016","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480016":["hashtag1","hashtag2"]},{"1328480018":["hashtag1","hashtag2"]},{"1328480017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480016, 1328480018, 1328480017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.285926342010498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:33:02.740195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:33:22.115035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/32/image_12012025_20_32_02_193411_0003.jpg', '/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0001.jpg', '/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/32/image_12012025_20_32_02_193411_0003.jpg
/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0001.jpg
/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480031","1328480036","1328480034"],"photo_ids_order":["1328480031","1328480034","1328480036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30b38f626703cc50ca416345c6390435.jpg","text":"TemporaryFile(/tmp/multipartBody429538911945392499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710469619,"filename":"image_12012025_20_32_02_193411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/706a20c384be037faac925055c676b50.jpg","text":"TemporaryFile(/tmp/multipartBody332814450889122429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710469619,"filename":"image_12012025_20_33_02_313837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13ed3fed648ed8150bf3a3de9747fbba.jpg","text":"TemporaryFile(/tmp/multipartBody7439850689480859958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710469619,"filename":"image_12012025_20_33_02_313837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480036","file1":"1328480034","file0":"1328480031"},"map_files_photo_id_array":[{"photo_id":"1328480036","filename":"file2"},{"photo_id":"1328480034","filename":"file1"},{"photo_id":"1328480031","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480031":["hashtag1","hashtag2"]},{"1328480036":["hashtag1","hashtag2"]},{"1328480034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480031, 1328480036, 1328480034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.17784810066223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:34:02.589948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:34:22.315871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0003.jpg', '/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0000.jpg', '/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0003.jpg
/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0000.jpg
/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_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.054342031478882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:34:32.324307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0003.jpg', '/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0000.jpg', '/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/33/image_12012025_20_33_02_313837_0003.jpg
/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0000.jpg
/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_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":["1328480054","1328480052","1328480055"],"photo_ids_order":["1328480052","1328480054","1328480055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83c8ee47389fdd4ef7918d7ed31653fe.jpg","text":"TemporaryFile(/tmp/multipartBody8018751535323435167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710539787,"filename":"image_12012025_20_34_02_513856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f02969bf69e716e5326dbc23e210b9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7567522498931882596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710539787,"filename":"image_12012025_20_33_02_313837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a0a695b074b37c8ae8602e99182bc18.jpg","text":"TemporaryFile(/tmp/multipartBody1771204960150172232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710539787,"filename":"image_12012025_20_34_02_513856_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480055","file1":"1328480054","file0":"1328480052"},"map_files_photo_id_array":[{"photo_id":"1328480055","filename":"file2"},{"photo_id":"1328480054","filename":"file1"},{"photo_id":"1328480052","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480054":["hashtag1","hashtag2"]},{"1328480052":["hashtag1","hashtag2"]},{"1328480055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480054, 1328480052, 1328480055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.938660383224487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:35:22.510580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0003.jpg', '/home/pi/Desktop/images/12012025/20/35/image_12012025_20_35_02_739378_0001.jpg', '/home/pi/Desktop/images/12012025/20/35/image_12012025_20_35_02_739378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/34/image_12012025_20_34_02_513856_0003.jpg
/home/pi/Desktop/images/12012025/20/35/image_12012025_20_35_02_739378_0001.jpg
/home/pi/Desktop/images/12012025/20/35/image_12012025_20_35_02_739378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480063","1328480068","1328480070"],"photo_ids_order":["1328480063","1328480068","1328480070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2beed03bc6c1588fbb426c4183f1bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody986750594729978859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710589962,"filename":"image_12012025_20_34_02_513856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c47e1952c5c4aac3154f9f371b93cc33.jpg","text":"TemporaryFile(/tmp/multipartBody3343278281576488275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710589962,"filename":"image_12012025_20_35_02_739378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5dfa9f1e622181195b7bd28947b83086.jpg","text":"TemporaryFile(/tmp/multipartBody1676307374943689292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710589962,"filename":"image_12012025_20_35_02_739378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480070","file1":"1328480068","file0":"1328480063"},"map_files_photo_id_array":[{"photo_id":"1328480070","filename":"file2"},{"photo_id":"1328480068","filename":"file1"},{"photo_id":"1328480063","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480063":["hashtag1","hashtag2"]},{"1328480068":["hashtag1","hashtag2"]},{"1328480070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480063, 1328480068, 1328480070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.23723530769348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:36:03.007245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:36:22.683532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/35/image_12012025_20_35_02_739378_0003.jpg', '/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0000.jpg', '/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0001.jpg', '/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/35/image_12012025_20_35_02_739378_0003.jpg
/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0000.jpg
/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0001.jpg
/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480100","1328480083","1328480097","1328480079"],"photo_ids_order":["1328480079","1328480083","1328480097","1328480100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a729f124980de630554ed6888edc229b.jpg","text":"TemporaryFile(/tmp/multipartBody3272774989832771277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710652362,"filename":"image_12012025_20_36_02_898694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fde897fe53ba3854fd58cc4b30fe0e87.jpg","text":"TemporaryFile(/tmp/multipartBody6346444803645484956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710652362,"filename":"image_12012025_20_36_02_898694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b9b0d23bd548770e32dfa1d3b7a6b097.jpg","text":"TemporaryFile(/tmp/multipartBody9030524601167632848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710652362,"filename":"image_12012025_20_36_02_898694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1077ed1e34eafecd5ab7ea24672823f9.jpg","text":"TemporaryFile(/tmp/multipartBody8416129573671793960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710652362,"filename":"image_12012025_20_35_02_739378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480097","file1":"1328480083","file0":"1328480079","file3":"1328480100"},"map_files_photo_id_array":[{"photo_id":"1328480097","filename":"file2"},{"photo_id":"1328480083","filename":"file1"},{"photo_id":"1328480079","filename":"file0"},{"photo_id":"1328480100","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480100":["hashtag1","hashtag2"]},{"1328480083":["hashtag1","hashtag2"]},{"1328480097":["hashtag1","hashtag2"]},{"1328480079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480100, 1328480083, 1328480097, 1328480079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.379725217819214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:37:21.915294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0003.jpg', '/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0000.jpg', '/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0001.jpg', '/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/36/image_12012025_20_36_02_898694_0003.jpg
/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0000.jpg
/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0001.jpg
/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480109","1328480112","1328480110","1328480107"],"photo_ids_order":["1328480107","1328480109","1328480110","1328480112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81621611a5e05dd815af6eadd3dce0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6811513793410420930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710711620,"filename":"image_12012025_20_37_03_116063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37aa8af04da18ec22358beca49538716.jpg","text":"TemporaryFile(/tmp/multipartBody1549375065531956948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710711620,"filename":"image_12012025_20_37_03_116063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8297917735cc60a05a469838c727dec2.jpg","text":"TemporaryFile(/tmp/multipartBody5937294999879508888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710711620,"filename":"image_12012025_20_37_03_116063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2da9ab44426e40e111485c0a7d893d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2720230078613896642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710711620,"filename":"image_12012025_20_36_02_898694_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480110","file1":"1328480109","file0":"1328480107","file3":"1328480112"},"map_files_photo_id_array":[{"photo_id":"1328480110","filename":"file2"},{"photo_id":"1328480109","filename":"file1"},{"photo_id":"1328480107","filename":"file0"},{"photo_id":"1328480112","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480109":["hashtag1","hashtag2"]},{"1328480112":["hashtag1","hashtag2"]},{"1328480110":["hashtag1","hashtag2"]},{"1328480107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480109, 1328480112, 1328480110, 1328480107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.45964813232422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:38:02.577201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:38:22.078735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0003.jpg', '/home/pi/Desktop/images/12012025/20/38/image_12012025_20_38_02_299316_0000.jpg', '/home/pi/Desktop/images/12012025/20/38/image_12012025_20_38_02_299316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/37/image_12012025_20_37_03_116063_0003.jpg
/home/pi/Desktop/images/12012025/20/38/image_12012025_20_38_02_299316_0000.jpg
/home/pi/Desktop/images/12012025/20/38/image_12012025_20_38_02_299316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480121","1328480120","1328480122"],"photo_ids_order":["1328480120","1328480121","1328480122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/257c014d540d094ad4447c3694ad9e85.jpg","text":"TemporaryFile(/tmp/multipartBody2630824354132878634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710769496,"filename":"image_12012025_20_38_02_299316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/628a477b68103f46416735f4cc6d317c.jpg","text":"TemporaryFile(/tmp/multipartBody6367618760523281564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710769496,"filename":"image_12012025_20_37_03_116063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/def2187ae688f828ee7a74f489ae9634.jpg","text":"TemporaryFile(/tmp/multipartBody8937817365715554858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710769496,"filename":"image_12012025_20_38_02_299316_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480122","file1":"1328480121","file0":"1328480120"},"map_files_photo_id_array":[{"photo_id":"1328480122","filename":"file2"},{"photo_id":"1328480121","filename":"file1"},{"photo_id":"1328480120","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480121":["hashtag1","hashtag2"]},{"1328480120":["hashtag1","hashtag2"]},{"1328480122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480121, 1328480120, 1328480122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.92290687561035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:39:02.947458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:39:22.286148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/38/image_12012025_20_38_02_299316_0003.jpg', '/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0000.jpg', '/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0001.jpg', '/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/38/image_12012025_20_38_02_299316_0003.jpg
/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0000.jpg
/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0001.jpg
/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480139","1328480141","1328480135","1328480140"],"photo_ids_order":["1328480135","1328480139","1328480140","1328480141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/23608f8e890eadc3c1b613900220e812.jpg","text":"TemporaryFile(/tmp/multipartBody9102626115674410704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710831917,"filename":"image_12012025_20_39_02_557493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/edbb5fcbddcecc388ec58d45e7411894.jpg","text":"TemporaryFile(/tmp/multipartBody431089628149680249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710831917,"filename":"image_12012025_20_39_02_557493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/33058bf954062e6e8714780b7e9f0a2a.jpg","text":"TemporaryFile(/tmp/multipartBody4999667424990607959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710831917,"filename":"image_12012025_20_38_02_299316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/772ef8b8f0e403d8531e371ed77d1a74.jpg","text":"TemporaryFile(/tmp/multipartBody4238834926731266805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710831917,"filename":"image_12012025_20_39_02_557493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480140","file1":"1328480139","file0":"1328480135","file3":"1328480141"},"map_files_photo_id_array":[{"photo_id":"1328480140","filename":"file2"},{"photo_id":"1328480139","filename":"file1"},{"photo_id":"1328480135","filename":"file0"},{"photo_id":"1328480141","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480139":["hashtag1","hashtag2"]},{"1328480141":["hashtag1","hashtag2"]},{"1328480135":["hashtag1","hashtag2"]},{"1328480140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480139, 1328480141, 1328480135, 1328480140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.448065757751465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:40:22.480227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0003.jpg', '/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0000.jpg', '/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0001.jpg', '/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0003.jpg
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0000.jpg
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0001.jpg
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.266088485717773 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-12 20:40:42.538048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0003.jpg', '/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0000.jpg', '/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0001.jpg', '/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/39/image_12012025_20_39_02_557493_0003.jpg
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0000.jpg
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0001.jpg
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_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":["1328480157","1328480156","1328480158","1328480160"],"photo_ids_order":["1328480156","1328480157","1328480158","1328480160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0dba03ce155584dd16d45b50258dde35.jpg","text":"TemporaryFile(/tmp/multipartBody4496622811435395716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710912198,"filename":"image_12012025_20_40_02_626599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2abd27ecf6cb292cc0651cf500750457.jpg","text":"TemporaryFile(/tmp/multipartBody1884989270127222596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710912198,"filename":"image_12012025_20_39_02_557493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ea1a64915e3b4cbb766efe6f4b7e8a7.jpg","text":"TemporaryFile(/tmp/multipartBody5720189119318000880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710912198,"filename":"image_12012025_20_40_02_626599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96246dfbc6875c92a3b3a5fc51fef1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4516065481610255879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710912198,"filename":"image_12012025_20_40_02_626599_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480158","file1":"1328480157","file0":"1328480156","file3":"1328480160"},"map_files_photo_id_array":[{"photo_id":"1328480158","filename":"file2"},{"photo_id":"1328480157","filename":"file1"},{"photo_id":"1328480156","filename":"file0"},{"photo_id":"1328480160","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480157":["hashtag1","hashtag2"]},{"1328480156":["hashtag1","hashtag2"]},{"1328480158":["hashtag1","hashtag2"]},{"1328480160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480157, 1328480156, 1328480158, 1328480160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.342798471450806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:41:22.633415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0003.jpg', '/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0000.jpg', '/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0001.jpg', '/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/40/image_12012025_20_40_02_626599_0003.jpg
/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0000.jpg
/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0001.jpg
/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480174","1328480170","1328480167","1328480172"],"photo_ids_order":["1328480167","1328480170","1328480172","1328480174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/29bae206adcbcfe678ba83b44b959709.jpg","text":"TemporaryFile(/tmp/multipartBody7181153312437484096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710952283,"filename":"image_12012025_20_41_02_793081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76f3dd139492a91fd21a80b90547a4dd.jpg","text":"TemporaryFile(/tmp/multipartBody8915301710183361937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710952283,"filename":"image_12012025_20_41_02_793081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70b78b90d4fd876d3d4a960a2c76a960.jpg","text":"TemporaryFile(/tmp/multipartBody760665842416982459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710952283,"filename":"image_12012025_20_40_02_626599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2793025b093fcf290fc26c1fd3a1456a.jpg","text":"TemporaryFile(/tmp/multipartBody9157458415553009940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736710952283,"filename":"image_12012025_20_41_02_793081_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480172","file1":"1328480170","file0":"1328480167","file3":"1328480174"},"map_files_photo_id_array":[{"photo_id":"1328480172","filename":"file2"},{"photo_id":"1328480170","filename":"file1"},{"photo_id":"1328480167","filename":"file0"},{"photo_id":"1328480174","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480174":["hashtag1","hashtag2"]},{"1328480170":["hashtag1","hashtag2"]},{"1328480167":["hashtag1","hashtag2"]},{"1328480172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480174, 1328480170, 1328480167, 1328480172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.66021990776062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:42:02.325447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:42:21.799698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0003.jpg', '/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0000.jpg', '/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0001.jpg', '/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/41/image_12012025_20_41_02_793081_0003.jpg
/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0000.jpg
/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0001.jpg
/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480186","1328480183","1328480190","1328480187"],"photo_ids_order":["1328480183","1328480186","1328480187","1328480190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b43281d747075f9c2f12c055ca57a26a.jpg","text":"TemporaryFile(/tmp/multipartBody5512264536333533002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711011458,"filename":"image_12012025_20_42_03_017387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/82d4cdebecced82264d2b4f0c8234494.jpg","text":"TemporaryFile(/tmp/multipartBody8232904843984423793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711011458,"filename":"image_12012025_20_41_02_793081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e10c50fcfaeaaaafba2955f56797cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5596919880541791421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711011458,"filename":"image_12012025_20_42_03_017387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cbd7a78b41f087a40c4401306a3ddd2c.jpg","text":"TemporaryFile(/tmp/multipartBody8500800108939149377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711011458,"filename":"image_12012025_20_42_03_017387_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480187","file1":"1328480186","file0":"1328480183","file3":"1328480190"},"map_files_photo_id_array":[{"photo_id":"1328480187","filename":"file2"},{"photo_id":"1328480186","filename":"file1"},{"photo_id":"1328480183","filename":"file0"},{"photo_id":"1328480190","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480186":["hashtag1","hashtag2"]},{"1328480183":["hashtag1","hashtag2"]},{"1328480190":["hashtag1","hashtag2"]},{"1328480187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480186, 1328480183, 1328480190, 1328480187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82655191421509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:43:21.848618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0003.jpg', '/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0000.jpg', '/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0001.jpg', '/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/42/image_12012025_20_42_03_017387_0003.jpg
/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0000.jpg
/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0001.jpg
/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480205","1328480198","1328480203","1328480200"],"photo_ids_order":["1328480198","1328480200","1328480203","1328480205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1ca26c67558688e2119791c33439b78.jpg","text":"TemporaryFile(/tmp/multipartBody7665045109956363402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711071517,"filename":"image_12012025_20_43_02_177904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/412ad157450b89bf3dfee1c4b46ac4d5.jpg","text":"TemporaryFile(/tmp/multipartBody5415432303298794640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711071517,"filename":"image_12012025_20_42_03_017387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1d0f0cbec20f2a48cee810ea8b54f8ff.jpg","text":"TemporaryFile(/tmp/multipartBody5714674954102151528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711071517,"filename":"image_12012025_20_43_02_177904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/807b376ee09c1d1814eaaf8ac78eed7f.jpg","text":"TemporaryFile(/tmp/multipartBody7665202037377078613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711071517,"filename":"image_12012025_20_43_02_177904_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480203","file1":"1328480200","file0":"1328480198","file3":"1328480205"},"map_files_photo_id_array":[{"photo_id":"1328480203","filename":"file2"},{"photo_id":"1328480200","filename":"file1"},{"photo_id":"1328480198","filename":"file0"},{"photo_id":"1328480205","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480205":["hashtag1","hashtag2"]},{"1328480198":["hashtag1","hashtag2"]},{"1328480203":["hashtag1","hashtag2"]},{"1328480200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480205, 1328480198, 1328480203, 1328480200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44478178024292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:44:02.562677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:44:22.122352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0003.jpg', '/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0000.jpg', '/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0001.jpg', '/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0003.jpg
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0000.jpg
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0001.jpg
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.23276162147522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:44:32.094402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0003.jpg', '/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0000.jpg', '/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0001.jpg', '/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/43/image_12012025_20_43_02_177904_0003.jpg
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0000.jpg
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0001.jpg
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480231","1328480225","1328480234","1328480228"],"photo_ids_order":["1328480225","1328480228","1328480231","1328480234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a11dd9dcd7720b026c4e048081d39fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3936789146874982403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711141733,"filename":"image_12012025_20_44_02_289342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d264d531ade69d8a2373f708d6a1701b.jpg","text":"TemporaryFile(/tmp/multipartBody7774492820063576058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711141733,"filename":"image_12012025_20_43_02_177904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/174db3b82552b7c261097c1781595a44.jpg","text":"TemporaryFile(/tmp/multipartBody2775266393575136454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711141733,"filename":"image_12012025_20_44_02_289342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba2b9e81160bbfd2a6e8775699bac3ee.jpg","text":"TemporaryFile(/tmp/multipartBody4451773163693311181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711141733,"filename":"image_12012025_20_44_02_289342_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480231","file1":"1328480228","file0":"1328480225","file3":"1328480234"},"map_files_photo_id_array":[{"photo_id":"1328480231","filename":"file2"},{"photo_id":"1328480228","filename":"file1"},{"photo_id":"1328480225","filename":"file0"},{"photo_id":"1328480234","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480231":["hashtag1","hashtag2"]},{"1328480225":["hashtag1","hashtag2"]},{"1328480234":["hashtag1","hashtag2"]},{"1328480228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480231, 1328480225, 1328480234, 1328480228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71231985092163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:45:22.451662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0003.jpg', '/home/pi/Desktop/images/12012025/20/45/image_12012025_20_45_02_532917_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/44/image_12012025_20_44_02_289342_0003.jpg
/home/pi/Desktop/images/12012025/20/45/image_12012025_20_45_02_532917_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":["1328480243","1328480245"],"photo_ids_order":["1328480243","1328480245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f11d234cd6249930b6ff402f1a27acb2.jpg","text":"TemporaryFile(/tmp/multipartBody4595829158677050422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711187761,"filename":"image_12012025_20_44_02_289342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b2bb4943eae66b67a0d8a683d87ae3b.jpg","text":"TemporaryFile(/tmp/multipartBody1176176407787619553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711187761,"filename":"image_12012025_20_45_02_532917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328480245","file0":"1328480243"},"map_files_photo_id_array":[{"photo_id":"1328480245","filename":"file1"},{"photo_id":"1328480243","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480243":["hashtag1","hashtag2"]},{"1328480245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480243, 1328480245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.658233165740967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:45:52.306223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:46:02.873437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:46:22.571411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/45/image_12012025_20_45_02_532917_0002.jpg', '/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0000.jpg', '/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0001.jpg', '/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/45/image_12012025_20_45_02_532917_0002.jpg
/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0000.jpg
/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0001.jpg
/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480270","1328480269","1328480271","1328480268"],"photo_ids_order":["1328480268","1328480269","1328480270","1328480271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a686ae6f391c57e14994399db9dcd10.jpg","text":"TemporaryFile(/tmp/multipartBody2932773370862598804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711252668,"filename":"image_12012025_20_46_02_691038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/79f0a1b64e57a685d439f4afa9dfeb6f.jpg","text":"TemporaryFile(/tmp/multipartBody5438615182865397669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711252668,"filename":"image_12012025_20_46_02_691038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d29edf4900d010d88f2eebaf87b7b94.jpg","text":"TemporaryFile(/tmp/multipartBody8280396772343598876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711252668,"filename":"image_12012025_20_46_02_691038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b7bb4e1bb9fd5d9bfcea776e3c56131.jpg","text":"TemporaryFile(/tmp/multipartBody2891347340278194664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711252668,"filename":"image_12012025_20_45_02_532917_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480270","file1":"1328480269","file0":"1328480268","file3":"1328480271"},"map_files_photo_id_array":[{"photo_id":"1328480270","filename":"file2"},{"photo_id":"1328480269","filename":"file1"},{"photo_id":"1328480268","filename":"file0"},{"photo_id":"1328480271","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480270":["hashtag1","hashtag2"]},{"1328480269":["hashtag1","hashtag2"]},{"1328480271":["hashtag1","hashtag2"]},{"1328480268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480270, 1328480269, 1328480271, 1328480268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35633826255798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:47:22.666886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0003.jpg', '/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0000.jpg', '/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0001.jpg', '/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/46/image_12012025_20_46_02_691038_0003.jpg
/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0000.jpg
/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0001.jpg
/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480291","1328480293","1328480295","1328480292"],"photo_ids_order":["1328480291","1328480292","1328480293","1328480295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20916715f8b9393cbb2919d965aee73d.jpg","text":"TemporaryFile(/tmp/multipartBody5826005713376765490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711312763,"filename":"image_12012025_20_46_02_691038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95afaa4aa36455361b5648420f86f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5698830160794076723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711312763,"filename":"image_12012025_20_47_02_856014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcf385845fec6e4c2eee34cdcbf2e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody2931764781908335142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711312763,"filename":"image_12012025_20_47_02_856014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9bebab190627d5a6b1db5f2fbeae5123.jpg","text":"TemporaryFile(/tmp/multipartBody7789393979303872891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711312763,"filename":"image_12012025_20_47_02_856014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480293","file1":"1328480292","file0":"1328480291","file3":"1328480295"},"map_files_photo_id_array":[{"photo_id":"1328480293","filename":"file2"},{"photo_id":"1328480292","filename":"file1"},{"photo_id":"1328480291","filename":"file0"},{"photo_id":"1328480295","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480291":["hashtag1","hashtag2"]},{"1328480293":["hashtag1","hashtag2"]},{"1328480295":["hashtag1","hashtag2"]},{"1328480292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480291, 1328480293, 1328480295, 1328480292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33793616294861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:48:21.896351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0003.jpg', '/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0000.jpg', '/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0001.jpg', '/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/47/image_12012025_20_47_02_856014_0003.jpg
/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0000.jpg
/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0001.jpg
/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480312","1328480309","1328480314","1328480311"],"photo_ids_order":["1328480309","1328480311","1328480312","1328480314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c0ae9b51f9700238c8fc2323ea785bc.jpg","text":"TemporaryFile(/tmp/multipartBody3403580206996617861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711371999,"filename":"image_12012025_20_48_02_982293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/34c092c8066e9bc725a0b52b81dc8954.jpg","text":"TemporaryFile(/tmp/multipartBody8493526944111733072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711371999,"filename":"image_12012025_20_47_02_856014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e2dbacf14d548710b45fa87f90112b3b.jpg","text":"TemporaryFile(/tmp/multipartBody333332756453875008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711371999,"filename":"image_12012025_20_48_02_982293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b6f877a6e7f94c3290ce23cc57b1e253.jpg","text":"TemporaryFile(/tmp/multipartBody4678382006326756720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711371999,"filename":"image_12012025_20_48_02_982293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480312","file1":"1328480311","file0":"1328480309","file3":"1328480314"},"map_files_photo_id_array":[{"photo_id":"1328480312","filename":"file2"},{"photo_id":"1328480311","filename":"file1"},{"photo_id":"1328480309","filename":"file0"},{"photo_id":"1328480314","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480312":["hashtag1","hashtag2"]},{"1328480309":["hashtag1","hashtag2"]},{"1328480314":["hashtag1","hashtag2"]},{"1328480311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480312, 1328480309, 1328480314, 1328480311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32793402671814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:49:02.617992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:49:21.989670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0003.jpg', '/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0000.jpg', '/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0001.jpg', '/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_02_982293_0003.jpg
/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0000.jpg
/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0001.jpg
/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480328","1328480330","1328480329","1328480326"],"photo_ids_order":["1328480326","1328480328","1328480329","1328480330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e6956ebc7ae85b23ff7247416ecc0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6646303134733402406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711432082,"filename":"image_12012025_20_49_02_195851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/adafce42d10f1a686ef821b2f4d95b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5789510486119188100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711432082,"filename":"image_12012025_20_49_02_195851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1171d0e20f80ecedc86707210c00c12.jpg","text":"TemporaryFile(/tmp/multipartBody2416242380931006398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711432082,"filename":"image_12012025_20_49_02_195851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca144351bfa58444affb2e92dc8c754f.jpg","text":"TemporaryFile(/tmp/multipartBody7034389447724381678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711432082,"filename":"image_12012025_20_48_02_982293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480329","file1":"1328480328","file0":"1328480326","file3":"1328480330"},"map_files_photo_id_array":[{"photo_id":"1328480329","filename":"file2"},{"photo_id":"1328480328","filename":"file1"},{"photo_id":"1328480326","filename":"file0"},{"photo_id":"1328480330","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480328":["hashtag1","hashtag2"]},{"1328480330":["hashtag1","hashtag2"]},{"1328480329":["hashtag1","hashtag2"]},{"1328480326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480328, 1328480330, 1328480329, 1328480326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.687016010284424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:50:02.552288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:50:22.144787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0003.jpg', '/home/pi/Desktop/images/12012025/20/50/image_12012025_20_50_02_351038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0003.jpg
/home/pi/Desktop/images/12012025/20/50/image_12012025_20_50_02_351038_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.986020803451538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:50:32.156645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0003.jpg', '/home/pi/Desktop/images/12012025/20/50/image_12012025_20_50_02_351038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/49/image_12012025_20_49_02_195851_0003.jpg
/home/pi/Desktop/images/12012025/20/50/image_12012025_20_50_02_351038_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":["1328480342","1328480341"],"photo_ids_order":["1328480341","1328480342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eac96b82a4f18b5c36f9a0ae241cf193.jpg","text":"TemporaryFile(/tmp/multipartBody1521148298527824761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711497562,"filename":"image_12012025_20_50_02_351038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/42d5e3483937d2da503a910882c851f4.jpg","text":"TemporaryFile(/tmp/multipartBody784018033692436022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711497562,"filename":"image_12012025_20_49_02_195851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328480342","file0":"1328480341"},"map_files_photo_id_array":[{"photo_id":"1328480342","filename":"file1"},{"photo_id":"1328480341","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480342":["hashtag1","hashtag2"]},{"1328480341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480342, 1328480341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.146730661392212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:51:02.921080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:51:22.476817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/50/image_12012025_20_50_02_351038_0003.jpg', '/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0000.jpg', '/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0001.jpg', '/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/50/image_12012025_20_50_02_351038_0003.jpg
/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0000.jpg
/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0001.jpg
/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480349","1328480354","1328480355","1328480352"],"photo_ids_order":["1328480349","1328480352","1328480354","1328480355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3dc0c991ee6495f6cb4b2fdf257768e.jpg","text":"TemporaryFile(/tmp/multipartBody9026614222497658461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711552581,"filename":"image_12012025_20_50_02_351038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11daf9c06c8968a636ee082f57c1cc92.jpg","text":"TemporaryFile(/tmp/multipartBody5293332118707934887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711552581,"filename":"image_12012025_20_51_02_474610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b55ff6a2f57fdeb601353db6056f088.jpg","text":"TemporaryFile(/tmp/multipartBody2222519377034005375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711552581,"filename":"image_12012025_20_51_02_474610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a80b99c3a5a969629a58c8194bc3c202.jpg","text":"TemporaryFile(/tmp/multipartBody8445265545476886885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711552581,"filename":"image_12012025_20_51_02_474610_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480354","file1":"1328480352","file0":"1328480349","file3":"1328480355"},"map_files_photo_id_array":[{"photo_id":"1328480354","filename":"file2"},{"photo_id":"1328480352","filename":"file1"},{"photo_id":"1328480349","filename":"file0"},{"photo_id":"1328480355","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480349":["hashtag1","hashtag2"]},{"1328480354":["hashtag1","hashtag2"]},{"1328480355":["hashtag1","hashtag2"]},{"1328480352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480349, 1328480354, 1328480355, 1328480352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.099886655807495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:52:02.908337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:52:22.529826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0003.jpg', '/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0000.jpg', '/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0001.jpg', '/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/51/image_12012025_20_51_02_474610_0003.jpg
/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0000.jpg
/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0001.jpg
/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480366","1328480363","1328480368","1328480364"],"photo_ids_order":["1328480363","1328480364","1328480366","1328480368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ce15625572a7c0f93233ea679edb2f4.jpg","text":"TemporaryFile(/tmp/multipartBody8355926483089504268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711612638,"filename":"image_12012025_20_52_02_728677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55a0316ce120f77892e19cbdcb445bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3698168697662950095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711612638,"filename":"image_12012025_20_51_02_474610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91eac761176c7e8868acec206f5588a3.jpg","text":"TemporaryFile(/tmp/multipartBody2751325616481575563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711612638,"filename":"image_12012025_20_52_02_728677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb7b809d24582f5cb422f929c8e1634b.jpg","text":"TemporaryFile(/tmp/multipartBody5334729940368831771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711612638,"filename":"image_12012025_20_52_02_728677_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480366","file1":"1328480364","file0":"1328480363","file3":"1328480368"},"map_files_photo_id_array":[{"photo_id":"1328480366","filename":"file2"},{"photo_id":"1328480364","filename":"file1"},{"photo_id":"1328480363","filename":"file0"},{"photo_id":"1328480368","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480366":["hashtag1","hashtag2"]},{"1328480363":["hashtag1","hashtag2"]},{"1328480368":["hashtag1","hashtag2"]},{"1328480364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480366, 1328480363, 1328480368, 1328480364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66813373565674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:53:22.736830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0003.jpg', '/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_02_894133_0001.jpg', '/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_02_894133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/52/image_12012025_20_52_02_728677_0003.jpg
/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_02_894133_0001.jpg
/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_02_894133_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480378","1328480377","1328480376"],"photo_ids_order":["1328480376","1328480377","1328480378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b86e1c6a46436f1ae7abf55f9d988372.jpg","text":"TemporaryFile(/tmp/multipartBody4461515636786134409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711670496,"filename":"image_12012025_20_53_02_894133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d9f1a543b179a45d39b528fe399b8d33.jpg","text":"TemporaryFile(/tmp/multipartBody7157795091590071743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711670496,"filename":"image_12012025_20_53_02_894133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4252309838aded34d166df2cbcb26639.jpg","text":"TemporaryFile(/tmp/multipartBody997194993807048149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711670496,"filename":"image_12012025_20_52_02_728677_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480378","file1":"1328480377","file0":"1328480376"},"map_files_photo_id_array":[{"photo_id":"1328480378","filename":"file2"},{"photo_id":"1328480377","filename":"file1"},{"photo_id":"1328480376","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480378":["hashtag1","hashtag2"]},{"1328480377":["hashtag1","hashtag2"]},{"1328480376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480378, 1328480377, 1328480376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.62181282043457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:54:02.480834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:54:22.044320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_02_894133_0003.jpg', '/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0000.jpg', '/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0001.jpg', '/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_02_894133_0003.jpg
/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0000.jpg
/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0001.jpg
/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480387","1328480392","1328480389","1328480394"],"photo_ids_order":["1328480387","1328480389","1328480392","1328480394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0259bf84c647bdf7ab988ee3e4bf2faf.jpg","text":"TemporaryFile(/tmp/multipartBody551134987432501395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711732159,"filename":"image_12012025_20_53_02_894133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f36577e2e6cc945d0fa4292114e3bae.jpg","text":"TemporaryFile(/tmp/multipartBody579708943267795849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711732159,"filename":"image_12012025_20_54_03_086174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c3a901d174061ef0ba0c2250437e77e2.jpg","text":"TemporaryFile(/tmp/multipartBody8552937520174011085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711732159,"filename":"image_12012025_20_54_03_086174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/085439dc7faa57b35b6bdade1cf54270.jpg","text":"TemporaryFile(/tmp/multipartBody3781997475163752107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711732159,"filename":"image_12012025_20_54_03_086174_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480392","file1":"1328480389","file0":"1328480387","file3":"1328480394"},"map_files_photo_id_array":[{"photo_id":"1328480392","filename":"file2"},{"photo_id":"1328480389","filename":"file1"},{"photo_id":"1328480387","filename":"file0"},{"photo_id":"1328480394","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480387":["hashtag1","hashtag2"]},{"1328480392":["hashtag1","hashtag2"]},{"1328480389":["hashtag1","hashtag2"]},{"1328480394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480387, 1328480392, 1328480389, 1328480394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.12652063369751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:55:22.095349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0003.jpg', '/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0000.jpg', '/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0001.jpg', '/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/54/image_12012025_20_54_03_086174_0003.jpg
/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0000.jpg
/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0001.jpg
/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328480406","1328480409","1328480411","1328480413"],"photo_ids_order":["1328480406","1328480409","1328480411","1328480413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5737e3de21965239f1eebc500c87f65a.jpg","text":"TemporaryFile(/tmp/multipartBody6316108662820312169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711792190,"filename":"image_12012025_20_54_03_086174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/909a2efb3e40d0f69db5fb67258efe43.jpg","text":"TemporaryFile(/tmp/multipartBody6458143475418438785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711792190,"filename":"image_12012025_20_55_02_302747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37f08044e456e538ab0b291b04333e90.jpg","text":"TemporaryFile(/tmp/multipartBody4325529780937292499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711792190,"filename":"image_12012025_20_55_02_302747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/668852b547feb150c69388fdc9f887f0.jpg","text":"TemporaryFile(/tmp/multipartBody1832677873185674769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711792190,"filename":"image_12012025_20_55_02_302747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480411","file1":"1328480409","file0":"1328480406","file3":"1328480413"},"map_files_photo_id_array":[{"photo_id":"1328480411","filename":"file2"},{"photo_id":"1328480409","filename":"file1"},{"photo_id":"1328480406","filename":"file0"},{"photo_id":"1328480413","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480406":["hashtag1","hashtag2"]},{"1328480409":["hashtag1","hashtag2"]},{"1328480411":["hashtag1","hashtag2"]},{"1328480413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480406, 1328480409, 1328480411, 1328480413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.9430730342865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:56:22.317537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0003.jpg', '/home/pi/Desktop/images/12012025/20/56/image_12012025_20_56_02_402331_0000.jpg', '/home/pi/Desktop/images/12012025/20/56/image_12012025_20_56_02_402331_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/55/image_12012025_20_55_02_302747_0003.jpg
/home/pi/Desktop/images/12012025/20/56/image_12012025_20_56_02_402331_0000.jpg
/home/pi/Desktop/images/12012025/20/56/image_12012025_20_56_02_402331_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":["1328480421","1328480426","1328480424"],"photo_ids_order":["1328480421","1328480424","1328480426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/52d718493bd65f7a2441cf3b338d99b5.jpg","text":"TemporaryFile(/tmp/multipartBody4630497024295232791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711850042,"filename":"image_12012025_20_55_02_302747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f69106577cdd0441f223a85cb65610d.jpg","text":"TemporaryFile(/tmp/multipartBody1259321505206847929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711850042,"filename":"image_12012025_20_56_02_402331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09fced7f4ff24d24b7af38f8c3826957.jpg","text":"TemporaryFile(/tmp/multipartBody1629978389120287148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711850042,"filename":"image_12012025_20_56_02_402331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480426","file1":"1328480424","file0":"1328480421"},"map_files_photo_id_array":[{"photo_id":"1328480426","filename":"file2"},{"photo_id":"1328480424","filename":"file1"},{"photo_id":"1328480421","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480421":["hashtag1","hashtag2"]},{"1328480426":["hashtag1","hashtag2"]},{"1328480424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480421, 1328480426, 1328480424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.89302968978882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:57:02.941429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 20:57:22.505427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/56/image_12012025_20_56_02_402331_0002.jpg', '/home/pi/Desktop/images/12012025/20/57/image_12012025_20_57_02_612277_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/56/image_12012025_20_56_02_402331_0002.jpg
/home/pi/Desktop/images/12012025/20/57/image_12012025_20_57_02_612277_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":["1328480435","1328480438"],"photo_ids_order":["1328480435","1328480438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e59b2ecd2c8204b571b513028bbf9fa.jpg","text":"TemporaryFile(/tmp/multipartBody1574770047900002954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711907893,"filename":"image_12012025_20_56_02_402331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b276964b28135104bff07c34d264950.jpg","text":"TemporaryFile(/tmp/multipartBody8229265940493227511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736711907893,"filename":"image_12012025_20_57_02_612277_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1328480438","file0":"1328480435"},"map_files_photo_id_array":[{"photo_id":"1328480438","filename":"file1"},{"photo_id":"1328480435","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480435":["hashtag1","hashtag2"]},{"1328480438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480435, 1328480438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.470115900039673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 20:57:52.354329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 20:59:03.311307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/57/image_12012025_20_57_02_612277_0002.jpg', '/home/pi/Desktop/images/12012025/20/58/image_12012025_20_58_02_733306_0000.jpg', '/home/pi/Desktop/images/12012025/20/58/image_12012025_20_58_02_733306_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/57/image_12012025_20_57_02_612277_0002.jpg
/home/pi/Desktop/images/12012025/20/58/image_12012025_20_58_02_733306_0000.jpg
/home/pi/Desktop/images/12012025/20/58/image_12012025_20_58_02_733306_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":["1328480462","1328480458","1328480467"],"photo_ids_order":["1328480458","1328480462","1328480467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30e9ecb0774e2215d3c9cec58eb29765.jpg","text":"TemporaryFile(/tmp/multipartBody7551165316735043974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712011097,"filename":"image_12012025_20_58_02_733306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b7c6050e84d8835d1122e425002a48f.jpg","text":"TemporaryFile(/tmp/multipartBody5214242448690065050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712011097,"filename":"image_12012025_20_57_02_612277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8707801086e9f94a56e950d0628507ce.jpg","text":"TemporaryFile(/tmp/multipartBody8728758986293290161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712011097,"filename":"image_12012025_20_58_02_733306_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480467","file1":"1328480462","file0":"1328480458"},"map_files_photo_id_array":[{"photo_id":"1328480467","filename":"file2"},{"photo_id":"1328480462","filename":"file1"},{"photo_id":"1328480458","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480462":["hashtag1","hashtag2"]},{"1328480458":["hashtag1","hashtag2"]},{"1328480467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480462, 1328480458, 1328480467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.217977046966553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 20:59:42.750001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/58/image_12012025_20_58_02_733306_0002.jpg', '/home/pi/Desktop/images/12012025/20/59/image_12012025_20_59_02_899749_0000.jpg', '/home/pi/Desktop/images/12012025/20/59/image_12012025_20_59_02_899749_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/58/image_12012025_20_58_02_733306_0002.jpg
/home/pi/Desktop/images/12012025/20/59/image_12012025_20_59_02_899749_0000.jpg
/home/pi/Desktop/images/12012025/20/59/image_12012025_20_59_02_899749_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":["1328480735","1328480482","1328480476"],"photo_ids_order":["1328480476","1328480482","1328480735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5187c6d707a088ed271959e0d2667948.jpg","text":"TemporaryFile(/tmp/multipartBody569799876261140592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712050490,"filename":"image_12012025_20_59_02_899749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1289274538ba9827b0886334fcde3402.jpg","text":"TemporaryFile(/tmp/multipartBody2628348031530176543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712050490,"filename":"image_12012025_20_59_02_899749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b18cd8c312895e28930627352e3a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody8404855481390765676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712050490,"filename":"image_12012025_20_58_02_733306_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328480735","file1":"1328480482","file0":"1328480476"},"map_files_photo_id_array":[{"photo_id":"1328480735","filename":"file2"},{"photo_id":"1328480482","filename":"file1"},{"photo_id":"1328480476","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328480735":["hashtag1","hashtag2"]},{"1328480482":["hashtag1","hashtag2"]},{"1328480476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328480735, 1328480482, 1328480476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.12347936630249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:00:21.819148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/59/image_12012025_20_59_02_899749_0002.jpg', '/home/pi/Desktop/images/12012025/21/00/image_12012025_21_00_03_070770_0001.jpg', '/home/pi/Desktop/images/12012025/21/00/image_12012025_21_00_03_070770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/20/59/image_12012025_20_59_02_899749_0002.jpg
/home/pi/Desktop/images/12012025/21/00/image_12012025_21_00_03_070770_0001.jpg
/home/pi/Desktop/images/12012025/21/00/image_12012025_21_00_03_070770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328481220","1328481223","1328481217"],"photo_ids_order":["1328481217","1328481220","1328481223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc8c9fad3310b260c0799b583b48b0d0.jpg","text":"TemporaryFile(/tmp/multipartBody2240519910130654111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712089541,"filename":"image_12012025_21_00_03_070770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2b5fca277712e2f65f5bbe03e0ec8e12.jpg","text":"TemporaryFile(/tmp/multipartBody1535302327508774504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712089541,"filename":"image_12012025_21_00_03_070770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0eba0c37c0216534615cc189eec7141d.jpg","text":"TemporaryFile(/tmp/multipartBody1260268584778474135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712089541,"filename":"image_12012025_20_59_02_899749_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328481223","file1":"1328481220","file0":"1328481217"},"map_files_photo_id_array":[{"photo_id":"1328481223","filename":"file2"},{"photo_id":"1328481220","filename":"file1"},{"photo_id":"1328481217","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328481220":["hashtag1","hashtag2"]},{"1328481223":["hashtag1","hashtag2"]},{"1328481217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328481220, 1328481223, 1328481217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.030322313308716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:01:02.574135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:01:22.032534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/00/image_12012025_21_00_03_070770_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/00/image_12012025_21_00_03_070770_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328481235"],"photo_id":"1328481235","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c148cad089f41dc79b36e5860dc37d9.jpg","text":"TemporaryFile(/tmp/multipartBody3244806603970212298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712145073,"filename":"image_12012025_21_00_03_070770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1328481235"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1328481235"}],"hashtags":[],"portfolio_id":"19529693","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.958120584487915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:01:42.115331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:01:52.003025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:02:02.616678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:02:22.226283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/01/image_12012025_21_01_02_185447_0001.jpg', '/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0000.jpg', '/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0001.jpg', '/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/01/image_12012025_21_01_02_185447_0001.jpg
/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0000.jpg
/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0001.jpg
/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328482508","1328482882","1328482656","1328482784"],"photo_ids_order":["1328482508","1328482656","1328482784","1328482882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fde7871d482a5600e35de54ac24a20d3.jpg","text":"TemporaryFile(/tmp/multipartBody2639850424875700052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712212315,"filename":"image_12012025_21_01_02_185447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df41eb54bfdcbf2df93f7102a3e07f54.jpg","text":"TemporaryFile(/tmp/multipartBody2652191216645930063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712212315,"filename":"image_12012025_21_02_02_398226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e05b160e70547f57e86dc1e8c52397da.jpg","text":"TemporaryFile(/tmp/multipartBody7875234560286860841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712212315,"filename":"image_12012025_21_02_02_398226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d00ac545be2cb9d24bfdc20abe95afe4.jpg","text":"TemporaryFile(/tmp/multipartBody3168672772378897257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712212315,"filename":"image_12012025_21_02_02_398226_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328482784","file1":"1328482656","file0":"1328482508","file3":"1328482882"},"map_files_photo_id_array":[{"photo_id":"1328482784","filename":"file2"},{"photo_id":"1328482656","filename":"file1"},{"photo_id":"1328482508","filename":"file0"},{"photo_id":"1328482882","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328482508":["hashtag1","hashtag2"]},{"1328482882":["hashtag1","hashtag2"]},{"1328482656":["hashtag1","hashtag2"]},{"1328482784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328482508, 1328482882, 1328482656, 1328482784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.619651556015015 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-12 21:03:22.425688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0003.jpg', '/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0000.jpg', '/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0001.jpg', '/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/02/image_12012025_21_02_02_398226_0003.jpg
/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0000.jpg
/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0001.jpg
/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483056","1328483050","1328483054","1328483048"],"photo_ids_order":["1328483048","1328483050","1328483054","1328483056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/053480ebea803e06eace06bb2733d518.jpg","text":"TemporaryFile(/tmp/multipartBody4590334300379150354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712272495,"filename":"image_12012025_21_03_02_633570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65bbe28addcad0f2ee04a97820291589.jpg","text":"TemporaryFile(/tmp/multipartBody543833380681921181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712272495,"filename":"image_12012025_21_03_02_633570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35e7d833ce5b5bcf3646f89a44571d8d.jpg","text":"TemporaryFile(/tmp/multipartBody1003715078407142814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712272495,"filename":"image_12012025_21_03_02_633570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/888fb23d1dad82c077f93ea8ba6da60c.jpg","text":"TemporaryFile(/tmp/multipartBody8704617477140793130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712272495,"filename":"image_12012025_21_02_02_398226_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483054","file1":"1328483050","file0":"1328483048","file3":"1328483056"},"map_files_photo_id_array":[{"photo_id":"1328483054","filename":"file2"},{"photo_id":"1328483050","filename":"file1"},{"photo_id":"1328483048","filename":"file0"},{"photo_id":"1328483056","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483056":["hashtag1","hashtag2"]},{"1328483050":["hashtag1","hashtag2"]},{"1328483054":["hashtag1","hashtag2"]},{"1328483048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483056, 1328483050, 1328483054, 1328483048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8921263217926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:04:22.491335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0003.jpg', '/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0000.jpg', '/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0001.jpg', '/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/03/image_12012025_21_03_02_633570_0003.jpg
/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0000.jpg
/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0001.jpg
/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483065","1328483070","1328483067","1328483063"],"photo_ids_order":["1328483063","1328483065","1328483067","1328483070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c497802fe877e607ce1ce35495df053.jpg","text":"TemporaryFile(/tmp/multipartBody6340687241605687416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712332274,"filename":"image_12012025_21_04_02_761807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11dcb31fbef7d103d4cd58f47a96059a.jpg","text":"TemporaryFile(/tmp/multipartBody8350474539183494709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712332274,"filename":"image_12012025_21_04_02_761807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a66407ab81204a6a0dc3c85269d94109.jpg","text":"TemporaryFile(/tmp/multipartBody2806805633242154502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712332274,"filename":"image_12012025_21_04_02_761807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d422f66a0228a4a05e3adfcdcf43ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5750409097616306284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712332274,"filename":"image_12012025_21_03_02_633570_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483067","file1":"1328483065","file0":"1328483063","file3":"1328483070"},"map_files_photo_id_array":[{"photo_id":"1328483067","filename":"file2"},{"photo_id":"1328483065","filename":"file1"},{"photo_id":"1328483063","filename":"file0"},{"photo_id":"1328483070","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483065":["hashtag1","hashtag2"]},{"1328483070":["hashtag1","hashtag2"]},{"1328483067":["hashtag1","hashtag2"]},{"1328483063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483065, 1328483070, 1328483067, 1328483063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52360677719116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:05:03.260060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:05:22.735785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0003.jpg', '/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0000.jpg', '/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/04/image_12012025_21_04_02_761807_0003.jpg
/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0000.jpg
/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483083","1328483079","1328483081"],"photo_ids_order":["1328483079","1328483081","1328483083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ea05dd54114a0596f9c2e9b03061841.jpg","text":"TemporaryFile(/tmp/multipartBody5728424882289033200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712390218,"filename":"image_12012025_21_05_02_908633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37c29fdc8260bf8811895ba33217c982.jpg","text":"TemporaryFile(/tmp/multipartBody7793576131369581731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712390218,"filename":"image_12012025_21_04_02_761807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e5383bd698614be7e0a7e31af65d80a7.jpg","text":"TemporaryFile(/tmp/multipartBody7411482542269517871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712390218,"filename":"image_12012025_21_05_02_908633_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483083","file1":"1328483081","file0":"1328483079"},"map_files_photo_id_array":[{"photo_id":"1328483083","filename":"file2"},{"photo_id":"1328483081","filename":"file1"},{"photo_id":"1328483079","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483083":["hashtag1","hashtag2"]},{"1328483079":["hashtag1","hashtag2"]},{"1328483081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483083, 1328483079, 1328483081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.130290508270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:06:02.289117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:06:21.875252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0003.jpg', '/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0000.jpg', '/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0001.jpg', '/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0003.jpg
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0000.jpg
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0001.jpg
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.432805299758911 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-12 21:06:41.874459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0003.jpg', '/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0000.jpg', '/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0001.jpg', '/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/05/image_12012025_21_05_02_908633_0003.jpg
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0000.jpg
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0001.jpg
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_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":["1328483097","1328483100","1328483096","1328483098"],"photo_ids_order":["1328483096","1328483097","1328483098","1328483100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67d768cef8ad22e8ab174cb6754bca27.jpg","text":"TemporaryFile(/tmp/multipartBody988417688317670412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712471714,"filename":"image_12012025_21_06_03_092214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9146843df320c26692afda110fc72618.jpg","text":"TemporaryFile(/tmp/multipartBody7681395905984428289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712471714,"filename":"image_12012025_21_06_03_092214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/20d50f1ba045624a0466d6a4e037ae80.jpg","text":"TemporaryFile(/tmp/multipartBody4309306431588209967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712471714,"filename":"image_12012025_21_05_02_908633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a3a0da0c46f8b16d3fefbf80261ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody8537714808413014197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712471714,"filename":"image_12012025_21_06_03_092214_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483098","file1":"1328483097","file0":"1328483096","file3":"1328483100"},"map_files_photo_id_array":[{"photo_id":"1328483098","filename":"file2"},{"photo_id":"1328483097","filename":"file1"},{"photo_id":"1328483096","filename":"file0"},{"photo_id":"1328483100","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483097":["hashtag1","hashtag2"]},{"1328483100":["hashtag1","hashtag2"]},{"1328483096":["hashtag1","hashtag2"]},{"1328483098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483097, 1328483100, 1328483096, 1328483098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.450281620025635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:07:22.089498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0003.jpg', '/home/pi/Desktop/images/12012025/21/07/image_12012025_21_07_02_285009_0000.jpg', '/home/pi/Desktop/images/12012025/21/07/image_12012025_21_07_02_285009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/06/image_12012025_21_06_03_092214_0003.jpg
/home/pi/Desktop/images/12012025/21/07/image_12012025_21_07_02_285009_0000.jpg
/home/pi/Desktop/images/12012025/21/07/image_12012025_21_07_02_285009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483112","1328483109","1328483106"],"photo_ids_order":["1328483106","1328483109","1328483112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37fda3f02540be681c18daf05f3fd524.jpg","text":"TemporaryFile(/tmp/multipartBody4763279918282114711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712509648,"filename":"image_12012025_21_07_02_285009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e09cc7f621775887846fb02bc69afd7d.jpg","text":"TemporaryFile(/tmp/multipartBody8896007300932619059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712509648,"filename":"image_12012025_21_07_02_285009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c36c243e8a8871901469c52dc520d895.jpg","text":"TemporaryFile(/tmp/multipartBody611270668484795609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712509648,"filename":"image_12012025_21_06_03_092214_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483112","file1":"1328483109","file0":"1328483106"},"map_files_photo_id_array":[{"photo_id":"1328483112","filename":"file2"},{"photo_id":"1328483109","filename":"file1"},{"photo_id":"1328483106","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483112":["hashtag1","hashtag2"]},{"1328483109":["hashtag1","hashtag2"]},{"1328483106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483112, 1328483109, 1328483106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.064635038375854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:08:02.654661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:08:22.365814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/07/image_12012025_21_07_02_285009_0003.jpg', '/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0000.jpg', '/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0001.jpg', '/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/07/image_12012025_21_07_02_285009_0003.jpg
/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0000.jpg
/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0001.jpg
/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483130","1328483127","1328483121","1328483124"],"photo_ids_order":["1328483121","1328483124","1328483127","1328483130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f5ae42fe49e7b67ab2c0d7b40612d69f.jpg","text":"TemporaryFile(/tmp/multipartBody1472440043919563503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712572380,"filename":"image_12012025_21_08_02_420606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/640272b54eeb52699ff996e89b20e83d.jpg","text":"TemporaryFile(/tmp/multipartBody1674106221475470180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712572380,"filename":"image_12012025_21_08_02_420606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7249aeb94452c63718287815ce1636ae.jpg","text":"TemporaryFile(/tmp/multipartBody3101486943713940676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712572380,"filename":"image_12012025_21_07_02_285009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ea6e8ebcb39db091bffe0458e42643a0.jpg","text":"TemporaryFile(/tmp/multipartBody3416257067787764394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712572380,"filename":"image_12012025_21_08_02_420606_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483127","file1":"1328483124","file0":"1328483121","file3":"1328483130"},"map_files_photo_id_array":[{"photo_id":"1328483127","filename":"file2"},{"photo_id":"1328483124","filename":"file1"},{"photo_id":"1328483121","filename":"file0"},{"photo_id":"1328483130","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483130":["hashtag1","hashtag2"]},{"1328483127":["hashtag1","hashtag2"]},{"1328483121":["hashtag1","hashtag2"]},{"1328483124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483130, 1328483127, 1328483121, 1328483124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.41209316253662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:09:22.495095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0003.jpg', '/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0000.jpg', '/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0001.jpg', '/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/08/image_12012025_21_08_02_420606_0003.jpg
/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0000.jpg
/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0001.jpg
/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483143","1328483145","1328483139","1328483141"],"photo_ids_order":["1328483139","1328483141","1328483143","1328483145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c2a4fd4452124dc85945eb0fd596476.jpg","text":"TemporaryFile(/tmp/multipartBody4726657447428757274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712632621,"filename":"image_12012025_21_09_02_609053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7fcf864f00dfee55ccb6c213fc65c4bd.jpg","text":"TemporaryFile(/tmp/multipartBody708778789495482157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712632621,"filename":"image_12012025_21_09_02_609053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65dd9b593a78dc4cc2543f6c3612a035.jpg","text":"TemporaryFile(/tmp/multipartBody2700403113408452089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712632621,"filename":"image_12012025_21_08_02_420606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d92297497900b58fbb7d9136b4be6304.jpg","text":"TemporaryFile(/tmp/multipartBody381144565913579043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712632621,"filename":"image_12012025_21_09_02_609053_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483143","file1":"1328483141","file0":"1328483139","file3":"1328483145"},"map_files_photo_id_array":[{"photo_id":"1328483143","filename":"file2"},{"photo_id":"1328483141","filename":"file1"},{"photo_id":"1328483139","filename":"file0"},{"photo_id":"1328483145","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483143":["hashtag1","hashtag2"]},{"1328483145":["hashtag1","hashtag2"]},{"1328483139":["hashtag1","hashtag2"]},{"1328483141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483143, 1328483145, 1328483139, 1328483141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43047380447388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:10:22.708347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0003.jpg', '/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0000.jpg', '/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0001.jpg', '/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0003.jpg
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0000.jpg
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0001.jpg
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_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.773357629776001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:10:42.644087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0003.jpg', '/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0000.jpg', '/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0001.jpg', '/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/09/image_12012025_21_09_02_609053_0003.jpg
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0000.jpg
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0001.jpg
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483161","1328483163","1328483165","1328483159"],"photo_ids_order":["1328483159","1328483161","1328483163","1328483165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c2e73404c4f5a52fed8a798b4e3de9b.jpg","text":"TemporaryFile(/tmp/multipartBody5155879347038806214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712712827,"filename":"image_12012025_21_10_02_895892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6402cddbb1e17dc25b202b36373a396.jpg","text":"TemporaryFile(/tmp/multipartBody1971465720467629350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712712827,"filename":"image_12012025_21_10_02_895892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d5f05e9fd269599a4afc6b0a45865f1.jpg","text":"TemporaryFile(/tmp/multipartBody7180150221220622239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712712827,"filename":"image_12012025_21_10_02_895892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6b51c2790e512d14e88f5080d14413ad.jpg","text":"TemporaryFile(/tmp/multipartBody1033211841252160394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712712827,"filename":"image_12012025_21_09_02_609053_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483163","file1":"1328483161","file0":"1328483159","file3":"1328483165"},"map_files_photo_id_array":[{"photo_id":"1328483163","filename":"file2"},{"photo_id":"1328483161","filename":"file1"},{"photo_id":"1328483159","filename":"file0"},{"photo_id":"1328483165","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483161":["hashtag1","hashtag2"]},{"1328483163":["hashtag1","hashtag2"]},{"1328483165":["hashtag1","hashtag2"]},{"1328483159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483161, 1328483163, 1328483165, 1328483159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.471659660339355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:11:31.861216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0003.jpg', '/home/pi/Desktop/images/12012025/21/11/image_12012025_21_11_03_074954_0000.jpg', '/home/pi/Desktop/images/12012025/21/11/image_12012025_21_11_03_074954_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/10/image_12012025_21_10_02_895892_0003.jpg
/home/pi/Desktop/images/12012025/21/11/image_12012025_21_11_03_074954_0000.jpg
/home/pi/Desktop/images/12012025/21/11/image_12012025_21_11_03_074954_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":["1328483176","1328483172","1328483174"],"photo_ids_order":["1328483172","1328483174","1328483176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f18fb44c355c623f255e854ddea126b.jpg","text":"TemporaryFile(/tmp/multipartBody6266081322522232826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712759726,"filename":"image_12012025_21_11_03_074954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be3c493a0f35ff242450c6a52a044903.jpg","text":"TemporaryFile(/tmp/multipartBody5169780696753328192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712759726,"filename":"image_12012025_21_10_02_895892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c1d893c501b435a614aec63762fe2fec.jpg","text":"TemporaryFile(/tmp/multipartBody6740487970515736853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712759726,"filename":"image_12012025_21_11_03_074954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483176","file1":"1328483174","file0":"1328483172"},"map_files_photo_id_array":[{"photo_id":"1328483176","filename":"file2"},{"photo_id":"1328483174","filename":"file1"},{"photo_id":"1328483172","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483176":["hashtag1","hashtag2"]},{"1328483172":["hashtag1","hashtag2"]},{"1328483174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483176, 1328483172, 1328483174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.43847918510437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:12:22.027608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/11/image_12012025_21_11_03_074954_0003.jpg', '/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0000.jpg', '/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0001.jpg', '/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/11/image_12012025_21_11_03_074954_0003.jpg
/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0000.jpg
/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0001.jpg
/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483194","1328483188","1328483193","1328483191"],"photo_ids_order":["1328483188","1328483191","1328483193","1328483194"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6ac8cf26a88102b6c871e027a080fb3c.jpg","text":"TemporaryFile(/tmp/multipartBody2029661865968569285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712812269,"filename":"image_12012025_21_12_02_231679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca3c11e7c60fed0935326e321dbd643d.jpg","text":"TemporaryFile(/tmp/multipartBody135253018124322865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712812269,"filename":"image_12012025_21_11_03_074954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5dcaa85877f2ba5ca34ffb86a6e616fe.jpg","text":"TemporaryFile(/tmp/multipartBody6395862744018738675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712812269,"filename":"image_12012025_21_12_02_231679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5db77d188d77c75f7099b1cb6591aba6.jpg","text":"TemporaryFile(/tmp/multipartBody2343810671191323112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712812269,"filename":"image_12012025_21_12_02_231679_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483193","file1":"1328483191","file0":"1328483188","file3":"1328483194"},"map_files_photo_id_array":[{"photo_id":"1328483193","filename":"file2"},{"photo_id":"1328483191","filename":"file1"},{"photo_id":"1328483188","filename":"file0"},{"photo_id":"1328483194","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483194":["hashtag1","hashtag2"]},{"1328483188":["hashtag1","hashtag2"]},{"1328483193":["hashtag1","hashtag2"]},{"1328483191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483194, 1328483188, 1328483193, 1328483191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18509078025818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:13:02.755026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:13:22.179351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0003.jpg', '/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0000.jpg', '/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0001.jpg', '/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/12/image_12012025_21_12_02_231679_0003.jpg
/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0000.jpg
/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0001.jpg
/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483203","1328483206","1328483205","1328483207"],"photo_ids_order":["1328483203","1328483205","1328483206","1328483207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/06fd382b0ca53c39a298fd058962f3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7778152182229043065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712872673,"filename":"image_12012025_21_12_02_231679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51ac47eaade4d99c64c74456a3237fc8.jpg","text":"TemporaryFile(/tmp/multipartBody7318125034938443980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712872673,"filename":"image_12012025_21_13_02_445238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/787087e2cb3933b4a419896db0c7da5b.jpg","text":"TemporaryFile(/tmp/multipartBody3610480370742861532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712872673,"filename":"image_12012025_21_13_02_445238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c9db807c87259d7cf12aaa69ee58432.jpg","text":"TemporaryFile(/tmp/multipartBody3630388267357051248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712872673,"filename":"image_12012025_21_13_02_445238_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483206","file1":"1328483205","file0":"1328483203","file3":"1328483207"},"map_files_photo_id_array":[{"photo_id":"1328483206","filename":"file2"},{"photo_id":"1328483205","filename":"file1"},{"photo_id":"1328483203","filename":"file0"},{"photo_id":"1328483207","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483203":["hashtag1","hashtag2"]},{"1328483206":["hashtag1","hashtag2"]},{"1328483205":["hashtag1","hashtag2"]},{"1328483207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483203, 1328483206, 1328483205, 1328483207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.90363955497742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:14:22.371023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0003.jpg', '/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0000.jpg', '/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0001.jpg', '/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/13/image_12012025_21_13_02_445238_0003.jpg
/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0000.jpg
/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0001.jpg
/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483227","1328483229","1328483223","1328483225"],"photo_ids_order":["1328483223","1328483225","1328483227","1328483229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ede6f997dab157473030ae4b0f3889d.jpg","text":"TemporaryFile(/tmp/multipartBody3414336294070204152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712932633,"filename":"image_12012025_21_14_02_571148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2d47901057b528298fad9b79a1ab060.jpg","text":"TemporaryFile(/tmp/multipartBody5940171896189491167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712932633,"filename":"image_12012025_21_14_02_571148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/547028810e0f30f18a7326f2dd6fb948.jpg","text":"TemporaryFile(/tmp/multipartBody8817926292258717980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712932633,"filename":"image_12012025_21_13_02_445238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8f734e2dc161066cb22f1d84e51153c.jpg","text":"TemporaryFile(/tmp/multipartBody5878247926177132171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712932633,"filename":"image_12012025_21_14_02_571148_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483227","file1":"1328483225","file0":"1328483223","file3":"1328483229"},"map_files_photo_id_array":[{"photo_id":"1328483227","filename":"file2"},{"photo_id":"1328483225","filename":"file1"},{"photo_id":"1328483223","filename":"file0"},{"photo_id":"1328483229","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483227":["hashtag1","hashtag2"]},{"1328483229":["hashtag1","hashtag2"]},{"1328483223":["hashtag1","hashtag2"]},{"1328483225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483227, 1328483229, 1328483223, 1328483225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7760226726532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:15:22.605429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0003.jpg', '/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0000.jpg', '/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0001.jpg', '/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/14/image_12012025_21_14_02_571148_0003.jpg
/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0000.jpg
/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0001.jpg
/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483242","1328483236","1328483239","1328483244"],"photo_ids_order":["1328483236","1328483239","1328483242","1328483244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/004e84f0dd96ff538b057a0d14275030.jpg","text":"TemporaryFile(/tmp/multipartBody6726624022623942062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712992768,"filename":"image_12012025_21_15_02_745946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f200a9cabd51327e7b9fd52ba6263c3.jpg","text":"TemporaryFile(/tmp/multipartBody1389854141454884616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712992768,"filename":"image_12012025_21_14_02_571148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de17f7010711cf21404f80e294c5c7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2725782475376885998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712992768,"filename":"image_12012025_21_15_02_745946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da2fc377cbf03eaee3f15b5387e646d5.jpg","text":"TemporaryFile(/tmp/multipartBody110899319401443298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736712992768,"filename":"image_12012025_21_15_02_745946_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483242","file1":"1328483239","file0":"1328483236","file3":"1328483244"},"map_files_photo_id_array":[{"photo_id":"1328483242","filename":"file2"},{"photo_id":"1328483239","filename":"file1"},{"photo_id":"1328483236","filename":"file0"},{"photo_id":"1328483244","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483242":["hashtag1","hashtag2"]},{"1328483236":["hashtag1","hashtag2"]},{"1328483239":["hashtag1","hashtag2"]},{"1328483244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483242, 1328483236, 1328483239, 1328483244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.48680400848389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:16:21.886964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0003.jpg', '/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0000.jpg', '/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0001.jpg', '/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/15/image_12012025_21_15_02_745946_0003.jpg
/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0000.jpg
/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0001.jpg
/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483254","1328483256","1328483258","1328483252"],"photo_ids_order":["1328483252","1328483254","1328483256","1328483258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7eff7a756bb3f3c0b5828ce76c70c7f9.jpg","text":"TemporaryFile(/tmp/multipartBody3649138234746026613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713052204,"filename":"image_12012025_21_16_02_963821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67d9744db3377f87f329bfdbe32bb70d.jpg","text":"TemporaryFile(/tmp/multipartBody5582935260393061233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713052204,"filename":"image_12012025_21_16_02_963821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c2e907a83e91708153ba833e857a19f.jpg","text":"TemporaryFile(/tmp/multipartBody8851342175593947251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713052204,"filename":"image_12012025_21_16_02_963821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f73913406a318695be10cbf1d2bea98.jpg","text":"TemporaryFile(/tmp/multipartBody3238154594999380077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713052204,"filename":"image_12012025_21_15_02_745946_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483256","file1":"1328483254","file0":"1328483252","file3":"1328483258"},"map_files_photo_id_array":[{"photo_id":"1328483256","filename":"file2"},{"photo_id":"1328483254","filename":"file1"},{"photo_id":"1328483252","filename":"file0"},{"photo_id":"1328483258","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483254":["hashtag1","hashtag2"]},{"1328483256":["hashtag1","hashtag2"]},{"1328483258":["hashtag1","hashtag2"]},{"1328483252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483254, 1328483256, 1328483258, 1328483252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79417037963867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:17:22.070028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0003.jpg', '/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0000.jpg', '/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0001.jpg', '/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/16/image_12012025_21_16_02_963821_0003.jpg
/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0000.jpg
/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0001.jpg
/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483274","1328483271","1328483276","1328483278"],"photo_ids_order":["1328483271","1328483274","1328483276","1328483278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53334dee44e941d49e932ea8b3691b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3667135627230862108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713112513,"filename":"image_12012025_21_17_02_241982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b4d28af32b7182d110a599b75ca4897d.jpg","text":"TemporaryFile(/tmp/multipartBody6667695301284267349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713112513,"filename":"image_12012025_21_16_02_963821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b87ef416c40bb3431dcfd9c3adfaa02d.jpg","text":"TemporaryFile(/tmp/multipartBody4240567472093187083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713112513,"filename":"image_12012025_21_17_02_241982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bb43c4f01f62e20fdf4ca86f5edbb8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4083937082843362750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713112513,"filename":"image_12012025_21_17_02_241982_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483276","file1":"1328483274","file0":"1328483271","file3":"1328483278"},"map_files_photo_id_array":[{"photo_id":"1328483276","filename":"file2"},{"photo_id":"1328483274","filename":"file1"},{"photo_id":"1328483271","filename":"file0"},{"photo_id":"1328483278","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483274":["hashtag1","hashtag2"]},{"1328483271":["hashtag1","hashtag2"]},{"1328483276":["hashtag1","hashtag2"]},{"1328483278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483274, 1328483271, 1328483276, 1328483278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01101756095886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:18:22.349794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0003.jpg', '/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0000.jpg', '/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0003.jpg
/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0000.jpg
/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_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.324676990509033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:18:32.256184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0003.jpg', '/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0000.jpg', '/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/17/image_12012025_21_17_02_241982_0003.jpg
/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0000.jpg
/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_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":["1328483293","1328483291","1328483294"],"photo_ids_order":["1328483291","1328483293","1328483294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/323a7e6802c3b0bc535c8180a6a35f48.jpg","text":"TemporaryFile(/tmp/multipartBody5053834018250904392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713180005,"filename":"image_12012025_21_18_02_394707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/69e720e2155a4e064ba28848c0420857.jpg","text":"TemporaryFile(/tmp/multipartBody6201847673370183835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713180005,"filename":"image_12012025_21_17_02_241982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/205ac798aff13178b84ab2b58354079c.jpg","text":"TemporaryFile(/tmp/multipartBody7311974910036897297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713180005,"filename":"image_12012025_21_18_02_394707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483294","file1":"1328483293","file0":"1328483291"},"map_files_photo_id_array":[{"photo_id":"1328483294","filename":"file2"},{"photo_id":"1328483293","filename":"file1"},{"photo_id":"1328483291","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483293":["hashtag1","hashtag2"]},{"1328483291":["hashtag1","hashtag2"]},{"1328483294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483293, 1328483291, 1328483294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.117947101593018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:19:22.476118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0002.jpg', '/home/pi/Desktop/images/12012025/21/19/image_12012025_21_19_02_628390_0001.jpg', '/home/pi/Desktop/images/12012025/21/19/image_12012025_21_19_02_628390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/18/image_12012025_21_18_02_394707_0002.jpg
/home/pi/Desktop/images/12012025/21/19/image_12012025_21_19_02_628390_0001.jpg
/home/pi/Desktop/images/12012025/21/19/image_12012025_21_19_02_628390_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483301","1328483304","1328483306"],"photo_ids_order":["1328483301","1328483304","1328483306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09f5f1132a21487f2ab2eee16b698c99.jpg","text":"TemporaryFile(/tmp/multipartBody2694803895720828182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713230334,"filename":"image_12012025_21_18_02_394707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d099e5aa7cb5a91cd7cf8b8e16324905.jpg","text":"TemporaryFile(/tmp/multipartBody972081800027869387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713230334,"filename":"image_12012025_21_19_02_628390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/281616bb65a1c61d752291e2ed4822de.jpg","text":"TemporaryFile(/tmp/multipartBody7761111828714247832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713230334,"filename":"image_12012025_21_19_02_628390_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483306","file1":"1328483304","file0":"1328483301"},"map_files_photo_id_array":[{"photo_id":"1328483306","filename":"file2"},{"photo_id":"1328483304","filename":"file1"},{"photo_id":"1328483301","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483301":["hashtag1","hashtag2"]},{"1328483304":["hashtag1","hashtag2"]},{"1328483306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483301, 1328483304, 1328483306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 37.4876070022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:20:03.086374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:20:22.622852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/19/image_12012025_21_19_02_628390_0003.jpg', '/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0000.jpg', '/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0001.jpg', '/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/19/image_12012025_21_19_02_628390_0003.jpg
/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0000.jpg
/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0001.jpg
/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483317","1328483319","1328483321","1328483315"],"photo_ids_order":["1328483315","1328483317","1328483319","1328483321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b4e47fec219ce496aef7cd868558a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5000356567068977782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713292892,"filename":"image_12012025_21_20_02_861610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c133342ebe9cdd912180f4706f3ba51.jpg","text":"TemporaryFile(/tmp/multipartBody2312622756978335596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713292892,"filename":"image_12012025_21_20_02_861610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d0f3b1e3dfa08c71bf7a48a2cf71d39a.jpg","text":"TemporaryFile(/tmp/multipartBody438090971020986004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713292892,"filename":"image_12012025_21_20_02_861610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/40fa508bf25273cd8a4edfcd82ff475f.jpg","text":"TemporaryFile(/tmp/multipartBody5957479572226152286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713292892,"filename":"image_12012025_21_19_02_628390_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483319","file1":"1328483317","file0":"1328483315","file3":"1328483321"},"map_files_photo_id_array":[{"photo_id":"1328483319","filename":"file2"},{"photo_id":"1328483317","filename":"file1"},{"photo_id":"1328483315","filename":"file0"},{"photo_id":"1328483321","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483317":["hashtag1","hashtag2"]},{"1328483319":["hashtag1","hashtag2"]},{"1328483321":["hashtag1","hashtag2"]},{"1328483315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483317, 1328483319, 1328483321, 1328483315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.293941497802734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:21:22.753324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0003.jpg', '/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0000.jpg', '/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0001.jpg', '/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/20/image_12012025_21_20_02_861610_0003.jpg
/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0000.jpg
/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0001.jpg
/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483331","1328483334","1328483328","1328483336"],"photo_ids_order":["1328483328","1328483331","1328483334","1328483336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/49797bff5894b4c7975302b401c6f550.jpg","text":"TemporaryFile(/tmp/multipartBody9094257362045952686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713352847,"filename":"image_12012025_21_21_03_033066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe72c18df8e42fa79500f13b421f6ca6.jpg","text":"TemporaryFile(/tmp/multipartBody937693669464100475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713352847,"filename":"image_12012025_21_21_03_033066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/43a0be4d8c18917b446b55e9128c0ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6668560388758458991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713352847,"filename":"image_12012025_21_20_02_861610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bfb0ba47dc18c10e80e420eba316e219.jpg","text":"TemporaryFile(/tmp/multipartBody7261336668256763469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713352847,"filename":"image_12012025_21_21_03_033066_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483334","file1":"1328483331","file0":"1328483328","file3":"1328483336"},"map_files_photo_id_array":[{"photo_id":"1328483334","filename":"file2"},{"photo_id":"1328483331","filename":"file1"},{"photo_id":"1328483328","filename":"file0"},{"photo_id":"1328483336","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483331":["hashtag1","hashtag2"]},{"1328483334":["hashtag1","hashtag2"]},{"1328483328":["hashtag1","hashtag2"]},{"1328483336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483331, 1328483334, 1328483328, 1328483336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02723693847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:22:21.941521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0003.jpg', '/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0000.jpg', '/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0001.jpg', '/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/21/image_12012025_21_21_03_033066_0003.jpg
/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0000.jpg
/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0001.jpg
/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483344","1328483343","1328483346","1328483342"],"photo_ids_order":["1328483342","1328483343","1328483344","1328483346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/160e90741a653c4cc878256b3fad9d98.jpg","text":"TemporaryFile(/tmp/multipartBody4243274429213334879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713412241,"filename":"image_12012025_21_22_03_127835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e5348a2eebf1bd21ce501318ba1a237.jpg","text":"TemporaryFile(/tmp/multipartBody7192883625307239269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713412241,"filename":"image_12012025_21_22_03_127835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/67c6aec23a9d0d75871e9e84a20fbfb7.jpg","text":"TemporaryFile(/tmp/multipartBody4062382227006622463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713412241,"filename":"image_12012025_21_22_03_127835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/355b112cb169dfc1c136b055f9904137.jpg","text":"TemporaryFile(/tmp/multipartBody33104018894365438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713412241,"filename":"image_12012025_21_21_03_033066_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483344","file1":"1328483343","file0":"1328483342","file3":"1328483346"},"map_files_photo_id_array":[{"photo_id":"1328483344","filename":"file2"},{"photo_id":"1328483343","filename":"file1"},{"photo_id":"1328483342","filename":"file0"},{"photo_id":"1328483346","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483344":["hashtag1","hashtag2"]},{"1328483343":["hashtag1","hashtag2"]},{"1328483346":["hashtag1","hashtag2"]},{"1328483342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483344, 1328483343, 1328483346, 1328483342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.706634759902954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:23:22.099348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0003.jpg', '/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0000.jpg', '/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0001.jpg', '/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/22/image_12012025_21_22_03_127835_0003.jpg
/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0000.jpg
/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0001.jpg
/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483361","1328483358","1328483360","1328483362"],"photo_ids_order":["1328483358","1328483360","1328483361","1328483362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb1cecab6987cb43a099f37cbf66959f.jpg","text":"TemporaryFile(/tmp/multipartBody7180543029992794745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713472482,"filename":"image_12012025_21_23_02_286179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a8071389269077f0f01530286d6e663.jpg","text":"TemporaryFile(/tmp/multipartBody9098306924642671183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713472482,"filename":"image_12012025_21_22_03_127835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d11062621858abf20750f7e366375995.jpg","text":"TemporaryFile(/tmp/multipartBody3600756581716330842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713472482,"filename":"image_12012025_21_23_02_286179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d41e712a310da378afac06dad67e5352.jpg","text":"TemporaryFile(/tmp/multipartBody1128781801150866867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713472482,"filename":"image_12012025_21_23_02_286179_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483361","file1":"1328483360","file0":"1328483358","file3":"1328483362"},"map_files_photo_id_array":[{"photo_id":"1328483361","filename":"file2"},{"photo_id":"1328483360","filename":"file1"},{"photo_id":"1328483358","filename":"file0"},{"photo_id":"1328483362","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483361":["hashtag1","hashtag2"]},{"1328483358":["hashtag1","hashtag2"]},{"1328483360":["hashtag1","hashtag2"]},{"1328483362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483361, 1328483358, 1328483360, 1328483362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.09732413291931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:24:22.302737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0003.jpg', '/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0000.jpg', '/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0001.jpg', '/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0003.jpg
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0000.jpg
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0001.jpg
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_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.912737131118774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:24:42.288015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0003.jpg', '/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0000.jpg', '/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0001.jpg', '/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/23/image_12012025_21_23_02_286179_0003.jpg
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0000.jpg
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0001.jpg
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_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":["1328483374","1328483376","1328483379","1328483375"],"photo_ids_order":["1328483374","1328483375","1328483376","1328483379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aee4413f91041c52e989b5791e6f3af9.jpg","text":"TemporaryFile(/tmp/multipartBody6030492486571650410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713552602,"filename":"image_12012025_21_23_02_286179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86cc5ba9ae98f1f76efb40ef3d741b84.jpg","text":"TemporaryFile(/tmp/multipartBody7707988152765880232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713552602,"filename":"image_12012025_21_24_02_493021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/00172f97be3b8668599b7b7cd00a38d9.jpg","text":"TemporaryFile(/tmp/multipartBody862066372020052423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713552602,"filename":"image_12012025_21_24_02_493021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9473d4935eaec4233528793c2cc745b8.jpg","text":"TemporaryFile(/tmp/multipartBody70308195912921360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713552602,"filename":"image_12012025_21_24_02_493021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483376","file1":"1328483375","file0":"1328483374","file3":"1328483379"},"map_files_photo_id_array":[{"photo_id":"1328483376","filename":"file2"},{"photo_id":"1328483375","filename":"file1"},{"photo_id":"1328483374","filename":"file0"},{"photo_id":"1328483379","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483374":["hashtag1","hashtag2"]},{"1328483376":["hashtag1","hashtag2"]},{"1328483379":["hashtag1","hashtag2"]},{"1328483375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483374, 1328483376, 1328483379, 1328483375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80645489692688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:25:22.473372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0003.jpg', '/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0000.jpg', '/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0001.jpg', '/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/24/image_12012025_21_24_02_493021_0003.jpg
/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0000.jpg
/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0001.jpg
/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483386","1328483391","1328483388","1328483390"],"photo_ids_order":["1328483386","1328483388","1328483390","1328483391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f28c8ea7016b15bebf3e93324feee762.jpg","text":"TemporaryFile(/tmp/multipartBody2671216030824089159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713592689,"filename":"image_12012025_21_24_02_493021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7341efb8613ad99bc9b5e10b16500ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8998939518417239024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713592689,"filename":"image_12012025_21_25_02_629163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/322d42fdeb38a0693a15b5f53cddd85f.jpg","text":"TemporaryFile(/tmp/multipartBody2162216862109367752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713592689,"filename":"image_12012025_21_25_02_629163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/26a1ae2c50fca829a1f754c657b40ead.jpg","text":"TemporaryFile(/tmp/multipartBody7884459108060507663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713592689,"filename":"image_12012025_21_25_02_629163_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483390","file1":"1328483388","file0":"1328483386","file3":"1328483391"},"map_files_photo_id_array":[{"photo_id":"1328483390","filename":"file2"},{"photo_id":"1328483388","filename":"file1"},{"photo_id":"1328483386","filename":"file0"},{"photo_id":"1328483391","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483386":["hashtag1","hashtag2"]},{"1328483391":["hashtag1","hashtag2"]},{"1328483388":["hashtag1","hashtag2"]},{"1328483390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483386, 1328483391, 1328483388, 1328483390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.12211847305298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:26:22.702815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0003.jpg', '/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0000.jpg', '/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0001.jpg', '/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/25/image_12012025_21_25_02_629163_0003.jpg
/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0000.jpg
/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0001.jpg
/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483407","1328483400","1328483402","1328483405"],"photo_ids_order":["1328483400","1328483402","1328483405","1328483407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ad71dc680b70b22d584304fb3e3fd291.jpg","text":"TemporaryFile(/tmp/multipartBody8904362999859755611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713652870,"filename":"image_12012025_21_26_02_869459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24b9e279163142e28857e57263eee42c.jpg","text":"TemporaryFile(/tmp/multipartBody7454701248445305230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713652870,"filename":"image_12012025_21_25_02_629163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7848e2989becbc0948ceb43d4fd00be3.jpg","text":"TemporaryFile(/tmp/multipartBody2581520591909835744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713652870,"filename":"image_12012025_21_26_02_869459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f15c04c2838ce80657715fa392da3096.jpg","text":"TemporaryFile(/tmp/multipartBody9052179861957316377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713652870,"filename":"image_12012025_21_26_02_869459_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483405","file1":"1328483402","file0":"1328483400","file3":"1328483407"},"map_files_photo_id_array":[{"photo_id":"1328483405","filename":"file2"},{"photo_id":"1328483402","filename":"file1"},{"photo_id":"1328483400","filename":"file0"},{"photo_id":"1328483407","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483407":["hashtag1","hashtag2"]},{"1328483400":["hashtag1","hashtag2"]},{"1328483402":["hashtag1","hashtag2"]},{"1328483405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483407, 1328483400, 1328483402, 1328483405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.599512338638306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:27:21.842213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0003.jpg', '/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0000.jpg', '/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0001.jpg', '/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/26/image_12012025_21_26_02_869459_0003.jpg
/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0000.jpg
/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0001.jpg
/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483422","1328483416","1328483420","1328483414"],"photo_ids_order":["1328483414","1328483416","1328483420","1328483422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd1abc136254076f08700b6bdd43c93d.jpg","text":"TemporaryFile(/tmp/multipartBody7070919699720315536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713712045,"filename":"image_12012025_21_27_03_035811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc8fca37db214dde630437c47aaada6e.jpg","text":"TemporaryFile(/tmp/multipartBody2921330848622042311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713712045,"filename":"image_12012025_21_27_03_035811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/be8c581ecc8679cd8e5d9bb7604c12cb.jpg","text":"TemporaryFile(/tmp/multipartBody8518872009903710656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713712045,"filename":"image_12012025_21_27_03_035811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1a6580e6ca9d80a6b4ff4cde6da2ab9e.jpg","text":"TemporaryFile(/tmp/multipartBody4023337532239502785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713712045,"filename":"image_12012025_21_26_02_869459_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483420","file1":"1328483416","file0":"1328483414","file3":"1328483422"},"map_files_photo_id_array":[{"photo_id":"1328483420","filename":"file2"},{"photo_id":"1328483416","filename":"file1"},{"photo_id":"1328483414","filename":"file0"},{"photo_id":"1328483422","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483422":["hashtag1","hashtag2"]},{"1328483416":["hashtag1","hashtag2"]},{"1328483420":["hashtag1","hashtag2"]},{"1328483414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483422, 1328483416, 1328483420, 1328483414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.966859340667725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:28:22.106765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0003.jpg', '/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0000.jpg', '/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0001.jpg', '/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/27/image_12012025_21_27_03_035811_0003.jpg
/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0000.jpg
/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0001.jpg
/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483434","1328483430","1328483432","1328483429"],"photo_ids_order":["1328483429","1328483430","1328483432","1328483434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3dfee2690d97c9d6440b2cd8b6973422.jpg","text":"TemporaryFile(/tmp/multipartBody8541801215427084244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713772695,"filename":"image_12012025_21_28_02_188756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b9f4b99e14092e68795168ecdae0b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4825598701355335626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713772695,"filename":"image_12012025_21_28_02_188756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2010a16c5f8405f347989a8f4ea2a9ec.jpg","text":"TemporaryFile(/tmp/multipartBody3484256568122214480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713772695,"filename":"image_12012025_21_28_02_188756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e481c2f8122db8daf9fe022862a9cad0.jpg","text":"TemporaryFile(/tmp/multipartBody7319221862154513584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713772695,"filename":"image_12012025_21_27_03_035811_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483432","file1":"1328483430","file0":"1328483429","file3":"1328483434"},"map_files_photo_id_array":[{"photo_id":"1328483432","filename":"file2"},{"photo_id":"1328483430","filename":"file1"},{"photo_id":"1328483429","filename":"file0"},{"photo_id":"1328483434","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483434":["hashtag1","hashtag2"]},{"1328483430":["hashtag1","hashtag2"]},{"1328483432":["hashtag1","hashtag2"]},{"1328483429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483434, 1328483430, 1328483432, 1328483429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.69242739677429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:29:22.299758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0003.jpg', '/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0000.jpg', '/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0001.jpg', '/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/28/image_12012025_21_28_02_188756_0003.jpg
/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0000.jpg
/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0001.jpg
/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483458","1328483454","1328483457","1328483459"],"photo_ids_order":["1328483454","1328483457","1328483458","1328483459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2c9f6ee7064b1ff941b0c61ec9e664a.jpg","text":"TemporaryFile(/tmp/multipartBody3124223947579427250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713832792,"filename":"image_12012025_21_29_02_448683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/25f484bc110488630d12160fda9b07a2.jpg","text":"TemporaryFile(/tmp/multipartBody714548859910556696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713832792,"filename":"image_12012025_21_28_02_188756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5c9ae88daf3f399f98c3aba505229897.jpg","text":"TemporaryFile(/tmp/multipartBody5017324194269684362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713832792,"filename":"image_12012025_21_29_02_448683_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cac8559e5634b99b40b0e789102b7b57.jpg","text":"TemporaryFile(/tmp/multipartBody1022261796354013202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713832792,"filename":"image_12012025_21_29_02_448683_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483458","file1":"1328483457","file0":"1328483454","file3":"1328483459"},"map_files_photo_id_array":[{"photo_id":"1328483458","filename":"file2"},{"photo_id":"1328483457","filename":"file1"},{"photo_id":"1328483454","filename":"file0"},{"photo_id":"1328483459","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483458":["hashtag1","hashtag2"]},{"1328483454":["hashtag1","hashtag2"]},{"1328483457":["hashtag1","hashtag2"]},{"1328483459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483458, 1328483454, 1328483457, 1328483459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.74056649208069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:30:22.405095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0003.jpg', '/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0000.jpg', '/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0001.jpg', '/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0003.jpg
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0000.jpg
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0001.jpg
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_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.10908317565918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:30:42.432566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0003.jpg', '/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0000.jpg', '/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0001.jpg', '/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/29/image_12012025_21_29_02_448683_0003.jpg
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0000.jpg
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0001.jpg
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483472","1328483471","1328483474","1328483476"],"photo_ids_order":["1328483471","1328483472","1328483474","1328483476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08924e6ae9aa40f4984833184ac3fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody3774377967148694568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713912985,"filename":"image_12012025_21_30_02_689225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed64a729706bef13683bba60dcab84df.jpg","text":"TemporaryFile(/tmp/multipartBody715956883352296548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713912985,"filename":"image_12012025_21_29_02_448683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ad430bf5e2bb015422a5bf6a827f62a.jpg","text":"TemporaryFile(/tmp/multipartBody3646593305030518411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713912985,"filename":"image_12012025_21_30_02_689225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f85e34b0822b949a31b672d580dbb956.jpg","text":"TemporaryFile(/tmp/multipartBody6550756058809749330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713912985,"filename":"image_12012025_21_30_02_689225_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483474","file1":"1328483472","file0":"1328483471","file3":"1328483476"},"map_files_photo_id_array":[{"photo_id":"1328483474","filename":"file2"},{"photo_id":"1328483472","filename":"file1"},{"photo_id":"1328483471","filename":"file0"},{"photo_id":"1328483476","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483472":["hashtag1","hashtag2"]},{"1328483471":["hashtag1","hashtag2"]},{"1328483474":["hashtag1","hashtag2"]},{"1328483476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483472, 1328483471, 1328483474, 1328483476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.370527029037476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:31:32.716519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0003.jpg', '/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0000.jpg', '/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0001.jpg', '/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/30/image_12012025_21_30_02_689225_0003.jpg
/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0000.jpg
/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0001.jpg
/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483487","1328483486","1328483489","1328483488"],"photo_ids_order":["1328483486","1328483487","1328483488","1328483489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5dae88d44797c426f44c9bb9d627f728.jpg","text":"TemporaryFile(/tmp/multipartBody8766552573869948796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713963014,"filename":"image_12012025_21_31_02_746341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c432e89c7df1f9ceb9cb974498247c5.jpg","text":"TemporaryFile(/tmp/multipartBody1824856096319332152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713963014,"filename":"image_12012025_21_30_02_689225_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4e9e7f8442d3082eb4f2b0cbf283bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5457359948417700791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713963014,"filename":"image_12012025_21_31_02_746341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/369aef27b83ce01cd037abec9b44b070.jpg","text":"TemporaryFile(/tmp/multipartBody4607152409026545438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736713963014,"filename":"image_12012025_21_31_02_746341_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483488","file1":"1328483487","file0":"1328483486","file3":"1328483489"},"map_files_photo_id_array":[{"photo_id":"1328483488","filename":"file2"},{"photo_id":"1328483487","filename":"file1"},{"photo_id":"1328483486","filename":"file0"},{"photo_id":"1328483489","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483487":["hashtag1","hashtag2"]},{"1328483486":["hashtag1","hashtag2"]},{"1328483489":["hashtag1","hashtag2"]},{"1328483488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483487, 1328483486, 1328483489, 1328483488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.9869818687439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:32:21.936161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0003.jpg', '/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0000.jpg', '/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0001.jpg', '/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/31/image_12012025_21_31_02_746341_0003.jpg
/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0000.jpg
/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0001.jpg
/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483500","1328483505","1328483502","1328483497"],"photo_ids_order":["1328483497","1328483500","1328483502","1328483505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd3f4c00db52503c4a6c85a0fc45a4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5477259558502542274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714012073,"filename":"image_12012025_21_32_03_115619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a3e4e251325dbdcfa77ddab249d3928.jpg","text":"TemporaryFile(/tmp/multipartBody6670655179408135814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714012073,"filename":"image_12012025_21_32_03_115619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d2703df69ab92e63f420bf702d3369c6.jpg","text":"TemporaryFile(/tmp/multipartBody3628309412343315683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714012073,"filename":"image_12012025_21_32_03_115619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9fb2a0eff7ccad059576a41030babf47.jpg","text":"TemporaryFile(/tmp/multipartBody110127797771156210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714012073,"filename":"image_12012025_21_31_02_746341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483502","file1":"1328483500","file0":"1328483497","file3":"1328483505"},"map_files_photo_id_array":[{"photo_id":"1328483502","filename":"file2"},{"photo_id":"1328483500","filename":"file1"},{"photo_id":"1328483497","filename":"file0"},{"photo_id":"1328483505","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483500":["hashtag1","hashtag2"]},{"1328483505":["hashtag1","hashtag2"]},{"1328483502":["hashtag1","hashtag2"]},{"1328483497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483500, 1328483505, 1328483502, 1328483497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1168737411499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:33:02.594307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:33:22.052213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0003.jpg', '/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0000.jpg', '/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0001.jpg', '/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/32/image_12012025_21_32_03_115619_0003.jpg
/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0000.jpg
/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0001.jpg
/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483521","1328483514","1328483516","1328483519"],"photo_ids_order":["1328483514","1328483516","1328483519","1328483521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6e5a6455752521cce69dda524845d59.jpg","text":"TemporaryFile(/tmp/multipartBody5271830947273097056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714072507,"filename":"image_12012025_21_33_02_303077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ffdf7c7ad4829bf2a744713987aeadda.jpg","text":"TemporaryFile(/tmp/multipartBody6506501060035870046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714072507,"filename":"image_12012025_21_32_03_115619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5b8745e98d2dba5178ff3dfa9097233.jpg","text":"TemporaryFile(/tmp/multipartBody7511858340563080477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714072507,"filename":"image_12012025_21_33_02_303077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e356ae9f4600ca5e007cc437a903af39.jpg","text":"TemporaryFile(/tmp/multipartBody4161099760586041535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714072507,"filename":"image_12012025_21_33_02_303077_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483519","file1":"1328483516","file0":"1328483514","file3":"1328483521"},"map_files_photo_id_array":[{"photo_id":"1328483519","filename":"file2"},{"photo_id":"1328483516","filename":"file1"},{"photo_id":"1328483514","filename":"file0"},{"photo_id":"1328483521","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483521":["hashtag1","hashtag2"]},{"1328483514":["hashtag1","hashtag2"]},{"1328483516":["hashtag1","hashtag2"]},{"1328483519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483521, 1328483514, 1328483516, 1328483519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.50046634674072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:34:22.275753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0003.jpg', '/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0000.jpg', '/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0001.jpg', '/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/33/image_12012025_21_33_02_303077_0003.jpg
/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0000.jpg
/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0001.jpg
/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483529","1328483531","1328483534","1328483528"],"photo_ids_order":["1328483528","1328483529","1328483531","1328483534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b444766928280adfe751cd850e0ebeac.jpg","text":"TemporaryFile(/tmp/multipartBody4384570556680626053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714133143,"filename":"image_12012025_21_34_02_395593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7c422823b0e6987fdd6cff389fe7b8e.jpg","text":"TemporaryFile(/tmp/multipartBody9058597606340732423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714133143,"filename":"image_12012025_21_34_02_395593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0725006230b9d13a014b4d4c723c187e.jpg","text":"TemporaryFile(/tmp/multipartBody4515954514835964143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714133143,"filename":"image_12012025_21_34_02_395593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9b006b4caf677adce00151dedacba4e3.jpg","text":"TemporaryFile(/tmp/multipartBody8524892974487591526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714133143,"filename":"image_12012025_21_33_02_303077_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483531","file1":"1328483529","file0":"1328483528","file3":"1328483534"},"map_files_photo_id_array":[{"photo_id":"1328483531","filename":"file2"},{"photo_id":"1328483529","filename":"file1"},{"photo_id":"1328483528","filename":"file0"},{"photo_id":"1328483534","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483529":["hashtag1","hashtag2"]},{"1328483531":["hashtag1","hashtag2"]},{"1328483534":["hashtag1","hashtag2"]},{"1328483528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483529, 1328483531, 1328483534, 1328483528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10349941253662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:35:22.439746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0003.jpg', '/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0000.jpg', '/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0001.jpg', '/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/34/image_12012025_21_34_02_395593_0003.jpg
/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0000.jpg
/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0001.jpg
/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483551","1328483548","1328483553","1328483555"],"photo_ids_order":["1328483548","1328483551","1328483553","1328483555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/228ad135ccf25459e2117b49e87c575c.jpg","text":"TemporaryFile(/tmp/multipartBody860640344858469571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714192799,"filename":"image_12012025_21_35_02_653875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/91def84387f2a741c9cba17cccc876d6.jpg","text":"TemporaryFile(/tmp/multipartBody3231816855797954878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714192799,"filename":"image_12012025_21_34_02_395593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c39b96eb39ec7d271473da11960f3bea.jpg","text":"TemporaryFile(/tmp/multipartBody7048350784558541356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714192799,"filename":"image_12012025_21_35_02_653875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/352ad1bdc0e9c6fccbfae3914b1ed9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7333477644947748005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714192799,"filename":"image_12012025_21_35_02_653875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483553","file1":"1328483551","file0":"1328483548","file3":"1328483555"},"map_files_photo_id_array":[{"photo_id":"1328483553","filename":"file2"},{"photo_id":"1328483551","filename":"file1"},{"photo_id":"1328483548","filename":"file0"},{"photo_id":"1328483555","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483551":["hashtag1","hashtag2"]},{"1328483548":["hashtag1","hashtag2"]},{"1328483553":["hashtag1","hashtag2"]},{"1328483555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483551, 1328483548, 1328483553, 1328483555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68575358390808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:36:03.079351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:36:22.591666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0003.jpg', '/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0000.jpg', '/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0001.jpg', '/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0003.jpg
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0000.jpg
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0001.jpg
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_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.802262783050537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:36:42.545476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0003.jpg', '/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0000.jpg', '/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0001.jpg', '/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/35/image_12012025_21_35_02_653875_0003.jpg
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0000.jpg
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0001.jpg
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483617","1328483586","1328483585","1328483612"],"photo_ids_order":["1328483585","1328483586","1328483612","1328483617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f7f42873e26f910529d9488638467d1.jpg","text":"TemporaryFile(/tmp/multipartBody276125543769642764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714272765,"filename":"image_12012025_21_36_02_800087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0284863e468093d99fce45bd7a44adc9.jpg","text":"TemporaryFile(/tmp/multipartBody7563553303994278668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714272765,"filename":"image_12012025_21_36_02_800087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f683bf8fa162360cfa9ba26778aed9fc.jpg","text":"TemporaryFile(/tmp/multipartBody2422890867815529489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714272765,"filename":"image_12012025_21_35_02_653875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bc3bddc0de70f23650970d53d0e2e11.jpg","text":"TemporaryFile(/tmp/multipartBody1589525836027001860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714272765,"filename":"image_12012025_21_36_02_800087_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483612","file1":"1328483586","file0":"1328483585","file3":"1328483617"},"map_files_photo_id_array":[{"photo_id":"1328483612","filename":"file2"},{"photo_id":"1328483586","filename":"file1"},{"photo_id":"1328483585","filename":"file0"},{"photo_id":"1328483617","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483617":["hashtag1","hashtag2"]},{"1328483586":["hashtag1","hashtag2"]},{"1328483585":["hashtag1","hashtag2"]},{"1328483612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483617, 1328483586, 1328483585, 1328483612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56159043312073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:37:32.727919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0003.jpg', '/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0000.jpg', '/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0001.jpg', '/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/36/image_12012025_21_36_02_800087_0003.jpg
/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0000.jpg
/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0001.jpg
/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483632","1328483634","1328483633","1328483636"],"photo_ids_order":["1328483632","1328483633","1328483634","1328483636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e34ad7ff30adae177cc1cb2c389f5f1.jpg","text":"TemporaryFile(/tmp/multipartBody1571900826678048643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714323040,"filename":"image_12012025_21_36_02_800087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc82c4eb0d2f28f7378f494521f7151a.jpg","text":"TemporaryFile(/tmp/multipartBody4581103280926781795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714323040,"filename":"image_12012025_21_37_02_942873_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1cbd0a22691fbdb2febd93204df23519.jpg","text":"TemporaryFile(/tmp/multipartBody8181939712066265877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714323040,"filename":"image_12012025_21_37_02_942873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fb142f9f31ad2c3fb29540002c94e001.jpg","text":"TemporaryFile(/tmp/multipartBody7110374244891446028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714323040,"filename":"image_12012025_21_37_02_942873_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483634","file1":"1328483633","file0":"1328483632","file3":"1328483636"},"map_files_photo_id_array":[{"photo_id":"1328483634","filename":"file2"},{"photo_id":"1328483633","filename":"file1"},{"photo_id":"1328483632","filename":"file0"},{"photo_id":"1328483636","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483632":["hashtag1","hashtag2"]},{"1328483634":["hashtag1","hashtag2"]},{"1328483633":["hashtag1","hashtag2"]},{"1328483636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483632, 1328483634, 1328483633, 1328483636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.8430757522583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:38:21.899267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0003.jpg', '/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0000.jpg', '/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0001.jpg', '/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/37/image_12012025_21_37_02_942873_0003.jpg
/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0000.jpg
/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0001.jpg
/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483650","1328483647","1328483645","1328483654"],"photo_ids_order":["1328483645","1328483647","1328483650","1328483654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d68d6c8137f80735f8576f7ff67bedb.jpg","text":"TemporaryFile(/tmp/multipartBody8610429591321802119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714372291,"filename":"image_12012025_21_38_03_113310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e2666b0e5a7f6b7e52c9cadfb0246c1.jpg","text":"TemporaryFile(/tmp/multipartBody2777155119997749383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714372291,"filename":"image_12012025_21_38_03_113310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09762afef5c950965e52d8099e2cd93a.jpg","text":"TemporaryFile(/tmp/multipartBody4910199301052320751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714372291,"filename":"image_12012025_21_37_02_942873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f7f03a922962327513d48ee24fd8768.jpg","text":"TemporaryFile(/tmp/multipartBody7051307544094334562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714372291,"filename":"image_12012025_21_38_03_113310_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483650","file1":"1328483647","file0":"1328483645","file3":"1328483654"},"map_files_photo_id_array":[{"photo_id":"1328483650","filename":"file2"},{"photo_id":"1328483647","filename":"file1"},{"photo_id":"1328483645","filename":"file0"},{"photo_id":"1328483654","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483650":["hashtag1","hashtag2"]},{"1328483647":["hashtag1","hashtag2"]},{"1328483645":["hashtag1","hashtag2"]},{"1328483654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483650, 1328483647, 1328483645, 1328483654)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.67320919036865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:39:22.070611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0003.jpg', '/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0000.jpg', '/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0001.jpg', '/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/38/image_12012025_21_38_03_113310_0003.jpg
/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0000.jpg
/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0001.jpg
/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483662","1328483665","1328483667","1328483663"],"photo_ids_order":["1328483662","1328483663","1328483665","1328483667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b59276f2efe20e7d07cbeda715d53b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7038733015290153325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714432498,"filename":"image_12012025_21_38_03_113310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0d4547fff0263e53249ba128d2b04d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6030031267428500538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714432498,"filename":"image_12012025_21_39_02_286181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/83e9b37841324c29a6549e034e8620ba.jpg","text":"TemporaryFile(/tmp/multipartBody8459152460675670585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714432498,"filename":"image_12012025_21_39_02_286181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f789f2b225224a8244e6fe717d4775ce.jpg","text":"TemporaryFile(/tmp/multipartBody608494047240962916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714432498,"filename":"image_12012025_21_39_02_286181_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483665","file1":"1328483663","file0":"1328483662","file3":"1328483667"},"map_files_photo_id_array":[{"photo_id":"1328483665","filename":"file2"},{"photo_id":"1328483663","filename":"file1"},{"photo_id":"1328483662","filename":"file0"},{"photo_id":"1328483667","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483662":["hashtag1","hashtag2"]},{"1328483665":["hashtag1","hashtag2"]},{"1328483667":["hashtag1","hashtag2"]},{"1328483663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483662, 1328483665, 1328483667, 1328483663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.4784095287323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:40:22.281262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0003.jpg', '/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0000.jpg', '/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0001.jpg', '/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/39/image_12012025_21_39_02_286181_0003.jpg
/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0000.jpg
/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0001.jpg
/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483709","1328483703","1328483712","1328483714"],"photo_ids_order":["1328483703","1328483709","1328483712","1328483714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b3d439b8e1a79876ee6430d49bfa5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1294423075386900898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714492711,"filename":"image_12012025_21_40_02_434063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/352554f508d12cafd3f0febf48939f15.jpg","text":"TemporaryFile(/tmp/multipartBody3135083607076924504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714492711,"filename":"image_12012025_21_39_02_286181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/919f00e6b9d4309bd8d675e8ac2b8a39.jpg","text":"TemporaryFile(/tmp/multipartBody9192333147461426203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714492711,"filename":"image_12012025_21_40_02_434063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ced5fb139904956fb96dedb303393ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8283857712464280565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714492711,"filename":"image_12012025_21_40_02_434063_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483712","file1":"1328483709","file0":"1328483703","file3":"1328483714"},"map_files_photo_id_array":[{"photo_id":"1328483712","filename":"file2"},{"photo_id":"1328483709","filename":"file1"},{"photo_id":"1328483703","filename":"file0"},{"photo_id":"1328483714","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483709":["hashtag1","hashtag2"]},{"1328483703":["hashtag1","hashtag2"]},{"1328483712":["hashtag1","hashtag2"]},{"1328483714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483709, 1328483703, 1328483712, 1328483714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.90467858314514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:41:22.359374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0003.jpg', '/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0000.jpg', '/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0001.jpg', '/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/40/image_12012025_21_40_02_434063_0003.jpg
/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0000.jpg
/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0001.jpg
/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483725","1328483728","1328483727","1328483729"],"photo_ids_order":["1328483725","1328483727","1328483728","1328483729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57f2049331e90423389d0af88c055273.jpg","text":"TemporaryFile(/tmp/multipartBody1639190006233195706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714552866,"filename":"image_12012025_21_40_02_434063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8373a6a87af175b96ccbaad7883af452.jpg","text":"TemporaryFile(/tmp/multipartBody4260685012640724811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714552866,"filename":"image_12012025_21_41_02_583838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12a75a49c8f54fee4657a52df514ade2.jpg","text":"TemporaryFile(/tmp/multipartBody2858563766884914094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714552866,"filename":"image_12012025_21_41_02_583838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62e46b7a5dc3178b4426cfe96cd735af.jpg","text":"TemporaryFile(/tmp/multipartBody6536634673441369995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714552866,"filename":"image_12012025_21_41_02_583838_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483728","file1":"1328483727","file0":"1328483725","file3":"1328483729"},"map_files_photo_id_array":[{"photo_id":"1328483728","filename":"file2"},{"photo_id":"1328483727","filename":"file1"},{"photo_id":"1328483725","filename":"file0"},{"photo_id":"1328483729","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483725":["hashtag1","hashtag2"]},{"1328483728":["hashtag1","hashtag2"]},{"1328483727":["hashtag1","hashtag2"]},{"1328483729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483725, 1328483728, 1328483727, 1328483729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.49573874473572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:42:22.565436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0003.jpg', '/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0000.jpg', '/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0001.jpg', '/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/41/image_12012025_21_41_02_583838_0003.jpg
/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0000.jpg
/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0001.jpg
/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483746","1328483744","1328483747","1328483741"],"photo_ids_order":["1328483741","1328483744","1328483746","1328483747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/912e040b51dd18c385cfc6dde58052ac.jpg","text":"TemporaryFile(/tmp/multipartBody911423520284539248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714613136,"filename":"image_12012025_21_42_02_838423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09d603da08127452c0024cfccc97c7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4841891333280046344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714613136,"filename":"image_12012025_21_42_02_838423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3a806c34f255d3e4f41322ccbeb8f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2696306649490622630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714613136,"filename":"image_12012025_21_42_02_838423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de71df2d83849d3542aebcfd1408f8ee.jpg","text":"TemporaryFile(/tmp/multipartBody1232690121021345228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714613136,"filename":"image_12012025_21_41_02_583838_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483746","file1":"1328483744","file0":"1328483741","file3":"1328483747"},"map_files_photo_id_array":[{"photo_id":"1328483746","filename":"file2"},{"photo_id":"1328483744","filename":"file1"},{"photo_id":"1328483741","filename":"file0"},{"photo_id":"1328483747","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483746":["hashtag1","hashtag2"]},{"1328483744":["hashtag1","hashtag2"]},{"1328483747":["hashtag1","hashtag2"]},{"1328483741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483746, 1328483744, 1328483747, 1328483741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61469125747681 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-12 21:43:22.756691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0003.jpg', '/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0000.jpg', '/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0001.jpg', '/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/42/image_12012025_21_42_02_838423_0003.jpg
/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0000.jpg
/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0001.jpg
/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483758","1328483760","1328483757","1328483756"],"photo_ids_order":["1328483756","1328483757","1328483758","1328483760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7e53f43849fc4d07de6e43dfe1e90bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4258714517089602986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714673280,"filename":"image_12012025_21_43_02_935971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/741c5fc0c7ba582e7f24ebf56ebd0714.jpg","text":"TemporaryFile(/tmp/multipartBody718598987402150850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714673280,"filename":"image_12012025_21_43_02_935971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/639d18926bcfa9a75903d40a9555f6da.jpg","text":"TemporaryFile(/tmp/multipartBody8090003209350568970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714673280,"filename":"image_12012025_21_43_02_935971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c4797bfa38dce2deb11b1a1dcc5f1b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3737983419747671909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714673280,"filename":"image_12012025_21_42_02_838423_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483758","file1":"1328483757","file0":"1328483756","file3":"1328483760"},"map_files_photo_id_array":[{"photo_id":"1328483758","filename":"file2"},{"photo_id":"1328483757","filename":"file1"},{"photo_id":"1328483756","filename":"file0"},{"photo_id":"1328483760","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483758":["hashtag1","hashtag2"]},{"1328483760":["hashtag1","hashtag2"]},{"1328483757":["hashtag1","hashtag2"]},{"1328483756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483758, 1328483760, 1328483757, 1328483756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71937942504883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:44:21.823351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0003.jpg', '/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0000.jpg', '/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0001.jpg', '/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0003.jpg
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0000.jpg
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0001.jpg
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_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.81803274154663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:44:41.895483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0003.jpg', '/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0000.jpg', '/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0001.jpg', '/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/43/image_12012025_21_43_02_935971_0003.jpg
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0000.jpg
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0001.jpg
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_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":["1328483795","1328483791","1328483785","1328483788"],"photo_ids_order":["1328483785","1328483788","1328483791","1328483795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/88f1ac4e301c50ba68f46d1701fecd54.jpg","text":"TemporaryFile(/tmp/multipartBody6876727240377733044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714752167,"filename":"image_12012025_21_44_03_116350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba75a7796c042d9f83728fd06e67c53f.jpg","text":"TemporaryFile(/tmp/multipartBody5172418394931857170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714752167,"filename":"image_12012025_21_44_03_116350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e922d65e9f1e9f04a1bc401ec8d74be.jpg","text":"TemporaryFile(/tmp/multipartBody5191194930793966869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714752167,"filename":"image_12012025_21_43_02_935971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a6cd4820eb51d5b80da8f53446379c58.jpg","text":"TemporaryFile(/tmp/multipartBody4970176785770170967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714752167,"filename":"image_12012025_21_44_03_116350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483791","file1":"1328483788","file0":"1328483785","file3":"1328483795"},"map_files_photo_id_array":[{"photo_id":"1328483791","filename":"file2"},{"photo_id":"1328483788","filename":"file1"},{"photo_id":"1328483785","filename":"file0"},{"photo_id":"1328483795","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483795":["hashtag1","hashtag2"]},{"1328483791":["hashtag1","hashtag2"]},{"1328483785":["hashtag1","hashtag2"]},{"1328483788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483795, 1328483791, 1328483785, 1328483788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68074584007263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:45:21.986366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0003.jpg', '/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0000.jpg', '/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0001.jpg', '/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/44/image_12012025_21_44_03_116350_0003.jpg
/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0000.jpg
/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0001.jpg
/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483800","1328483799","1328483802","1328483804"],"photo_ids_order":["1328483799","1328483800","1328483802","1328483804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3c2a133aefae4e5716c58c95cc0e688c.jpg","text":"TemporaryFile(/tmp/multipartBody3349235998727239055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714792229,"filename":"image_12012025_21_45_02_201165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/713c246ae82d36c483f54e83c636912f.jpg","text":"TemporaryFile(/tmp/multipartBody4297627033435958807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714792229,"filename":"image_12012025_21_44_03_116350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/74cb919afe81bd16b9554f98cc7ba45b.jpg","text":"TemporaryFile(/tmp/multipartBody1512613808639086795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714792229,"filename":"image_12012025_21_45_02_201165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d99b1a1116395e59afa73efb2009869.jpg","text":"TemporaryFile(/tmp/multipartBody8516572120594131132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714792229,"filename":"image_12012025_21_45_02_201165_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483802","file1":"1328483800","file0":"1328483799","file3":"1328483804"},"map_files_photo_id_array":[{"photo_id":"1328483802","filename":"file2"},{"photo_id":"1328483800","filename":"file1"},{"photo_id":"1328483799","filename":"file0"},{"photo_id":"1328483804","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483800":["hashtag1","hashtag2"]},{"1328483799":["hashtag1","hashtag2"]},{"1328483802":["hashtag1","hashtag2"]},{"1328483804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483800, 1328483799, 1328483802, 1328483804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17577910423279 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:46:22.195061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0003.jpg', '/home/pi/Desktop/images/12012025/21/46/image_12012025_21_46_02_409894_0000.jpg', '/home/pi/Desktop/images/12012025/21/46/image_12012025_21_46_02_409894_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/45/image_12012025_21_45_02_201165_0003.jpg
/home/pi/Desktop/images/12012025/21/46/image_12012025_21_46_02_409894_0000.jpg
/home/pi/Desktop/images/12012025/21/46/image_12012025_21_46_02_409894_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":["1328483815","1328483818","1328483819"],"photo_ids_order":["1328483815","1328483818","1328483819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95f2d19d5369554510b9523e8b786fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8954008482001504150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714850022,"filename":"image_12012025_21_45_02_201165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/87216f4385e32b42be29cd8ae9888bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7950213061552433614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714850022,"filename":"image_12012025_21_46_02_409894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/745ac3e00e124e38c237df2e3b1ff823.jpg","text":"TemporaryFile(/tmp/multipartBody239777091693379096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714850022,"filename":"image_12012025_21_46_02_409894_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483819","file1":"1328483818","file0":"1328483815"},"map_files_photo_id_array":[{"photo_id":"1328483819","filename":"file2"},{"photo_id":"1328483818","filename":"file1"},{"photo_id":"1328483815","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483815":["hashtag1","hashtag2"]},{"1328483818":["hashtag1","hashtag2"]},{"1328483819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483815, 1328483818, 1328483819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.250588178634644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 21:47:02.906367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:47:22.397432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/46/image_12012025_21_46_02_409894_0002.jpg', '/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0000.jpg', '/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0001.jpg', '/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/46/image_12012025_21_46_02_409894_0002.jpg
/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0000.jpg
/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0001.jpg
/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483830","1328483832","1328483834","1328483828"],"photo_ids_order":["1328483828","1328483830","1328483832","1328483834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed5f79b86081de115502c2d2fb3a2067.jpg","text":"TemporaryFile(/tmp/multipartBody3148790304902066120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714912609,"filename":"image_12012025_21_47_02_521487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e59dbefe44fc9c6b4b0a001c7d06bcb.jpg","text":"TemporaryFile(/tmp/multipartBody996835160994208119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714912609,"filename":"image_12012025_21_47_02_521487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7dc7d9b8a006e91ff4cfc4cc685adc2d.jpg","text":"TemporaryFile(/tmp/multipartBody8154196771344536649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714912609,"filename":"image_12012025_21_47_02_521487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8cc7d704aa7ee136d9f0e703d374699.jpg","text":"TemporaryFile(/tmp/multipartBody1883894265121552443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714912609,"filename":"image_12012025_21_46_02_409894_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483832","file1":"1328483830","file0":"1328483828","file3":"1328483834"},"map_files_photo_id_array":[{"photo_id":"1328483832","filename":"file2"},{"photo_id":"1328483830","filename":"file1"},{"photo_id":"1328483828","filename":"file0"},{"photo_id":"1328483834","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483830":["hashtag1","hashtag2"]},{"1328483832":["hashtag1","hashtag2"]},{"1328483834":["hashtag1","hashtag2"]},{"1328483828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483830, 1328483832, 1328483834, 1328483828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.98061180114746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:48:22.528570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0003.jpg', '/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0000.jpg', '/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0001.jpg', '/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/47/image_12012025_21_47_02_521487_0003.jpg
/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0000.jpg
/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0001.jpg
/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483848","1328483842","1328483845","1328483844"],"photo_ids_order":["1328483842","1328483844","1328483845","1328483848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a96926b42abf2e4bc9cda927b3b49711.jpg","text":"TemporaryFile(/tmp/multipartBody4828476610835451376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714972755,"filename":"image_12012025_21_48_02_764355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7ab505c92d043822a530c92c8418a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1217764676722553590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714972755,"filename":"image_12012025_21_47_02_521487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a5ca4cece91bbd8f5597f9d61d754d0.jpg","text":"TemporaryFile(/tmp/multipartBody6585336492021859427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714972755,"filename":"image_12012025_21_48_02_764355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a720b6939f68a80bbdf5bd21b39449c4.jpg","text":"TemporaryFile(/tmp/multipartBody8804456892451404408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736714972755,"filename":"image_12012025_21_48_02_764355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483845","file1":"1328483844","file0":"1328483842","file3":"1328483848"},"map_files_photo_id_array":[{"photo_id":"1328483845","filename":"file2"},{"photo_id":"1328483844","filename":"file1"},{"photo_id":"1328483842","filename":"file0"},{"photo_id":"1328483848","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483848":["hashtag1","hashtag2"]},{"1328483842":["hashtag1","hashtag2"]},{"1328483845":["hashtag1","hashtag2"]},{"1328483844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483848, 1328483842, 1328483845, 1328483844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.40712308883667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:49:22.698546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0003.jpg', '/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0000.jpg', '/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0001.jpg', '/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/48/image_12012025_21_48_02_764355_0003.jpg
/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0000.jpg
/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0001.jpg
/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483860","1328483863","1328483862","1328483861"],"photo_ids_order":["1328483860","1328483861","1328483862","1328483863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85d60b11d3f214fa347b1cd109694a86.jpg","text":"TemporaryFile(/tmp/multipartBody3135047715746136790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715033052,"filename":"image_12012025_21_48_02_764355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd0cec0f69878e70f470310e3f414ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4644903468350723221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715033052,"filename":"image_12012025_21_49_02_958179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/02541d768819043192d3c0eb4ef06f91.jpg","text":"TemporaryFile(/tmp/multipartBody8892362531161608346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715033052,"filename":"image_12012025_21_49_02_958179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e56b0636712da98b9a6eb6b5152e0bac.jpg","text":"TemporaryFile(/tmp/multipartBody2139831119714440147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715033052,"filename":"image_12012025_21_49_02_958179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483862","file1":"1328483861","file0":"1328483860","file3":"1328483863"},"map_files_photo_id_array":[{"photo_id":"1328483862","filename":"file2"},{"photo_id":"1328483861","filename":"file1"},{"photo_id":"1328483860","filename":"file0"},{"photo_id":"1328483863","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483860":["hashtag1","hashtag2"]},{"1328483863":["hashtag1","hashtag2"]},{"1328483862":["hashtag1","hashtag2"]},{"1328483861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483860, 1328483863, 1328483862, 1328483861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.030346393585205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:50:21.886043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0003.jpg', '/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0000.jpg', '/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0001.jpg', '/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0003.jpg
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0000.jpg
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0001.jpg
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_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.92977499961853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:50:41.856799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0003.jpg', '/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0000.jpg', '/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0001.jpg', '/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/49/image_12012025_21_49_02_958179_0003.jpg
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0000.jpg
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0001.jpg
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483889","1328483892","1328483894","1328483890"],"photo_ids_order":["1328483889","1328483890","1328483892","1328483894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e25f3aa6622ec51e3bed7b26e4f03d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8836466082869889216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715112197,"filename":"image_12012025_21_49_02_958179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6533603170496917c55f6e48f91f40d0.jpg","text":"TemporaryFile(/tmp/multipartBody4338826145022979779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715112197,"filename":"image_12012025_21_50_03_156016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e454b9eda0a36b5a9ddbc813634e0526.jpg","text":"TemporaryFile(/tmp/multipartBody5744316365079666140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715112197,"filename":"image_12012025_21_50_03_156016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ded6c8eac6435d6d01b6c54a298990e.jpg","text":"TemporaryFile(/tmp/multipartBody5631964920596349684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715112197,"filename":"image_12012025_21_50_03_156016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483892","file1":"1328483890","file0":"1328483889","file3":"1328483894"},"map_files_photo_id_array":[{"photo_id":"1328483892","filename":"file2"},{"photo_id":"1328483890","filename":"file1"},{"photo_id":"1328483889","filename":"file0"},{"photo_id":"1328483894","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483889":["hashtag1","hashtag2"]},{"1328483892":["hashtag1","hashtag2"]},{"1328483894":["hashtag1","hashtag2"]},{"1328483890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483889, 1328483892, 1328483894, 1328483890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.37084484100342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:51:31.971537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0003.jpg', '/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0000.jpg', '/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0001.jpg', '/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/50/image_12012025_21_50_03_156016_0003.jpg
/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0000.jpg
/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0001.jpg
/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483902","1328483901","1328483900","1328483903"],"photo_ids_order":["1328483900","1328483901","1328483902","1328483903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92a339325fd2fea9bbeb24b4d6445ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1326045797156532339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715162272,"filename":"image_12012025_21_51_02_258478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bde3376c7a1de1a361a888af582fd9df.jpg","text":"TemporaryFile(/tmp/multipartBody4765609358924758779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715162272,"filename":"image_12012025_21_51_02_258478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9391eb3405faebfdb9e1a4b3f3c0ea72.jpg","text":"TemporaryFile(/tmp/multipartBody181015937150583867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715162272,"filename":"image_12012025_21_50_03_156016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4719f709bcabd4035c16fca5ef103f4.jpg","text":"TemporaryFile(/tmp/multipartBody2894575227297116342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715162272,"filename":"image_12012025_21_51_02_258478_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483902","file1":"1328483901","file0":"1328483900","file3":"1328483903"},"map_files_photo_id_array":[{"photo_id":"1328483902","filename":"file2"},{"photo_id":"1328483901","filename":"file1"},{"photo_id":"1328483900","filename":"file0"},{"photo_id":"1328483903","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483902":["hashtag1","hashtag2"]},{"1328483901":["hashtag1","hashtag2"]},{"1328483900":["hashtag1","hashtag2"]},{"1328483903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483902, 1328483901, 1328483900, 1328483903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68728756904602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:52:22.271455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0003.jpg', '/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0000.jpg', '/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0001.jpg', '/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/51/image_12012025_21_51_02_258478_0003.jpg
/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0000.jpg
/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0001.jpg
/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483914","1328483911","1328483916","1328483912"],"photo_ids_order":["1328483911","1328483912","1328483914","1328483916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/220ecc883473f06fa739115cb07a7888.jpg","text":"TemporaryFile(/tmp/multipartBody8127969333472439008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715212496,"filename":"image_12012025_21_52_02_406944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c757a800c806420d0f78a783093c732.jpg","text":"TemporaryFile(/tmp/multipartBody8803315510692527281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715212496,"filename":"image_12012025_21_51_02_258478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/738606a69746ccbef60678cd6db323bf.jpg","text":"TemporaryFile(/tmp/multipartBody6239281902214585787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715212496,"filename":"image_12012025_21_52_02_406944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c9672d34ee5d1560ce37494e2d1ea37.jpg","text":"TemporaryFile(/tmp/multipartBody7228111711975564350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715212496,"filename":"image_12012025_21_52_02_406944_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483914","file1":"1328483912","file0":"1328483911","file3":"1328483916"},"map_files_photo_id_array":[{"photo_id":"1328483914","filename":"file2"},{"photo_id":"1328483912","filename":"file1"},{"photo_id":"1328483911","filename":"file0"},{"photo_id":"1328483916","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483914":["hashtag1","hashtag2"]},{"1328483911":["hashtag1","hashtag2"]},{"1328483916":["hashtag1","hashtag2"]},{"1328483912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483914, 1328483911, 1328483916, 1328483912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.47571778297424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:53:22.509657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0003.jpg', '/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0000.jpg', '/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0001.jpg', '/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/52/image_12012025_21_52_02_406944_0003.jpg
/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0000.jpg
/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0001.jpg
/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483923","1328483926","1328483928","1328483924"],"photo_ids_order":["1328483923","1328483924","1328483926","1328483928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ad367822de5620160ae5b192ebe2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3781259873841526249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715272732,"filename":"image_12012025_21_52_02_406944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/744e360e29214e2053e0e7d7fd4e927b.jpg","text":"TemporaryFile(/tmp/multipartBody1335375786762865399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715272732,"filename":"image_12012025_21_53_02_623169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a434394fb3e61d39eca68cae537d6f77.jpg","text":"TemporaryFile(/tmp/multipartBody1038231471304982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715272732,"filename":"image_12012025_21_53_02_623169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/212fad10e1494f02e4840e0bf0bb06d0.jpg","text":"TemporaryFile(/tmp/multipartBody7248721615759572284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715272732,"filename":"image_12012025_21_53_02_623169_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483926","file1":"1328483924","file0":"1328483923","file3":"1328483928"},"map_files_photo_id_array":[{"photo_id":"1328483926","filename":"file2"},{"photo_id":"1328483924","filename":"file1"},{"photo_id":"1328483923","filename":"file0"},{"photo_id":"1328483928","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483923":["hashtag1","hashtag2"]},{"1328483926":["hashtag1","hashtag2"]},{"1328483928":["hashtag1","hashtag2"]},{"1328483924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483923, 1328483926, 1328483928, 1328483924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.049989223480225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:54:22.675610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0003.jpg', '/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0000.jpg', '/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0001.jpg', '/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/53/image_12012025_21_53_02_623169_0003.jpg
/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0000.jpg
/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0001.jpg
/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483941","1328483935","1328483936","1328483939"],"photo_ids_order":["1328483935","1328483936","1328483939","1328483941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9dffb9436430666865057418a97f1dae.jpg","text":"TemporaryFile(/tmp/multipartBody1916641770027427423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715332920,"filename":"image_12012025_21_54_02_851624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/feb244129f48b9993199ff18c051d0a5.jpg","text":"TemporaryFile(/tmp/multipartBody3086877473880402410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715332920,"filename":"image_12012025_21_53_02_623169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9c52cf69917939cd9f8f6c75e2ca855f.jpg","text":"TemporaryFile(/tmp/multipartBody3739993564824625255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715332920,"filename":"image_12012025_21_54_02_851624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98d1cbaf14a76c99ad3a382e38ced227.jpg","text":"TemporaryFile(/tmp/multipartBody8399206007511479977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715332920,"filename":"image_12012025_21_54_02_851624_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483939","file1":"1328483936","file0":"1328483935","file3":"1328483941"},"map_files_photo_id_array":[{"photo_id":"1328483939","filename":"file2"},{"photo_id":"1328483936","filename":"file1"},{"photo_id":"1328483935","filename":"file0"},{"photo_id":"1328483941","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483941":["hashtag1","hashtag2"]},{"1328483935":["hashtag1","hashtag2"]},{"1328483936":["hashtag1","hashtag2"]},{"1328483939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483941, 1328483935, 1328483936, 1328483939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.3816282749176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:55:21.954082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0003.jpg', '/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0000.jpg', '/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0001.jpg', '/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/54/image_12012025_21_54_02_851624_0003.jpg
/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0000.jpg
/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0001.jpg
/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483956","1328483952","1328483955","1328483957"],"photo_ids_order":["1328483952","1328483955","1328483956","1328483957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd1eb7b2a9b59993f5f24c3f8af28e8c.jpg","text":"TemporaryFile(/tmp/multipartBody7203374315117625630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715392368,"filename":"image_12012025_21_55_03_020546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1384ecc7b280ebb009e32f92eac1c39f.jpg","text":"TemporaryFile(/tmp/multipartBody4725443630859398980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715392368,"filename":"image_12012025_21_54_02_851624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d95430cc6dacede542135c3cf375c15.jpg","text":"TemporaryFile(/tmp/multipartBody2831513174431367972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715392368,"filename":"image_12012025_21_55_03_020546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d99f246a444d130c64e71f55792bbbc0.jpg","text":"TemporaryFile(/tmp/multipartBody1878332173083788330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715392368,"filename":"image_12012025_21_55_03_020546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483956","file1":"1328483955","file0":"1328483952","file3":"1328483957"},"map_files_photo_id_array":[{"photo_id":"1328483956","filename":"file2"},{"photo_id":"1328483955","filename":"file1"},{"photo_id":"1328483952","filename":"file0"},{"photo_id":"1328483957","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483956":["hashtag1","hashtag2"]},{"1328483952":["hashtag1","hashtag2"]},{"1328483955":["hashtag1","hashtag2"]},{"1328483957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483956, 1328483952, 1328483955, 1328483957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.79068970680237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:56:22.080088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0003.jpg', '/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0000.jpg', '/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0001.jpg', '/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0003.jpg
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0000.jpg
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0001.jpg
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_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.874277591705322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 21:56:42.109870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0003.jpg', '/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0000.jpg', '/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0001.jpg', '/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/55/image_12012025_21_55_03_020546_0003.jpg
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0000.jpg
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0001.jpg
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328483973","1328483972","1328483975","1328483977"],"photo_ids_order":["1328483972","1328483973","1328483975","1328483977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/124103dad70d6f95fa1f5f2b92f2110c.jpg","text":"TemporaryFile(/tmp/multipartBody3995798527883887665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715472445,"filename":"image_12012025_21_56_02_278093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed2684486762b7887e6cc45ec4484ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1544176626108544644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715472445,"filename":"image_12012025_21_55_03_020546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4c4e664ef569d8697bcbac7036af2957.jpg","text":"TemporaryFile(/tmp/multipartBody5476810384093069895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715472445,"filename":"image_12012025_21_56_02_278093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/539664c5025592fa7c1a1219483e43fe.jpg","text":"TemporaryFile(/tmp/multipartBody494043015262046678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715472445,"filename":"image_12012025_21_56_02_278093_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328483975","file1":"1328483973","file0":"1328483972","file3":"1328483977"},"map_files_photo_id_array":[{"photo_id":"1328483975","filename":"file2"},{"photo_id":"1328483973","filename":"file1"},{"photo_id":"1328483972","filename":"file0"},{"photo_id":"1328483977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328483973":["hashtag1","hashtag2"]},{"1328483972":["hashtag1","hashtag2"]},{"1328483975":["hashtag1","hashtag2"]},{"1328483977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328483973, 1328483972, 1328483975, 1328483977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.76805853843689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 21:57:32.241244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0003.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0000.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0001.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0003.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0000.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0001.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_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-12 21:59:03.257484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0003.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0000.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0001.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0002.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0003.jpg', '/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0003.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0000.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0001.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0002.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0003.jpg
/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_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.761816263198853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 21:59:22.574855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0003.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0000.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0001.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0002.jpg', '/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0003.jpg', '/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/56/image_12012025_21_56_02_278093_0003.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0000.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0001.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0002.jpg
/home/pi/Desktop/images/12012025/21/57/image_12012025_21_57_02_436457_0003.jpg
/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_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":["1328484037","1328484762","1328484029","1328484407","1328484026","1328484031"],"photo_ids_order":["1328484026","1328484029","1328484031","1328484037","1328484407","1328484762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cdc5d5cd46a1eac7b61501b7abc71ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5437263483458501920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715637750,"filename":"image_12012025_21_57_02_436457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44efcb2a0db4648fa32f704fd3f27a7b.jpg","text":"TemporaryFile(/tmp/multipartBody459588914414915494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715637750,"filename":"image_12012025_21_58_02_615693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c4344735e0ecec8168899aa96b6e14c.jpg","text":"TemporaryFile(/tmp/multipartBody4374379757970555736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715637750,"filename":"image_12012025_21_57_02_436457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/873e7c65bed6a21d729a52e910896c4e.jpg","text":"TemporaryFile(/tmp/multipartBody375470634029805030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715637750,"filename":"image_12012025_21_57_02_436457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4b22a91d5531e70b15f5fa7c8fa1f79.jpg","text":"TemporaryFile(/tmp/multipartBody5521388087315789758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715637750,"filename":"image_12012025_21_56_02_278093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77a58e219dd0c0c2c085950062add652.jpg","text":"TemporaryFile(/tmp/multipartBody8283507630904871118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715637750,"filename":"image_12012025_21_57_02_436457_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328484031","file1":"1328484029","file0":"1328484026","file4":"1328484407","file5":"1328484762","file3":"1328484037"},"map_files_photo_id_array":[{"photo_id":"1328484762","filename":"file5"},{"photo_id":"1328484031","filename":"file2"},{"photo_id":"1328484407","filename":"file4"},{"photo_id":"1328484029","filename":"file1"},{"photo_id":"1328484026","filename":"file0"},{"photo_id":"1328484037","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328484037":["hashtag1","hashtag2"]},{"1328484762":["hashtag1","hashtag2"]},{"1328484029":["hashtag1","hashtag2"]},{"1328484407":["hashtag1","hashtag2"]},{"1328484026":["hashtag1","hashtag2"]},{"1328484031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328484037, 1328484762, 1328484029, 1328484407, 1328484026, 1328484031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.380268812179565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:00:22.762661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0001.jpg', '/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0002.jpg', '/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0003.jpg', '/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0000.jpg', '/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0001.jpg', '/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0001.jpg
/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0002.jpg
/home/pi/Desktop/images/12012025/21/58/image_12012025_21_58_02_615693_0003.jpg
/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0000.jpg
/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0001.jpg
/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328484792","1328484780","1328484783","1328484791","1328484785","1328484788"],"photo_ids_order":["1328484780","1328484783","1328484785","1328484788","1328484791","1328484792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0af795e096121ce1811919fd3e345a49.jpg","text":"TemporaryFile(/tmp/multipartBody1720260502055328585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715697754,"filename":"image_12012025_21_59_02_798395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8589679c65570250b3d211b4c19247b5.jpg","text":"TemporaryFile(/tmp/multipartBody7593548152746980163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715697754,"filename":"image_12012025_21_58_02_615693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e23722b987ecb738e6316ca1663a843.jpg","text":"TemporaryFile(/tmp/multipartBody8968315841864217652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715697754,"filename":"image_12012025_21_58_02_615693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c24a0fa0f7611e0fe50b10ef25f476f2.jpg","text":"TemporaryFile(/tmp/multipartBody7451008390370071312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715697754,"filename":"image_12012025_21_59_02_798395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fa8dbeb8a967c19bbb395d051c0f6314.jpg","text":"TemporaryFile(/tmp/multipartBody3142270455813007852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715697754,"filename":"image_12012025_21_58_02_615693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58627f2e0ea079c1f8a84d0699c70ae2.jpg","text":"TemporaryFile(/tmp/multipartBody6631153224507293969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715697754,"filename":"image_12012025_21_59_02_798395_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328484785","file1":"1328484783","file0":"1328484780","file4":"1328484791","file5":"1328484792","file3":"1328484788"},"map_files_photo_id_array":[{"photo_id":"1328484792","filename":"file5"},{"photo_id":"1328484785","filename":"file2"},{"photo_id":"1328484791","filename":"file4"},{"photo_id":"1328484783","filename":"file1"},{"photo_id":"1328484780","filename":"file0"},{"photo_id":"1328484788","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328484792":["hashtag1","hashtag2"]},{"1328484780":["hashtag1","hashtag2"]},{"1328484783":["hashtag1","hashtag2"]},{"1328484791":["hashtag1","hashtag2"]},{"1328484785":["hashtag1","hashtag2"]},{"1328484788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328484792, 1328484780, 1328484783, 1328484791, 1328484785, 1328484788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.84451913833618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:01:21.968738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0003.jpg', '/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0000.jpg', '/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0001.jpg', '/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0002.jpg', '/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0003.jpg', '/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/21/59/image_12012025_21_59_02_798395_0003.jpg
/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0000.jpg
/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0001.jpg
/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0002.jpg
/home/pi/Desktop/images/12012025/22/00/image_12012025_22_00_02_913434_0003.jpg
/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_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":["1328485578","1328485580","1328485568","1328485582","1328485576","1328485498"],"photo_ids_order":["1328485498","1328485568","1328485576","1328485578","1328485580","1328485582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d9c80a70e8df41fa8839c545e249708.jpg","text":"TemporaryFile(/tmp/multipartBody1850973001471036983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715757168,"filename":"image_12012025_22_00_02_913434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/357ab2fffbf4348d216ceb3eb6937f16.jpg","text":"TemporaryFile(/tmp/multipartBody5889355261092530752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715757168,"filename":"image_12012025_22_00_02_913434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fe1f49cfdbb15d518111c83d4487b617.jpg","text":"TemporaryFile(/tmp/multipartBody8463914842451543768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715757168,"filename":"image_12012025_22_00_02_913434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f17f0a254cbd8b1807fe2db565cfb00.jpg","text":"TemporaryFile(/tmp/multipartBody6587084838670136090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715757168,"filename":"image_12012025_22_01_03_173539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f2f05d2518d15a9773902c0bcaa959e.jpg","text":"TemporaryFile(/tmp/multipartBody7637259070705486561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715757168,"filename":"image_12012025_22_00_02_913434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b8b67192e4f8c87750700cbc793e7551.jpg","text":"TemporaryFile(/tmp/multipartBody4082065927297866514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715757168,"filename":"image_12012025_21_59_02_798395_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328485576","file1":"1328485568","file0":"1328485498","file4":"1328485580","file5":"1328485582","file3":"1328485578"},"map_files_photo_id_array":[{"photo_id":"1328485582","filename":"file5"},{"photo_id":"1328485576","filename":"file2"},{"photo_id":"1328485580","filename":"file4"},{"photo_id":"1328485568","filename":"file1"},{"photo_id":"1328485498","filename":"file0"},{"photo_id":"1328485578","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328485578":["hashtag1","hashtag2"]},{"1328485580":["hashtag1","hashtag2"]},{"1328485568":["hashtag1","hashtag2"]},{"1328485582":["hashtag1","hashtag2"]},{"1328485576":["hashtag1","hashtag2"]},{"1328485498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328485578, 1328485580, 1328485568, 1328485582, 1328485576, 1328485498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.73918390274048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:02:22.215825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0001.jpg', '/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0002.jpg', '/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0003.jpg', '/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0000.jpg', '/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0001.jpg', '/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0001.jpg
/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0002.jpg
/home/pi/Desktop/images/12012025/22/01/image_12012025_22_01_03_173539_0003.jpg
/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0000.jpg
/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0001.jpg
/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328485605","1328485598","1328485601","1328485594","1328485603","1328485596"],"photo_ids_order":["1328485594","1328485596","1328485598","1328485601","1328485603","1328485605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/af838d70d66e67c26dea7c11cbb7621c.jpg","text":"TemporaryFile(/tmp/multipartBody312323369260963050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715817330,"filename":"image_12012025_22_02_02_450251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f4f235520a7fc63379a3f90a764cea4.jpg","text":"TemporaryFile(/tmp/multipartBody4358611884732946707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715817330,"filename":"image_12012025_22_01_03_173539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d184b727a2baa030ab7014b6d67d816.jpg","text":"TemporaryFile(/tmp/multipartBody34443352987221063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715817330,"filename":"image_12012025_22_02_02_450251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/714a11712f41bf5d8c1aa5f4cca24554.jpg","text":"TemporaryFile(/tmp/multipartBody3662912793009789648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715817330,"filename":"image_12012025_22_01_03_173539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4b214e7ce67e6a2bcdf37ebc3088b2e3.jpg","text":"TemporaryFile(/tmp/multipartBody8847520222055504106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715817330,"filename":"image_12012025_22_02_02_450251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9eee5d113378dd7af11056648b3fa9c.jpg","text":"TemporaryFile(/tmp/multipartBody565495988315540532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715817330,"filename":"image_12012025_22_01_03_173539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328485598","file1":"1328485596","file0":"1328485594","file4":"1328485603","file5":"1328485605","file3":"1328485601"},"map_files_photo_id_array":[{"photo_id":"1328485605","filename":"file5"},{"photo_id":"1328485598","filename":"file2"},{"photo_id":"1328485603","filename":"file4"},{"photo_id":"1328485596","filename":"file1"},{"photo_id":"1328485594","filename":"file0"},{"photo_id":"1328485601","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328485605":["hashtag1","hashtag2"]},{"1328485598":["hashtag1","hashtag2"]},{"1328485601":["hashtag1","hashtag2"]},{"1328485594":["hashtag1","hashtag2"]},{"1328485603":["hashtag1","hashtag2"]},{"1328485596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328485605, 1328485598, 1328485601, 1328485594, 1328485603, 1328485596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.138672828674316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:03:32.353329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0003.jpg', '/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0000.jpg', '/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0001.jpg', '/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/02/image_12012025_22_02_02_450251_0003.jpg
/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0000.jpg
/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0001.jpg
/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328485611","1328485614","1328485616","1328485618"],"photo_ids_order":["1328485611","1328485614","1328485616","1328485618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/55ec917df416541cd9cdb7fa2c9d65fa.jpg","text":"TemporaryFile(/tmp/multipartBody3227714869389676500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715882718,"filename":"image_12012025_22_02_02_450251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f600342667782ed1ba8bac6dab7555e.jpg","text":"TemporaryFile(/tmp/multipartBody7928317944372208882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715882718,"filename":"image_12012025_22_03_02_587027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2130c6f8e6fec551777afd7feb8872f.jpg","text":"TemporaryFile(/tmp/multipartBody5214706699844106588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715882718,"filename":"image_12012025_22_03_02_587027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7f70f00b3e41d9141569dd253e77ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody7317244272343902709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715882718,"filename":"image_12012025_22_03_02_587027_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328485616","file1":"1328485614","file0":"1328485611","file3":"1328485618"},"map_files_photo_id_array":[{"photo_id":"1328485616","filename":"file2"},{"photo_id":"1328485614","filename":"file1"},{"photo_id":"1328485611","filename":"file0"},{"photo_id":"1328485618","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328485611":["hashtag1","hashtag2"]},{"1328485614":["hashtag1","hashtag2"]},{"1328485616":["hashtag1","hashtag2"]},{"1328485618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328485611, 1328485614, 1328485616, 1328485618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.585456132888794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:04:22.591211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0003.jpg', '/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0000.jpg', '/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0001.jpg', '/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/03/image_12012025_22_03_02_587027_0003.jpg
/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0000.jpg
/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0001.jpg
/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328486561","1328486558","1328486557","1328486559"],"photo_ids_order":["1328486557","1328486558","1328486559","1328486561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8724c1f260579bf267f3eb4df5de0de3.jpg","text":"TemporaryFile(/tmp/multipartBody8679097807558529448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715933074,"filename":"image_12012025_22_04_02_784152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7ba0d0f070785b78732c5dabe0a490c.jpg","text":"TemporaryFile(/tmp/multipartBody9082112674644618384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715933074,"filename":"image_12012025_22_04_02_784152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c21f6ab8c42ffca82e52b869321b8164.jpg","text":"TemporaryFile(/tmp/multipartBody1916254176660430348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715933074,"filename":"image_12012025_22_03_02_587027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/472743578684ad49ea265c226a1f5bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4176810274982287173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715933074,"filename":"image_12012025_22_04_02_784152_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328486559","file1":"1328486558","file0":"1328486557","file3":"1328486561"},"map_files_photo_id_array":[{"photo_id":"1328486559","filename":"file2"},{"photo_id":"1328486558","filename":"file1"},{"photo_id":"1328486557","filename":"file0"},{"photo_id":"1328486561","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328486561":["hashtag1","hashtag2"]},{"1328486558":["hashtag1","hashtag2"]},{"1328486557":["hashtag1","hashtag2"]},{"1328486559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328486561, 1328486558, 1328486557, 1328486559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.284096002578735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:05:03.324582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:05:22.697372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0003.jpg', '/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0000.jpg', '/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0001.jpg', '/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/04/image_12012025_22_04_02_784152_0003.jpg
/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0000.jpg
/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0001.jpg
/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328486625","1328486575","1328486578","1328486577"],"photo_ids_order":["1328486575","1328486577","1328486578","1328486625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b858d89964cb02d627fdf5487aeda76.jpg","text":"TemporaryFile(/tmp/multipartBody8270453199332134611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715993123,"filename":"image_12012025_22_05_02_880566_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d65933367c2aaa93f6fd2848172bf620.jpg","text":"TemporaryFile(/tmp/multipartBody6472742521964267737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715993123,"filename":"image_12012025_22_04_02_784152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d2bc867912355f8e7f02007ca61d65f.jpg","text":"TemporaryFile(/tmp/multipartBody5264111150722101341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715993123,"filename":"image_12012025_22_05_02_880566_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bbecf1f603602a43bdcffbe109216712.jpg","text":"TemporaryFile(/tmp/multipartBody5700175722807708331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736715993123,"filename":"image_12012025_22_05_02_880566_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328486578","file1":"1328486577","file0":"1328486575","file3":"1328486625"},"map_files_photo_id_array":[{"photo_id":"1328486578","filename":"file2"},{"photo_id":"1328486577","filename":"file1"},{"photo_id":"1328486575","filename":"file0"},{"photo_id":"1328486625","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328486625":["hashtag1","hashtag2"]},{"1328486575":["hashtag1","hashtag2"]},{"1328486578":["hashtag1","hashtag2"]},{"1328486577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328486625, 1328486575, 1328486578, 1328486577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91452407836914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:06:21.912883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0003.jpg', '/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0000.jpg', '/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0001.jpg', '/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0003.jpg
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0000.jpg
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0001.jpg
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_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.032562732696533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:06:41.914788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0003.jpg', '/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0000.jpg', '/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0001.jpg', '/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/05/image_12012025_22_05_02_880566_0003.jpg
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0000.jpg
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0001.jpg
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328487472","1328487475","1328487477","1328487473"],"photo_ids_order":["1328487472","1328487473","1328487475","1328487477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cc5fd86d5f529db6a9c8e8718a0e6977.jpg","text":"TemporaryFile(/tmp/multipartBody7924823619684151837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716072353,"filename":"image_12012025_22_05_02_880566_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/542781d2f08624eae5535c6804447c50.jpg","text":"TemporaryFile(/tmp/multipartBody5198902010961973757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716072353,"filename":"image_12012025_22_06_03_122706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/969f7edc8f80764ba2224e0730fa3823.jpg","text":"TemporaryFile(/tmp/multipartBody4665065441885313767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716072353,"filename":"image_12012025_22_06_03_122706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1301f9f05c71ceb313bd02a1299dc127.jpg","text":"TemporaryFile(/tmp/multipartBody2025504274048162030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716072353,"filename":"image_12012025_22_06_03_122706_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328487475","file1":"1328487473","file0":"1328487472","file3":"1328487477"},"map_files_photo_id_array":[{"photo_id":"1328487475","filename":"file2"},{"photo_id":"1328487473","filename":"file1"},{"photo_id":"1328487472","filename":"file0"},{"photo_id":"1328487477","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328487472":["hashtag1","hashtag2"]},{"1328487475":["hashtag1","hashtag2"]},{"1328487477":["hashtag1","hashtag2"]},{"1328487473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328487472, 1328487475, 1328487477, 1328487473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49843621253967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:07:32.128117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0003.jpg', '/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0000.jpg', '/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0001.jpg', '/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/06/image_12012025_22_06_03_122706_0003.jpg
/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0000.jpg
/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0001.jpg
/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328487515","1328487684","1328487555","1328487603"],"photo_ids_order":["1328487515","1328487555","1328487603","1328487684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ace38b4a820c534de61e7042af5d325a.jpg","text":"TemporaryFile(/tmp/multipartBody1544830135588890174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716122390,"filename":"image_12012025_22_06_03_122706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ababb71770d5efc0d6bc1b4297983486.jpg","text":"TemporaryFile(/tmp/multipartBody4189525947553827707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716122390,"filename":"image_12012025_22_07_02_260001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6df524e251db5dd7cf3b5aa079b17c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8919724416077782693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716122390,"filename":"image_12012025_22_07_02_260001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/76bf9c0a5204055b339c955411742b9c.jpg","text":"TemporaryFile(/tmp/multipartBody5751766561812454206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716122390,"filename":"image_12012025_22_07_02_260001_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328487603","file1":"1328487555","file0":"1328487515","file3":"1328487684"},"map_files_photo_id_array":[{"photo_id":"1328487603","filename":"file2"},{"photo_id":"1328487555","filename":"file1"},{"photo_id":"1328487515","filename":"file0"},{"photo_id":"1328487684","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328487515":["hashtag1","hashtag2"]},{"1328487684":["hashtag1","hashtag2"]},{"1328487555":["hashtag1","hashtag2"]},{"1328487603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328487515, 1328487684, 1328487555, 1328487603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.37170076370239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:08:22.301984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0003.jpg', '/home/pi/Desktop/images/12012025/22/08/image_12012025_22_08_02_429239_0000.jpg', '/home/pi/Desktop/images/12012025/22/08/image_12012025_22_08_02_429239_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/07/image_12012025_22_07_02_260001_0003.jpg
/home/pi/Desktop/images/12012025/22/08/image_12012025_22_08_02_429239_0000.jpg
/home/pi/Desktop/images/12012025/22/08/image_12012025_22_08_02_429239_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":["1328488372","1328488249","1328488494"],"photo_ids_order":["1328488249","1328488372","1328488494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1dd1b7b4436076f5b21971c7bbd590c3.jpg","text":"TemporaryFile(/tmp/multipartBody1301676907632632809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716170138,"filename":"image_12012025_22_08_02_429239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/30cc5335c4ccfc9c80d14a7c3967f0b6.jpg","text":"TemporaryFile(/tmp/multipartBody6112063897509380687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716170138,"filename":"image_12012025_22_07_02_260001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14ef0ddb98d9c3b11534eae198346c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5401042243196395200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716170138,"filename":"image_12012025_22_08_02_429239_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328488494","file1":"1328488372","file0":"1328488249"},"map_files_photo_id_array":[{"photo_id":"1328488494","filename":"file2"},{"photo_id":"1328488372","filename":"file1"},{"photo_id":"1328488249","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328488372":["hashtag1","hashtag2"]},{"1328488249":["hashtag1","hashtag2"]},{"1328488494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328488372, 1328488249, 1328488494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.82972240447998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:09:02.961907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:09:22.361329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/08/image_12012025_22_08_02_429239_0003.jpg', '/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0000.jpg', '/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0001.jpg', '/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/08/image_12012025_22_08_02_429239_0003.jpg
/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0000.jpg
/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0001.jpg
/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328488597","1328488762","1328488845","1328488641"],"photo_ids_order":["1328488597","1328488641","1328488762","1328488845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/89d7ad467feec0864f8bd53edb039090.jpg","text":"TemporaryFile(/tmp/multipartBody5443827099056480388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716232789,"filename":"image_12012025_22_08_02_429239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/137110ddee14ee8f6fb01747c25ff05d.jpg","text":"TemporaryFile(/tmp/multipartBody7154312279884724571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716232789,"filename":"image_12012025_22_09_02_657270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2c10dfd3b6f26729a0eaa779618c5ef.jpg","text":"TemporaryFile(/tmp/multipartBody3872805376353248338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716232789,"filename":"image_12012025_22_09_02_657270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/811ae77254c5f308e4dc4fe5b3e038c7.jpg","text":"TemporaryFile(/tmp/multipartBody6153772667619738374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716232789,"filename":"image_12012025_22_09_02_657270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328488762","file1":"1328488641","file0":"1328488597","file3":"1328488845"},"map_files_photo_id_array":[{"photo_id":"1328488762","filename":"file2"},{"photo_id":"1328488641","filename":"file1"},{"photo_id":"1328488597","filename":"file0"},{"photo_id":"1328488845","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328488597":["hashtag1","hashtag2"]},{"1328488762":["hashtag1","hashtag2"]},{"1328488845":["hashtag1","hashtag2"]},{"1328488641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328488597, 1328488762, 1328488845, 1328488641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33816432952881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:10:02.956457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:10:22.556596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0003.jpg', '/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0000.jpg', '/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0001.jpg', '/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/09/image_12012025_22_09_02_657270_0003.jpg
/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0000.jpg
/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0001.jpg
/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328488924","1328488927","1328488929","1328488925"],"photo_ids_order":["1328488924","1328488925","1328488927","1328488929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/766318540c52c2a92edc4acffe88a73d.jpg","text":"TemporaryFile(/tmp/multipartBody8599385505636126837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716292931,"filename":"image_12012025_22_09_02_657270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae43635bc792346ebd245678899b7b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6855022712755792132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716292931,"filename":"image_12012025_22_10_02_888558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a70be9826b82d9fd4c3aede708b0981.jpg","text":"TemporaryFile(/tmp/multipartBody987979277040078644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716292931,"filename":"image_12012025_22_10_02_888558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/94b9680c2f8273c685d5675a971ec814.jpg","text":"TemporaryFile(/tmp/multipartBody5627242677587566301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716292931,"filename":"image_12012025_22_10_02_888558_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328488927","file1":"1328488925","file0":"1328488924","file3":"1328488929"},"map_files_photo_id_array":[{"photo_id":"1328488927","filename":"file2"},{"photo_id":"1328488925","filename":"file1"},{"photo_id":"1328488924","filename":"file0"},{"photo_id":"1328488929","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328488924":["hashtag1","hashtag2"]},{"1328488927":["hashtag1","hashtag2"]},{"1328488929":["hashtag1","hashtag2"]},{"1328488925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328488924, 1328488927, 1328488929, 1328488925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33612847328186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:11:21.828261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0003.jpg', '/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0000.jpg', '/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0001.jpg', '/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/10/image_12012025_22_10_02_888558_0003.jpg
/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0000.jpg
/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0001.jpg
/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328488936","1328488939","1328488941","1328488937"],"photo_ids_order":["1328488936","1328488937","1328488939","1328488941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4336bf9114dcad176cb571323bc2c8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6835737552269175756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716352169,"filename":"image_12012025_22_10_02_888558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8f9046fa0391a714694d5857c95b4789.jpg","text":"TemporaryFile(/tmp/multipartBody4989467641671143176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716352169,"filename":"image_12012025_22_11_02_915936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf9fafef134c88161ca6d396e8a713c1.jpg","text":"TemporaryFile(/tmp/multipartBody913514787328549982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716352169,"filename":"image_12012025_22_11_02_915936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4efd443d1e5d8872919fab824c95f79d.jpg","text":"TemporaryFile(/tmp/multipartBody5460265339647918614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716352169,"filename":"image_12012025_22_11_02_915936_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328488939","file1":"1328488937","file0":"1328488936","file3":"1328488941"},"map_files_photo_id_array":[{"photo_id":"1328488939","filename":"file2"},{"photo_id":"1328488937","filename":"file1"},{"photo_id":"1328488936","filename":"file0"},{"photo_id":"1328488941","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328488936":["hashtag1","hashtag2"]},{"1328488939":["hashtag1","hashtag2"]},{"1328488941":["hashtag1","hashtag2"]},{"1328488937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328488936, 1328488939, 1328488941, 1328488937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.82524108886719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:12:22.018248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0003.jpg', '/home/pi/Desktop/images/12012025/22/12/image_12012025_22_12_02_153546_0000.jpg', '/home/pi/Desktop/images/12012025/22/12/image_12012025_22_12_02_153546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/11/image_12012025_22_11_02_915936_0003.jpg
/home/pi/Desktop/images/12012025/22/12/image_12012025_22_12_02_153546_0000.jpg
/home/pi/Desktop/images/12012025/22/12/image_12012025_22_12_02_153546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328489737","1328489739","1328489741"],"photo_ids_order":["1328489737","1328489739","1328489741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3782b146171818908b18d9f4d91c0709.jpg","text":"TemporaryFile(/tmp/multipartBody6280090352411632632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716410038,"filename":"image_12012025_22_11_02_915936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca29dcd5ddd31337e3a4fbf3c99e1718.jpg","text":"TemporaryFile(/tmp/multipartBody1276164670085400838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716410038,"filename":"image_12012025_22_12_02_153546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e7d6e7998c0d95b61c46be0ab3d00a5.jpg","text":"TemporaryFile(/tmp/multipartBody871863115670085281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716410038,"filename":"image_12012025_22_12_02_153546_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328489741","file1":"1328489739","file0":"1328489737"},"map_files_photo_id_array":[{"photo_id":"1328489741","filename":"file2"},{"photo_id":"1328489739","filename":"file1"},{"photo_id":"1328489737","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328489737":["hashtag1","hashtag2"]},{"1328489739":["hashtag1","hashtag2"]},{"1328489741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328489737, 1328489739, 1328489741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.41144585609436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:13:02.726174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:13:22.156428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/12/image_12012025_22_12_02_153546_0003.jpg', '/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0000.jpg', '/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0001.jpg', '/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/12/image_12012025_22_12_02_153546_0003.jpg
/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0000.jpg
/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0001.jpg
/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328490125","1328490099","1328489987","1328490126"],"photo_ids_order":["1328489987","1328490099","1328490125","1328490126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d0414f0044ab82c21535b6bfd47f589.jpg","text":"TemporaryFile(/tmp/multipartBody815347353996960159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716472435,"filename":"image_12012025_22_13_02_346377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f660a2b5dc3e40dd62616d5f48e7a931.jpg","text":"TemporaryFile(/tmp/multipartBody7009607078889777783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716472435,"filename":"image_12012025_22_13_02_346377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d4ca27a43435068f85d1eae9f5bf2b17.jpg","text":"TemporaryFile(/tmp/multipartBody2606645217856339316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716472435,"filename":"image_12012025_22_12_02_153546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/268ddcdecc74aad31e255944ec14bd49.jpg","text":"TemporaryFile(/tmp/multipartBody5473826424853861667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716472435,"filename":"image_12012025_22_13_02_346377_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328490125","file1":"1328490099","file0":"1328489987","file3":"1328490126"},"map_files_photo_id_array":[{"photo_id":"1328490125","filename":"file2"},{"photo_id":"1328490099","filename":"file1"},{"photo_id":"1328489987","filename":"file0"},{"photo_id":"1328490126","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328490125":["hashtag1","hashtag2"]},{"1328490099":["hashtag1","hashtag2"]},{"1328489987":["hashtag1","hashtag2"]},{"1328490126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328490125, 1328490099, 1328489987, 1328490126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61265754699707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:14:22.401215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0003.jpg', '/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0000.jpg', '/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0001.jpg', '/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/13/image_12012025_22_13_02_346377_0003.jpg
/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0000.jpg
/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0001.jpg
/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328490206","1328490208","1328490204","1328490207"],"photo_ids_order":["1328490204","1328490206","1328490207","1328490208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de77b411af1040831eecdd9241c21f87.jpg","text":"TemporaryFile(/tmp/multipartBody3368096505501131748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716532648,"filename":"image_12012025_22_14_02_509444_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e896049fda80d395d8249decf620ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3843796281821809221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716532648,"filename":"image_12012025_22_14_02_509444_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0bc273508c067d01d45abed37231ff17.jpg","text":"TemporaryFile(/tmp/multipartBody1497278884409817304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716532648,"filename":"image_12012025_22_13_02_346377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5a2edba52b11082407ddd920af6a472e.jpg","text":"TemporaryFile(/tmp/multipartBody3894877333914800480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716532648,"filename":"image_12012025_22_14_02_509444_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328490207","file1":"1328490206","file0":"1328490204","file3":"1328490208"},"map_files_photo_id_array":[{"photo_id":"1328490207","filename":"file2"},{"photo_id":"1328490206","filename":"file1"},{"photo_id":"1328490204","filename":"file0"},{"photo_id":"1328490208","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328490206":["hashtag1","hashtag2"]},{"1328490208":["hashtag1","hashtag2"]},{"1328490204":["hashtag1","hashtag2"]},{"1328490207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328490206, 1328490208, 1328490204, 1328490207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.50408053398132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:15:22.527518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0003.jpg', '/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0000.jpg', '/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0001.jpg', '/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/14/image_12012025_22_14_02_509444_0003.jpg
/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0000.jpg
/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0001.jpg
/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328490218","1328490214","1328490217","1328490216"],"photo_ids_order":["1328490214","1328490216","1328490217","1328490218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a684d80af8e457d19f7572469acf1fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8180596961583812593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716592770,"filename":"image_12012025_22_15_02_710390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db1cc300570e4f31581de0e44ba1cab8.jpg","text":"TemporaryFile(/tmp/multipartBody2472271391736642474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716592770,"filename":"image_12012025_22_14_02_509444_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5083d23f76dfdf77292829ed72529532.jpg","text":"TemporaryFile(/tmp/multipartBody8637891902281554382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716592770,"filename":"image_12012025_22_15_02_710390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b78a4de2de9c57db4f8f8fa4019f6f8.jpg","text":"TemporaryFile(/tmp/multipartBody4479179156853221732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716592770,"filename":"image_12012025_22_15_02_710390_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328490217","file1":"1328490216","file0":"1328490214","file3":"1328490218"},"map_files_photo_id_array":[{"photo_id":"1328490217","filename":"file2"},{"photo_id":"1328490216","filename":"file1"},{"photo_id":"1328490214","filename":"file0"},{"photo_id":"1328490218","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328490218":["hashtag1","hashtag2"]},{"1328490214":["hashtag1","hashtag2"]},{"1328490217":["hashtag1","hashtag2"]},{"1328490216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328490218, 1328490214, 1328490217, 1328490216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.84960579872131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:16:22.843877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0003.jpg', '/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0000.jpg', '/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0001.jpg', '/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/15/image_12012025_22_15_02_710390_0003.jpg
/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0000.jpg
/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0001.jpg
/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328490224","1328490313","1328490225","1328490497"],"photo_ids_order":["1328490224","1328490225","1328490313","1328490497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4625377968a57c5cba796136845ed1c.jpg","text":"TemporaryFile(/tmp/multipartBody8510799689311505613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716653122,"filename":"image_12012025_22_15_02_710390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e67fd8d2b7d6959c9617e8c5cb2ea1d8.jpg","text":"TemporaryFile(/tmp/multipartBody5418747884534671937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716653122,"filename":"image_12012025_22_16_02_934328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/193897d727658ead6279103137dd3bfe.jpg","text":"TemporaryFile(/tmp/multipartBody483300910017797350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716653122,"filename":"image_12012025_22_16_02_934328_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0cc64f5012f1c4d1879fb55424daf88.jpg","text":"TemporaryFile(/tmp/multipartBody3796412563786611338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716653122,"filename":"image_12012025_22_16_02_934328_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328490313","file1":"1328490225","file0":"1328490224","file3":"1328490497"},"map_files_photo_id_array":[{"photo_id":"1328490313","filename":"file2"},{"photo_id":"1328490225","filename":"file1"},{"photo_id":"1328490224","filename":"file0"},{"photo_id":"1328490497","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328490224":["hashtag1","hashtag2"]},{"1328490313":["hashtag1","hashtag2"]},{"1328490225":["hashtag1","hashtag2"]},{"1328490497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328490224, 1328490313, 1328490225, 1328490497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.209757566452026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:17:22.025405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0003.jpg', '/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0000.jpg', '/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0001.jpg', '/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/16/image_12012025_22_16_02_934328_0003.jpg
/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0000.jpg
/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0001.jpg
/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328492058","1328492059","1328491999","1328492062"],"photo_ids_order":["1328491999","1328492058","1328492059","1328492062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e7bfb61b7088f7894470f5a14bc7086.jpg","text":"TemporaryFile(/tmp/multipartBody2005160164923862097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716712391,"filename":"image_12012025_22_17_03_139118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b588d99f288545a38d0b6228f46a2873.jpg","text":"TemporaryFile(/tmp/multipartBody1691946219474351689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716712391,"filename":"image_12012025_22_17_03_139118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5fc6cf879cb2c14428fc0916e9028351.jpg","text":"TemporaryFile(/tmp/multipartBody1796903571761347313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716712391,"filename":"image_12012025_22_16_02_934328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/77a627aadd513eca66d9739974db40ce.jpg","text":"TemporaryFile(/tmp/multipartBody7868119880022032332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716712391,"filename":"image_12012025_22_17_03_139118_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328492059","file1":"1328492058","file0":"1328491999","file3":"1328492062"},"map_files_photo_id_array":[{"photo_id":"1328492059","filename":"file2"},{"photo_id":"1328492058","filename":"file1"},{"photo_id":"1328491999","filename":"file0"},{"photo_id":"1328492062","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328492058":["hashtag1","hashtag2"]},{"1328492059":["hashtag1","hashtag2"]},{"1328491999":["hashtag1","hashtag2"]},{"1328492062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328492058, 1328492059, 1328491999, 1328492062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61086297035217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:18:02.600828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:18:22.003625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0003.jpg', '/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0000.jpg', '/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0001.jpg', '/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/17/image_12012025_22_17_03_139118_0003.jpg
/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0000.jpg
/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0001.jpg
/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328492198","1328492100","1328492321","1328492312"],"photo_ids_order":["1328492100","1328492198","1328492312","1328492321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f97fc4aaaf29c9c8bad0774cdb5bb104.jpg","text":"TemporaryFile(/tmp/multipartBody7640880015176466957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716772412,"filename":"image_12012025_22_18_02_238876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6012dcf8673f9dc1456fe41fa11cdc63.jpg","text":"TemporaryFile(/tmp/multipartBody4254008563320502782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716772412,"filename":"image_12012025_22_17_03_139118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e121c8d666f804eced58af47df061088.jpg","text":"TemporaryFile(/tmp/multipartBody7564020735270236893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716772412,"filename":"image_12012025_22_18_02_238876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b347d96fe11080a2895f1470b1cd0eb3.jpg","text":"TemporaryFile(/tmp/multipartBody4952985308787679047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716772412,"filename":"image_12012025_22_18_02_238876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328492312","file1":"1328492198","file0":"1328492100","file3":"1328492321"},"map_files_photo_id_array":[{"photo_id":"1328492312","filename":"file2"},{"photo_id":"1328492198","filename":"file1"},{"photo_id":"1328492100","filename":"file0"},{"photo_id":"1328492321","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328492198":["hashtag1","hashtag2"]},{"1328492100":["hashtag1","hashtag2"]},{"1328492321":["hashtag1","hashtag2"]},{"1328492312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328492198, 1328492100, 1328492321, 1328492312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.513952016830444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:19:02.875215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:19:22.272251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0003.jpg', '/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0000.jpg', '/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0001.jpg', '/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/18/image_12012025_22_18_02_238876_0003.jpg
/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0000.jpg
/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0001.jpg
/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328492404","1328492406","1328492402","1328492405"],"photo_ids_order":["1328492402","1328492404","1328492405","1328492406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d45816d9af81b916948f04ed4f90beab.jpg","text":"TemporaryFile(/tmp/multipartBody2470334183081784481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716832722,"filename":"image_12012025_22_19_02_434425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/500fc5f10f0d6916120d9f947c2430b3.jpg","text":"TemporaryFile(/tmp/multipartBody2719733174596328192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716832722,"filename":"image_12012025_22_19_02_434425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d92ba75b11881061c4d3a65329765b33.jpg","text":"TemporaryFile(/tmp/multipartBody6891190433227300464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716832722,"filename":"image_12012025_22_18_02_238876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ca9d9f96d3a5e5a64b57c087c60cf5c0.jpg","text":"TemporaryFile(/tmp/multipartBody659602131550927619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716832722,"filename":"image_12012025_22_19_02_434425_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328492405","file1":"1328492404","file0":"1328492402","file3":"1328492406"},"map_files_photo_id_array":[{"photo_id":"1328492405","filename":"file2"},{"photo_id":"1328492404","filename":"file1"},{"photo_id":"1328492402","filename":"file0"},{"photo_id":"1328492406","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328492404":["hashtag1","hashtag2"]},{"1328492406":["hashtag1","hashtag2"]},{"1328492402":["hashtag1","hashtag2"]},{"1328492405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328492404, 1328492406, 1328492402, 1328492405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.663989782333374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:20:22.420243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0003.jpg', '/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0000.jpg', '/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0001.jpg', '/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0003.jpg
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0000.jpg
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0001.jpg
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_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.967028856277466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:20:42.415156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0003.jpg', '/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0000.jpg', '/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0001.jpg', '/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/19/image_12012025_22_19_02_434425_0003.jpg
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0000.jpg
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0001.jpg
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328492416","1328492418","1328492420","1328492417"],"photo_ids_order":["1328492416","1328492417","1328492418","1328492420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e4ec8b860d3d1d2fdc12124a60d3b51d.jpg","text":"TemporaryFile(/tmp/multipartBody2219466069255735941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716912794,"filename":"image_12012025_22_19_02_434425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/80440627821126c57463e019fb0a465a.jpg","text":"TemporaryFile(/tmp/multipartBody4143000234871635708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716912794,"filename":"image_12012025_22_20_02_653858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e2e6239cf7778568f3f6ac5721d067b.jpg","text":"TemporaryFile(/tmp/multipartBody830103374120255956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716912794,"filename":"image_12012025_22_20_02_653858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04660682d6b9e1b308100aee03e5a110.jpg","text":"TemporaryFile(/tmp/multipartBody8877457643122488412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716912794,"filename":"image_12012025_22_20_02_653858_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328492418","file1":"1328492417","file0":"1328492416","file3":"1328492420"},"map_files_photo_id_array":[{"photo_id":"1328492418","filename":"file2"},{"photo_id":"1328492417","filename":"file1"},{"photo_id":"1328492416","filename":"file0"},{"photo_id":"1328492420","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328492416":["hashtag1","hashtag2"]},{"1328492418":["hashtag1","hashtag2"]},{"1328492420":["hashtag1","hashtag2"]},{"1328492417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328492416, 1328492418, 1328492420, 1328492417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35976815223694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:21:32.582772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0003.jpg', '/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0000.jpg', '/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0001.jpg', '/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/20/image_12012025_22_20_02_653858_0003.jpg
/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0000.jpg
/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0001.jpg
/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328494244","1328493973","1328494111","1328493735"],"photo_ids_order":["1328493735","1328493973","1328494111","1328494244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e26873047a15bc6b39333307cb072c35.jpg","text":"TemporaryFile(/tmp/multipartBody129828748728588450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716962853,"filename":"image_12012025_22_21_02_746487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f9e22b7e6556bca34f87cd423564be56.jpg","text":"TemporaryFile(/tmp/multipartBody1783985899057884340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716962853,"filename":"image_12012025_22_21_02_746487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d396343a9740a055ed72c0078075da24.jpg","text":"TemporaryFile(/tmp/multipartBody8330402396264504069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716962853,"filename":"image_12012025_22_21_02_746487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef8dff9ad50099da53931feb216c8426.jpg","text":"TemporaryFile(/tmp/multipartBody1217650224972253073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736716962853,"filename":"image_12012025_22_20_02_653858_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328494111","file1":"1328493973","file0":"1328493735","file3":"1328494244"},"map_files_photo_id_array":[{"photo_id":"1328494111","filename":"file2"},{"photo_id":"1328493973","filename":"file1"},{"photo_id":"1328493735","filename":"file0"},{"photo_id":"1328494244","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328494244":["hashtag1","hashtag2"]},{"1328493973":["hashtag1","hashtag2"]},{"1328494111":["hashtag1","hashtag2"]},{"1328493735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328494244, 1328493973, 1328494111, 1328493735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.913071393966675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:22:21.772685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0003.jpg', '/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0000.jpg', '/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0001.jpg', '/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/21/image_12012025_22_21_02_746487_0003.jpg
/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0000.jpg
/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0001.jpg
/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328494973","1328494972","1328494975","1328494977"],"photo_ids_order":["1328494972","1328494973","1328494975","1328494977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2d46430319a34c969be786f3548ad0f.jpg","text":"TemporaryFile(/tmp/multipartBody8628185021807825761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717012072,"filename":"image_12012025_22_22_03_001389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/efadffbd0409d9f28d79f0141b84cccf.jpg","text":"TemporaryFile(/tmp/multipartBody2694723696139330179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717012072,"filename":"image_12012025_22_21_02_746487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57c9be0a0087c85a9b00cf6da3b81165.jpg","text":"TemporaryFile(/tmp/multipartBody7314610043393943328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717012072,"filename":"image_12012025_22_22_03_001389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/161a237b6a09cf6aa28780c5cd284e93.jpg","text":"TemporaryFile(/tmp/multipartBody3505796217988601219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717012072,"filename":"image_12012025_22_22_03_001389_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328494975","file1":"1328494973","file0":"1328494972","file3":"1328494977"},"map_files_photo_id_array":[{"photo_id":"1328494975","filename":"file2"},{"photo_id":"1328494973","filename":"file1"},{"photo_id":"1328494972","filename":"file0"},{"photo_id":"1328494977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328494973":["hashtag1","hashtag2"]},{"1328494972":["hashtag1","hashtag2"]},{"1328494975":["hashtag1","hashtag2"]},{"1328494977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328494973, 1328494972, 1328494975, 1328494977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39474368095398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:23:21.991695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0003.jpg', '/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0000.jpg', '/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0001.jpg', '/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/22/image_12012025_22_22_03_001389_0003.jpg
/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0000.jpg
/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0001.jpg
/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328495677","1328495710","1328495799","1328495766"],"photo_ids_order":["1328495677","1328495710","1328495766","1328495799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c77c80e804138e500b65779f45f11392.jpg","text":"TemporaryFile(/tmp/multipartBody7629986147958321249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717072431,"filename":"image_12012025_22_22_03_001389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b5fb74405ed44fdd194f95cef31243f.jpg","text":"TemporaryFile(/tmp/multipartBody1933542008633336326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717072431,"filename":"image_12012025_22_23_02_159958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecebdf5ee76b15dee612438f21c498fd.jpg","text":"TemporaryFile(/tmp/multipartBody889793205963665283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717072431,"filename":"image_12012025_22_23_02_159958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/778a3e3c89ee9135cb206e201c902a12.jpg","text":"TemporaryFile(/tmp/multipartBody873849180995470775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717072431,"filename":"image_12012025_22_23_02_159958_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328495766","file1":"1328495710","file0":"1328495677","file3":"1328495799"},"map_files_photo_id_array":[{"photo_id":"1328495766","filename":"file2"},{"photo_id":"1328495710","filename":"file1"},{"photo_id":"1328495677","filename":"file0"},{"photo_id":"1328495799","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328495677":["hashtag1","hashtag2"]},{"1328495710":["hashtag1","hashtag2"]},{"1328495799":["hashtag1","hashtag2"]},{"1328495766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328495677, 1328495710, 1328495799, 1328495766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.578810930252075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:24:02.591331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:24:22.250568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0003.jpg', '/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0000.jpg', '/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0001.jpg', '/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0003.jpg
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0000.jpg
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0001.jpg
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_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.870884418487549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:24:42.263707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0003.jpg', '/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0000.jpg', '/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0001.jpg', '/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/23/image_12012025_22_23_02_159958_0003.jpg
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0000.jpg
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0001.jpg
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_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":["1328495900","1328495902","1328495898","1328495904"],"photo_ids_order":["1328495898","1328495900","1328495902","1328495904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/730a2c3e1d217a6d1e52f4fb413e4ead.jpg","text":"TemporaryFile(/tmp/multipartBody7448100154412332675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717152537,"filename":"image_12012025_22_24_02_411082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb205d9318ffbb864f1aa75f505971d2.jpg","text":"TemporaryFile(/tmp/multipartBody5025049469789741659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717152537,"filename":"image_12012025_22_24_02_411082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfc3c838651efbf44703059ff37f49ce.jpg","text":"TemporaryFile(/tmp/multipartBody362083526806956894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717152537,"filename":"image_12012025_22_23_02_159958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ed19893c56da15dab102ba0a540560ae.jpg","text":"TemporaryFile(/tmp/multipartBody5899844644348367833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717152537,"filename":"image_12012025_22_24_02_411082_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328495902","file1":"1328495900","file0":"1328495898","file3":"1328495904"},"map_files_photo_id_array":[{"photo_id":"1328495902","filename":"file2"},{"photo_id":"1328495900","filename":"file1"},{"photo_id":"1328495898","filename":"file0"},{"photo_id":"1328495904","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328495900":["hashtag1","hashtag2"]},{"1328495902":["hashtag1","hashtag2"]},{"1328495898":["hashtag1","hashtag2"]},{"1328495904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328495900, 1328495902, 1328495898, 1328495904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.775832176208496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:25:22.458656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0003.jpg', '/home/pi/Desktop/images/12012025/22/25/image_12012025_22_25_02_560263_0000.jpg', '/home/pi/Desktop/images/12012025/22/25/image_12012025_22_25_02_560263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/24/image_12012025_22_24_02_411082_0003.jpg
/home/pi/Desktop/images/12012025/22/25/image_12012025_22_25_02_560263_0000.jpg
/home/pi/Desktop/images/12012025/22/25/image_12012025_22_25_02_560263_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328495906","1328495908","1328495907"],"photo_ids_order":["1328495906","1328495907","1328495908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09e61865736de9bb0704d0494c521655.jpg","text":"TemporaryFile(/tmp/multipartBody5053065720188626253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717190326,"filename":"image_12012025_22_24_02_411082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8ad00575f852735cdc8e090160da306b.jpg","text":"TemporaryFile(/tmp/multipartBody5557671843521804881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717190326,"filename":"image_12012025_22_25_02_560263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e67748f88cee356cd9e26146240dd494.jpg","text":"TemporaryFile(/tmp/multipartBody5506567722452412075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717190326,"filename":"image_12012025_22_25_02_560263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328495908","file1":"1328495907","file0":"1328495906"},"map_files_photo_id_array":[{"photo_id":"1328495908","filename":"file2"},{"photo_id":"1328495907","filename":"file1"},{"photo_id":"1328495906","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328495906":["hashtag1","hashtag2"]},{"1328495908":["hashtag1","hashtag2"]},{"1328495907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328495906, 1328495908, 1328495907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.262201070785522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:26:02.967940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:26:22.625759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/25/image_12012025_22_25_02_560263_0003.jpg', '/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0000.jpg', '/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0001.jpg', '/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/25/image_12012025_22_25_02_560263_0003.jpg
/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0000.jpg
/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0001.jpg
/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328496238","1328496294","1328496220","1328496222"],"photo_ids_order":["1328496220","1328496222","1328496238","1328496294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc2ab4fb627bded545bfa89093672cea.jpg","text":"TemporaryFile(/tmp/multipartBody7361893720409217188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717252982,"filename":"image_12012025_22_26_02_832446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd2ffd2f63f6d915048c4f8ff02d374b.jpg","text":"TemporaryFile(/tmp/multipartBody6735353119346043929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717252982,"filename":"image_12012025_22_26_02_832446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3c2fa2c08d4ab1a9028ad8afb67f5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1990257380410441435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717252982,"filename":"image_12012025_22_25_02_560263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1ce4235bdc263f73c5e12aa405c18871.jpg","text":"TemporaryFile(/tmp/multipartBody821300157524954929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717252982,"filename":"image_12012025_22_26_02_832446_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328496238","file1":"1328496222","file0":"1328496220","file3":"1328496294"},"map_files_photo_id_array":[{"photo_id":"1328496238","filename":"file2"},{"photo_id":"1328496222","filename":"file1"},{"photo_id":"1328496220","filename":"file0"},{"photo_id":"1328496294","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328496238":["hashtag1","hashtag2"]},{"1328496294":["hashtag1","hashtag2"]},{"1328496220":["hashtag1","hashtag2"]},{"1328496222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328496238, 1328496294, 1328496220, 1328496222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41894245147705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:27:21.766175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0003.jpg', '/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0000.jpg', '/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0001.jpg', '/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/26/image_12012025_22_26_02_832446_0003.jpg
/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0000.jpg
/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0001.jpg
/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328496967","1328496946","1328496942","1328496944"],"photo_ids_order":["1328496942","1328496944","1328496946","1328496967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0250f151b92316060da58d9716e02972.jpg","text":"TemporaryFile(/tmp/multipartBody5631386357637999986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717312255,"filename":"image_12012025_22_27_02_941120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4829ed2cfd23fafd24c86e255912b989.jpg","text":"TemporaryFile(/tmp/multipartBody1256056942346159832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717312255,"filename":"image_12012025_22_27_02_941120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef582925ce0e772b8f53eb073944e7db.jpg","text":"TemporaryFile(/tmp/multipartBody8689706687850270842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717312255,"filename":"image_12012025_22_26_02_832446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08896e8f8dc7457ac188fa901b5a652a.jpg","text":"TemporaryFile(/tmp/multipartBody5908606628695569652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717312255,"filename":"image_12012025_22_27_02_941120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328496946","file1":"1328496944","file0":"1328496942","file3":"1328496967"},"map_files_photo_id_array":[{"photo_id":"1328496946","filename":"file2"},{"photo_id":"1328496944","filename":"file1"},{"photo_id":"1328496942","filename":"file0"},{"photo_id":"1328496967","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328496967":["hashtag1","hashtag2"]},{"1328496946":["hashtag1","hashtag2"]},{"1328496942":["hashtag1","hashtag2"]},{"1328496944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328496967, 1328496946, 1328496942, 1328496944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91629767417908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:28:22.130548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0003.jpg', '/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0000.jpg', '/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0001.jpg', '/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/27/image_12012025_22_27_02_941120_0003.jpg
/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0000.jpg
/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0001.jpg
/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328497123","1328497125","1328497122","1328497127"],"photo_ids_order":["1328497122","1328497123","1328497125","1328497127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/299962526964684be6f4ed1ffe6d9625.jpg","text":"TemporaryFile(/tmp/multipartBody2867750175322246459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717372462,"filename":"image_12012025_22_28_02_186210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a0a3643efbe6ede5e9f7e2a763ffb068.jpg","text":"TemporaryFile(/tmp/multipartBody5937718068821606605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717372462,"filename":"image_12012025_22_28_02_186210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/21dc51e55feaa8584df3d031411ae531.jpg","text":"TemporaryFile(/tmp/multipartBody5956660119214244113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717372462,"filename":"image_12012025_22_27_02_941120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e31d9d75793be1aed8a1ae4b9ae4c793.jpg","text":"TemporaryFile(/tmp/multipartBody7057350414474557945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717372462,"filename":"image_12012025_22_28_02_186210_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328497125","file1":"1328497123","file0":"1328497122","file3":"1328497127"},"map_files_photo_id_array":[{"photo_id":"1328497125","filename":"file2"},{"photo_id":"1328497123","filename":"file1"},{"photo_id":"1328497122","filename":"file0"},{"photo_id":"1328497127","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328497123":["hashtag1","hashtag2"]},{"1328497125":["hashtag1","hashtag2"]},{"1328497122":["hashtag1","hashtag2"]},{"1328497127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328497123, 1328497125, 1328497122, 1328497127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.84594011306763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:29:22.182238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0003.jpg', '/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0000.jpg', '/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0001.jpg', '/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/28/image_12012025_22_28_02_186210_0003.jpg
/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0000.jpg
/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0001.jpg
/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328497144","1328497149","1328497148","1328497147"],"photo_ids_order":["1328497144","1328497147","1328497148","1328497149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8396182a3a9c7824f4df9e16a3aa0e5e.jpg","text":"TemporaryFile(/tmp/multipartBody8925671862500754309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717432553,"filename":"image_12012025_22_28_02_186210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10ae8e3290f8bed11d254200d2dfa295.jpg","text":"TemporaryFile(/tmp/multipartBody2721939300212339828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717432553,"filename":"image_12012025_22_29_02_437295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36c31f97623659f60d311878753a22d9.jpg","text":"TemporaryFile(/tmp/multipartBody3006346516030654165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717432553,"filename":"image_12012025_22_29_02_437295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a215bd4c03ff74fd53a8948468dcb1bf.jpg","text":"TemporaryFile(/tmp/multipartBody8703518265373658639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717432553,"filename":"image_12012025_22_29_02_437295_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328497148","file1":"1328497147","file0":"1328497144","file3":"1328497149"},"map_files_photo_id_array":[{"photo_id":"1328497148","filename":"file2"},{"photo_id":"1328497147","filename":"file1"},{"photo_id":"1328497144","filename":"file0"},{"photo_id":"1328497149","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328497144":["hashtag1","hashtag2"]},{"1328497149":["hashtag1","hashtag2"]},{"1328497148":["hashtag1","hashtag2"]},{"1328497147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328497144, 1328497149, 1328497148, 1328497147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.525492906570435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:30:22.357467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0003.jpg', '/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0000.jpg', '/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0001.jpg', '/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/29/image_12012025_22_29_02_437295_0003.jpg
/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0000.jpg
/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0001.jpg
/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328497152","1328497154","1328497151","1328497150"],"photo_ids_order":["1328497150","1328497151","1328497152","1328497154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c157acc43f71ec2552a8b0cd9a64ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4742348793587559705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717492648,"filename":"image_12012025_22_30_02_549029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c594d0e5b4c637cbdfe6a2ffd08c8471.jpg","text":"TemporaryFile(/tmp/multipartBody8128350122775410929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717492648,"filename":"image_12012025_22_30_02_549029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7bdf7a86c1c7befe51feb0a7092d16d.jpg","text":"TemporaryFile(/tmp/multipartBody3164027560579375916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717492648,"filename":"image_12012025_22_30_02_549029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a87ff69d21d38e3cd8ba06afa32ec479.jpg","text":"TemporaryFile(/tmp/multipartBody7564796207348520452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717492648,"filename":"image_12012025_22_29_02_437295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328497152","file1":"1328497151","file0":"1328497150","file3":"1328497154"},"map_files_photo_id_array":[{"photo_id":"1328497152","filename":"file2"},{"photo_id":"1328497151","filename":"file1"},{"photo_id":"1328497150","filename":"file0"},{"photo_id":"1328497154","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328497152":["hashtag1","hashtag2"]},{"1328497154":["hashtag1","hashtag2"]},{"1328497151":["hashtag1","hashtag2"]},{"1328497150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328497152, 1328497154, 1328497151, 1328497150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24416971206665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:31:22.553033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0003.jpg', '/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0000.jpg', '/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0001.jpg', '/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/30/image_12012025_22_30_02_549029_0003.jpg
/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0000.jpg
/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0001.jpg
/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328497164","1328497167","1328497166","1328497168"],"photo_ids_order":["1328497164","1328497166","1328497167","1328497168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8a3601cfdeb953d54a62fc51194b9231.jpg","text":"TemporaryFile(/tmp/multipartBody5441653268954333309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717552946,"filename":"image_12012025_22_30_02_549029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e1c27420b17cf3aae8ed5f6afcda9f59.jpg","text":"TemporaryFile(/tmp/multipartBody7053294214837486587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717552946,"filename":"image_12012025_22_31_02_717540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/44ffb5410c48b1e0dc01584432a67556.jpg","text":"TemporaryFile(/tmp/multipartBody2066747440630056271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717552946,"filename":"image_12012025_22_31_02_717540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ecb19fb53339927d61651f59a1de152d.jpg","text":"TemporaryFile(/tmp/multipartBody276205176800890068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717552946,"filename":"image_12012025_22_31_02_717540_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328497167","file1":"1328497166","file0":"1328497164","file3":"1328497168"},"map_files_photo_id_array":[{"photo_id":"1328497167","filename":"file2"},{"photo_id":"1328497166","filename":"file1"},{"photo_id":"1328497164","filename":"file0"},{"photo_id":"1328497168","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328497164":["hashtag1","hashtag2"]},{"1328497167":["hashtag1","hashtag2"]},{"1328497166":["hashtag1","hashtag2"]},{"1328497168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328497164, 1328497167, 1328497166, 1328497168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97869634628296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:32:22.758695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0003.jpg', '/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0000.jpg', '/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0001.jpg', '/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0003.jpg
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0000.jpg
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0001.jpg
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_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.916120052337646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:32:42.719506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0003.jpg', '/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0000.jpg', '/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0001.jpg', '/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/31/image_12012025_22_31_02_717540_0003.jpg
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0000.jpg
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0001.jpg
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328497182","1328497179","1328497178","1328497180"],"photo_ids_order":["1328497178","1328497179","1328497180","1328497182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b65429ee6d3b247d7116dcb6242686c4.jpg","text":"TemporaryFile(/tmp/multipartBody8297660026576875413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717633035,"filename":"image_12012025_22_32_02_881788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9f82d4ba4e0531001f4ee0fc39adfdeb.jpg","text":"TemporaryFile(/tmp/multipartBody1744206788921987129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717633035,"filename":"image_12012025_22_32_02_881788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bed77c4b0a1594c0daa69e3a1161786.jpg","text":"TemporaryFile(/tmp/multipartBody7077362318839894058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717633035,"filename":"image_12012025_22_31_02_717540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7de158a33b89b20747e6399c0e6cefd5.jpg","text":"TemporaryFile(/tmp/multipartBody7710116984833584766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717633035,"filename":"image_12012025_22_32_02_881788_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328497180","file1":"1328497179","file0":"1328497178","file3":"1328497182"},"map_files_photo_id_array":[{"photo_id":"1328497180","filename":"file2"},{"photo_id":"1328497179","filename":"file1"},{"photo_id":"1328497178","filename":"file0"},{"photo_id":"1328497182","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328497182":["hashtag1","hashtag2"]},{"1328497179":["hashtag1","hashtag2"]},{"1328497178":["hashtag1","hashtag2"]},{"1328497180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328497182, 1328497179, 1328497178, 1328497180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31288385391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:33:31.866545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0003.jpg', '/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0000.jpg', '/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0001.jpg', '/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/32/image_12012025_22_32_02_881788_0003.jpg
/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0000.jpg
/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0001.jpg
/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328497510","1328497761","1328497629","1328497852"],"photo_ids_order":["1328497510","1328497629","1328497761","1328497852"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11bf63d605bbfc832a1def6ce2a3ff66.jpg","text":"TemporaryFile(/tmp/multipartBody3486105395638986982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717682318,"filename":"image_12012025_22_32_02_881788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/934a4c6a647a71cd59b6fc81abd623da.jpg","text":"TemporaryFile(/tmp/multipartBody5710678176474553500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717682318,"filename":"image_12012025_22_33_03_089767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/68d37cd9bb3b3a48de60d082c20b420c.jpg","text":"TemporaryFile(/tmp/multipartBody7483075268844994795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717682318,"filename":"image_12012025_22_33_03_089767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ec1d9aee3eb3ee462ac7c390409ab980.jpg","text":"TemporaryFile(/tmp/multipartBody2171115605110892703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717682318,"filename":"image_12012025_22_33_03_089767_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328497761","file1":"1328497629","file0":"1328497510","file3":"1328497852"},"map_files_photo_id_array":[{"photo_id":"1328497761","filename":"file2"},{"photo_id":"1328497629","filename":"file1"},{"photo_id":"1328497510","filename":"file0"},{"photo_id":"1328497852","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328497510":["hashtag1","hashtag2"]},{"1328497761":["hashtag1","hashtag2"]},{"1328497629":["hashtag1","hashtag2"]},{"1328497852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328497510, 1328497761, 1328497629, 1328497852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.048283100128174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:34:22.080667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0003.jpg', '/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0000.jpg', '/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0001.jpg', '/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/33/image_12012025_22_33_03_089767_0003.jpg
/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0000.jpg
/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0001.jpg
/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328499000","1328498705","1328499064","1328498320"],"photo_ids_order":["1328498320","1328498705","1328499000","1328499064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/018aef99ee964a61b944975cdbe3c69e.jpg","text":"TemporaryFile(/tmp/multipartBody6046846350223902121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717732385,"filename":"image_12012025_22_34_02_305505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8db34ae3b6e6d0e6894d03f37789ccc5.jpg","text":"TemporaryFile(/tmp/multipartBody3286252968506672629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717732385,"filename":"image_12012025_22_34_02_305505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e958144a61b33db360d4583e1ed0e30c.jpg","text":"TemporaryFile(/tmp/multipartBody2740048013361204702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717732385,"filename":"image_12012025_22_34_02_305505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19ee056ea4b0c37dbc1a2f428f447046.jpg","text":"TemporaryFile(/tmp/multipartBody7208125521187066953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717732385,"filename":"image_12012025_22_33_03_089767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328499000","file1":"1328498705","file0":"1328498320","file3":"1328499064"},"map_files_photo_id_array":[{"photo_id":"1328499000","filename":"file2"},{"photo_id":"1328498705","filename":"file1"},{"photo_id":"1328498320","filename":"file0"},{"photo_id":"1328499064","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328499000":["hashtag1","hashtag2"]},{"1328498705":["hashtag1","hashtag2"]},{"1328499064":["hashtag1","hashtag2"]},{"1328498320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328499000, 1328498705, 1328499064, 1328498320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.44798755645752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:35:02.726587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:35:22.234381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0003.jpg', '/home/pi/Desktop/images/12012025/22/35/image_12012025_22_35_02_431874_0000.jpg', '/home/pi/Desktop/images/12012025/22/35/image_12012025_22_35_02_431874_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/34/image_12012025_22_34_02_305505_0003.jpg
/home/pi/Desktop/images/12012025/22/35/image_12012025_22_35_02_431874_0000.jpg
/home/pi/Desktop/images/12012025/22/35/image_12012025_22_35_02_431874_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":["1328499071","1328499070","1328499072"],"photo_ids_order":["1328499070","1328499071","1328499072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5cd6c44005201d4da8a5733fbde76013.jpg","text":"TemporaryFile(/tmp/multipartBody1780165434956896932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717790122,"filename":"image_12012025_22_35_02_431874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a937e81117eb46a4763954cd59ba85b4.jpg","text":"TemporaryFile(/tmp/multipartBody2826603554746497444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717790122,"filename":"image_12012025_22_34_02_305505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/535bd4bd126196350dcd66417ac5ccbd.jpg","text":"TemporaryFile(/tmp/multipartBody5343967307277477377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717790122,"filename":"image_12012025_22_35_02_431874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328499072","file1":"1328499071","file0":"1328499070"},"map_files_photo_id_array":[{"photo_id":"1328499072","filename":"file2"},{"photo_id":"1328499071","filename":"file1"},{"photo_id":"1328499070","filename":"file0"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328499071":["hashtag1","hashtag2"]},{"1328499070":["hashtag1","hashtag2"]},{"1328499072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328499071, 1328499070, 1328499072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.537275075912476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:36:02.747537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:36:22.407248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/35/image_12012025_22_35_02_431874_0002.jpg', '/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0000.jpg', '/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0001.jpg', '/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/35/image_12012025_22_35_02_431874_0002.jpg
/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0000.jpg
/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0001.jpg
/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328499651","1328499632","1328499575","1328499536"],"photo_ids_order":["1328499536","1328499575","1328499632","1328499651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46ed6ec66033142a9fd2a53c94c73b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2243016502793202070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717852698,"filename":"image_12012025_22_36_02_548856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1512ebe4e56db4ce64423abf7fb72e40.jpg","text":"TemporaryFile(/tmp/multipartBody3252495265618028499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717852698,"filename":"image_12012025_22_36_02_548856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ece3ae666f37d6e477d65e041440cc47.jpg","text":"TemporaryFile(/tmp/multipartBody5341657731116447677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717852698,"filename":"image_12012025_22_36_02_548856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db4b766e19fb2a138e5aefe6120767f2.jpg","text":"TemporaryFile(/tmp/multipartBody4601611449308585431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717852698,"filename":"image_12012025_22_35_02_431874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328499632","file1":"1328499575","file0":"1328499536","file3":"1328499651"},"map_files_photo_id_array":[{"photo_id":"1328499632","filename":"file2"},{"photo_id":"1328499575","filename":"file1"},{"photo_id":"1328499536","filename":"file0"},{"photo_id":"1328499651","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328499651":["hashtag1","hashtag2"]},{"1328499632":["hashtag1","hashtag2"]},{"1328499575":["hashtag1","hashtag2"]},{"1328499536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328499651, 1328499632, 1328499575, 1328499536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.24651646614075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:37:22.564988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0003.jpg', '/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0000.jpg', '/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0001.jpg', '/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/36/image_12012025_22_36_02_548856_0003.jpg
/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0000.jpg
/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0001.jpg
/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328500666","1328500669","1328500668","1328500667"],"photo_ids_order":["1328500666","1328500667","1328500668","1328500669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d42e88ffa45ce0fb60c4623aefef7900.jpg","text":"TemporaryFile(/tmp/multipartBody3994594130712695077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717912961,"filename":"image_12012025_22_36_02_548856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3a1c42b2f414ccb959531381914d948a.jpg","text":"TemporaryFile(/tmp/multipartBody5402368907493891245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717912961,"filename":"image_12012025_22_37_02_738792_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3193c1f7a8e37dfde3d352194ec1e1f5.jpg","text":"TemporaryFile(/tmp/multipartBody613357667917746525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717912961,"filename":"image_12012025_22_37_02_738792_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/897a70373976f32bb044c1d1d32d9587.jpg","text":"TemporaryFile(/tmp/multipartBody1057842208097499650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717912961,"filename":"image_12012025_22_37_02_738792_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328500668","file1":"1328500667","file0":"1328500666","file3":"1328500669"},"map_files_photo_id_array":[{"photo_id":"1328500668","filename":"file2"},{"photo_id":"1328500667","filename":"file1"},{"photo_id":"1328500666","filename":"file0"},{"photo_id":"1328500669","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328500666":["hashtag1","hashtag2"]},{"1328500669":["hashtag1","hashtag2"]},{"1328500668":["hashtag1","hashtag2"]},{"1328500667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328500666, 1328500669, 1328500668, 1328500667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05370354652405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:38:03.139967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:38:22.652469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0003.jpg', '/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0000.jpg', '/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0001.jpg', '/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0003.jpg
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0000.jpg
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0001.jpg
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_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.787683486938477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:38:42.656363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0003.jpg', '/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0000.jpg', '/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0001.jpg', '/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/37/image_12012025_22_37_02_738792_0003.jpg
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0000.jpg
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0001.jpg
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328500700","1328501146","1328501103","1328500920"],"photo_ids_order":["1328500700","1328500920","1328501103","1328501146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c5781f44bdf87f2c49e88a9a36ddfe8.jpg","text":"TemporaryFile(/tmp/multipartBody2687230404172489739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717992850,"filename":"image_12012025_22_37_02_738792_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6671600fc17990b359cdbe7d79d2897d.jpg","text":"TemporaryFile(/tmp/multipartBody3925854144147112479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717992850,"filename":"image_12012025_22_38_02_859017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50502fbf1065099f42c8b9839b162e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3138326901196072136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717992850,"filename":"image_12012025_22_38_02_859017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eee484bccefc9eea77dcd058e9a4430d.jpg","text":"TemporaryFile(/tmp/multipartBody7345591242351925908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736717992850,"filename":"image_12012025_22_38_02_859017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328501103","file1":"1328500920","file0":"1328500700","file3":"1328501146"},"map_files_photo_id_array":[{"photo_id":"1328501103","filename":"file2"},{"photo_id":"1328500920","filename":"file1"},{"photo_id":"1328500700","filename":"file0"},{"photo_id":"1328501146","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328500700":["hashtag1","hashtag2"]},{"1328501146":["hashtag1","hashtag2"]},{"1328501103":["hashtag1","hashtag2"]},{"1328500920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328500700, 1328501146, 1328501103, 1328500920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10954546928406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:39:31.877751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0003.jpg', '/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0000.jpg', '/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0001.jpg', '/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/38/image_12012025_22_38_02_859017_0003.jpg
/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0000.jpg
/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0001.jpg
/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328501269","1328501268","1328501267","1328501264"],"photo_ids_order":["1328501264","1328501267","1328501268","1328501269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a7ffd8f6eea003ef04be794c7598720d.jpg","text":"TemporaryFile(/tmp/multipartBody1648613420035948590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718042211,"filename":"image_12012025_22_39_03_011947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2414b3660c81ce8512a20f464cbef6b0.jpg","text":"TemporaryFile(/tmp/multipartBody8304596755280945722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718042211,"filename":"image_12012025_22_39_03_011947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e63541ab35371dde0eb54cd6ad0ff00d.jpg","text":"TemporaryFile(/tmp/multipartBody3177676020440749978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718042211,"filename":"image_12012025_22_39_03_011947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/242dcf0a741da0499d129b44b33ad12a.jpg","text":"TemporaryFile(/tmp/multipartBody1521442332233628675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718042211,"filename":"image_12012025_22_38_02_859017_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328501268","file1":"1328501267","file0":"1328501264","file3":"1328501269"},"map_files_photo_id_array":[{"photo_id":"1328501268","filename":"file2"},{"photo_id":"1328501267","filename":"file1"},{"photo_id":"1328501264","filename":"file0"},{"photo_id":"1328501269","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328501269":["hashtag1","hashtag2"]},{"1328501268":["hashtag1","hashtag2"]},{"1328501267":["hashtag1","hashtag2"]},{"1328501264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328501269, 1328501268, 1328501267, 1328501264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.90733194351196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:40:22.135017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0003.jpg', '/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0000.jpg', '/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0001.jpg', '/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/39/image_12012025_22_39_03_011947_0003.jpg
/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0000.jpg
/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0001.jpg
/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328501278","1328501275","1328501280","1328501276"],"photo_ids_order":["1328501275","1328501276","1328501278","1328501280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/16d08c619655ed74a0350f3dc2159616.jpg","text":"TemporaryFile(/tmp/multipartBody8876765094784627679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718092505,"filename":"image_12012025_22_40_02_321066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ebd2a1a1fd92ac7a79d9a79fe183fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3554433864668935612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718092505,"filename":"image_12012025_22_39_03_011947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5f17958eb7bdf19f31b540cf156a4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5460574888276199849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718092505,"filename":"image_12012025_22_40_02_321066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/855b34608265d21fe30bfb92f322daba.jpg","text":"TemporaryFile(/tmp/multipartBody2260442731589414842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718092505,"filename":"image_12012025_22_40_02_321066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328501278","file1":"1328501276","file0":"1328501275","file3":"1328501280"},"map_files_photo_id_array":[{"photo_id":"1328501278","filename":"file2"},{"photo_id":"1328501276","filename":"file1"},{"photo_id":"1328501275","filename":"file0"},{"photo_id":"1328501280","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328501278":["hashtag1","hashtag2"]},{"1328501275":["hashtag1","hashtag2"]},{"1328501280":["hashtag1","hashtag2"]},{"1328501276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328501278, 1328501275, 1328501280, 1328501276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.309221267700195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:41:22.348282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0003.jpg', '/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0000.jpg', '/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0001.jpg', '/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/40/image_12012025_22_40_02_321066_0003.jpg
/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0000.jpg
/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0001.jpg
/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328501290","1328501286","1328501285","1328501288"],"photo_ids_order":["1328501285","1328501286","1328501288","1328501290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e7415298851e99b1683ae3fe480a6f81.jpg","text":"TemporaryFile(/tmp/multipartBody3421774217795642080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718152844,"filename":"image_12012025_22_41_02_481915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/17577fcd626cb904d4f3611becced6e4.jpg","text":"TemporaryFile(/tmp/multipartBody2173261851108474386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718152844,"filename":"image_12012025_22_41_02_481915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/62c7dce59119118475c9047f52f8afc6.jpg","text":"TemporaryFile(/tmp/multipartBody3003053684298134162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718152844,"filename":"image_12012025_22_40_02_321066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0fc858904e791590253d2924deb14e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1804177854583641269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718152844,"filename":"image_12012025_22_41_02_481915_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328501288","file1":"1328501286","file0":"1328501285","file3":"1328501290"},"map_files_photo_id_array":[{"photo_id":"1328501288","filename":"file2"},{"photo_id":"1328501286","filename":"file1"},{"photo_id":"1328501285","filename":"file0"},{"photo_id":"1328501290","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328501290":["hashtag1","hashtag2"]},{"1328501286":["hashtag1","hashtag2"]},{"1328501285":["hashtag1","hashtag2"]},{"1328501288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328501290, 1328501286, 1328501285, 1328501288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.426987409591675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:42:22.569132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0003.jpg', '/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0000.jpg', '/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0001.jpg', '/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/41/image_12012025_22_41_02_481915_0003.jpg
/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0000.jpg
/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0001.jpg
/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328501300","1328501295","1328501298","1328501296"],"photo_ids_order":["1328501295","1328501296","1328501298","1328501300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8222b117fd2e430d17159f4fd3cc9b7.jpg","text":"TemporaryFile(/tmp/multipartBody7601522787285754566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718212947,"filename":"image_12012025_22_42_02_622512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/439fa7dbb0b17c4cfadc959872b6edff.jpg","text":"TemporaryFile(/tmp/multipartBody6029840245476337684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718212947,"filename":"image_12012025_22_41_02_481915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3beafe0433d42bb9508dcb75bf069e92.jpg","text":"TemporaryFile(/tmp/multipartBody3442108981022814072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718212947,"filename":"image_12012025_22_42_02_622512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/41c610222f2e7b95f347c74357d5e95e.jpg","text":"TemporaryFile(/tmp/multipartBody8670291287733235366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718212947,"filename":"image_12012025_22_42_02_622512_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328501298","file1":"1328501296","file0":"1328501295","file3":"1328501300"},"map_files_photo_id_array":[{"photo_id":"1328501298","filename":"file2"},{"photo_id":"1328501296","filename":"file1"},{"photo_id":"1328501295","filename":"file0"},{"photo_id":"1328501300","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328501300":["hashtag1","hashtag2"]},{"1328501295":["hashtag1","hashtag2"]},{"1328501298":["hashtag1","hashtag2"]},{"1328501296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328501300, 1328501295, 1328501298, 1328501296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18933868408203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:43:22.655997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0003.jpg', '/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0000.jpg', '/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0001.jpg', '/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/42/image_12012025_22_42_02_622512_0003.jpg
/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0000.jpg
/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0001.jpg
/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328502639","1328502444","1328502024","1328502640"],"photo_ids_order":["1328502024","1328502444","1328502639","1328502640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/85558cb7e08737bb7d71829ead75fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody4037927840711020041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718272974,"filename":"image_12012025_22_43_02_829360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e9aacbcc3f7265f8cf5c7da36619f70a.jpg","text":"TemporaryFile(/tmp/multipartBody8304851464035625645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718272974,"filename":"image_12012025_22_43_02_829360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eb8df27645ecfbd0e9342083b5f0dd2c.jpg","text":"TemporaryFile(/tmp/multipartBody4893108731297423300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718272974,"filename":"image_12012025_22_42_02_622512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c2d44f2ba951bdb2a12a0fd217a1e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7115243637274652327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718272974,"filename":"image_12012025_22_43_02_829360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328502639","file1":"1328502444","file0":"1328502024","file3":"1328502640"},"map_files_photo_id_array":[{"photo_id":"1328502639","filename":"file2"},{"photo_id":"1328502444","filename":"file1"},{"photo_id":"1328502024","filename":"file0"},{"photo_id":"1328502640","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328502639":["hashtag1","hashtag2"]},{"1328502444":["hashtag1","hashtag2"]},{"1328502024":["hashtag1","hashtag2"]},{"1328502640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328502639, 1328502444, 1328502024, 1328502640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.4797682762146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:44:21.837132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0003.jpg', '/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0000.jpg', '/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0001.jpg', '/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/43/image_12012025_22_43_02_829360_0003.jpg
/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0000.jpg
/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0001.jpg
/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503018","1328503016","1328503013","1328503015"],"photo_ids_order":["1328503013","1328503015","1328503016","1328503018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/31e9708b328ee48f32c25cc406e0955c.jpg","text":"TemporaryFile(/tmp/multipartBody7600514158730738569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718332285,"filename":"image_12012025_22_44_02_994359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1559f71654f4be9f4e0e780759c5ba64.jpg","text":"TemporaryFile(/tmp/multipartBody4269898154959136028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718332285,"filename":"image_12012025_22_44_02_994359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e249cfc2810d464829d100fb70a96254.jpg","text":"TemporaryFile(/tmp/multipartBody4113170982717272684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718332285,"filename":"image_12012025_22_43_02_829360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/70bd8a3105c17a6027beb5d108df661f.jpg","text":"TemporaryFile(/tmp/multipartBody3615443905863849607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718332285,"filename":"image_12012025_22_44_02_994359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503016","file1":"1328503015","file0":"1328503013","file3":"1328503018"},"map_files_photo_id_array":[{"photo_id":"1328503016","filename":"file2"},{"photo_id":"1328503015","filename":"file1"},{"photo_id":"1328503013","filename":"file0"},{"photo_id":"1328503018","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503018":["hashtag1","hashtag2"]},{"1328503016":["hashtag1","hashtag2"]},{"1328503013":["hashtag1","hashtag2"]},{"1328503015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503018, 1328503016, 1328503013, 1328503015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.575294971466064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:45:22.000385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0003.jpg', '/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0000.jpg', '/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0001.jpg', '/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0003.jpg
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0000.jpg
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0001.jpg
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_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.054208517074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:45:42.024276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0003.jpg', '/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0000.jpg', '/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0001.jpg', '/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/44/image_12012025_22_44_02_994359_0003.jpg
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0000.jpg
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0001.jpg
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503044","1328503038","1328503040","1328503042"],"photo_ids_order":["1328503038","1328503040","1328503042","1328503044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f66e372d1e63fdc02a4b0c88d74e73c1.jpg","text":"TemporaryFile(/tmp/multipartBody6964284961595409481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718412474,"filename":"image_12012025_22_45_02_230959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7d21f4d5dca96bce9d1a8dd415fd94b6.jpg","text":"TemporaryFile(/tmp/multipartBody1186612652431381029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718412474,"filename":"image_12012025_22_44_02_994359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/243468550537291604e1553d0a956691.jpg","text":"TemporaryFile(/tmp/multipartBody4124406706416814193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718412474,"filename":"image_12012025_22_45_02_230959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/51b9f5a25d477a80fe10387dd323e2f5.jpg","text":"TemporaryFile(/tmp/multipartBody8243565296610560186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718412474,"filename":"image_12012025_22_45_02_230959_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503042","file1":"1328503040","file0":"1328503038","file3":"1328503044"},"map_files_photo_id_array":[{"photo_id":"1328503042","filename":"file2"},{"photo_id":"1328503040","filename":"file1"},{"photo_id":"1328503038","filename":"file0"},{"photo_id":"1328503044","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503044":["hashtag1","hashtag2"]},{"1328503038":["hashtag1","hashtag2"]},{"1328503040":["hashtag1","hashtag2"]},{"1328503042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503044, 1328503038, 1328503040, 1328503042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.971113204956055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:46:32.154447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0003.jpg', '/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0000.jpg', '/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0001.jpg', '/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/45/image_12012025_22_45_02_230959_0003.jpg
/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0000.jpg
/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0001.jpg
/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503299","1328503539","1328503050","1328503049"],"photo_ids_order":["1328503049","1328503050","1328503299","1328503539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e97f6428b95dd8023abe7d465fe4cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4237470992436985611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718462440,"filename":"image_12012025_22_46_02_382791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0ca2c2d82b9cd7ad5d4a2c2cc81bcbda.jpg","text":"TemporaryFile(/tmp/multipartBody3693272204199016392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718462440,"filename":"image_12012025_22_46_02_382791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fbf76afa0ec970aa3ee5cfc441eef91.jpg","text":"TemporaryFile(/tmp/multipartBody8324711482259031839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718462440,"filename":"image_12012025_22_46_02_382791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0b8f28a4ac0634e4851e00e7efb80d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5812033345339549161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718462440,"filename":"image_12012025_22_45_02_230959_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503299","file1":"1328503050","file0":"1328503049","file3":"1328503539"},"map_files_photo_id_array":[{"photo_id":"1328503299","filename":"file2"},{"photo_id":"1328503050","filename":"file1"},{"photo_id":"1328503049","filename":"file0"},{"photo_id":"1328503539","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503299":["hashtag1","hashtag2"]},{"1328503539":["hashtag1","hashtag2"]},{"1328503050":["hashtag1","hashtag2"]},{"1328503049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503299, 1328503539, 1328503050, 1328503049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6400043964386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:47:22.341582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0003.jpg', '/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0000.jpg', '/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0001.jpg', '/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/46/image_12012025_22_46_02_382791_0003.jpg
/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0000.jpg
/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0001.jpg
/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503784","1328503577","1328503547","1328503546"],"photo_ids_order":["1328503546","1328503547","1328503577","1328503784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/646c77c89dbe65da3fd9d98872bdc5da.jpg","text":"TemporaryFile(/tmp/multipartBody3349781669525881745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718512642,"filename":"image_12012025_22_47_02_523828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9319cf36347dd80ef7722102b336ee9f.jpg","text":"TemporaryFile(/tmp/multipartBody8517101536463388439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718512642,"filename":"image_12012025_22_47_02_523828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d8fafcb03fa552108bd58b6b59cf33e8.jpg","text":"TemporaryFile(/tmp/multipartBody3335479775862577477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718512642,"filename":"image_12012025_22_47_02_523828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/56278e3da4d50020279a095bbec272f4.jpg","text":"TemporaryFile(/tmp/multipartBody8743836317900056721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718512642,"filename":"image_12012025_22_46_02_382791_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503577","file1":"1328503547","file0":"1328503546","file3":"1328503784"},"map_files_photo_id_array":[{"photo_id":"1328503577","filename":"file2"},{"photo_id":"1328503547","filename":"file1"},{"photo_id":"1328503546","filename":"file0"},{"photo_id":"1328503784","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503784":["hashtag1","hashtag2"]},{"1328503577":["hashtag1","hashtag2"]},{"1328503547":["hashtag1","hashtag2"]},{"1328503546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503784, 1328503577, 1328503547, 1328503546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.239784240722656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:48:22.509708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0003.jpg', '/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0000.jpg', '/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0001.jpg', '/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0003.jpg
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0000.jpg
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0001.jpg
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_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.993542194366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:48:42.508387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0003.jpg', '/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0000.jpg', '/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0001.jpg', '/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/47/image_12012025_22_47_02_523828_0003.jpg
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0000.jpg
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0001.jpg
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503845","1328503841","1328503843","1328503840"],"photo_ids_order":["1328503840","1328503841","1328503843","1328503845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/eefefe281ec03fa0588679a26d278c43.jpg","text":"TemporaryFile(/tmp/multipartBody1330360333151019176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718592887,"filename":"image_12012025_22_48_02_705438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dcc41d633305b9f83a79d65cb032529e.jpg","text":"TemporaryFile(/tmp/multipartBody979089477993878467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718592887,"filename":"image_12012025_22_48_02_705438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7897065f577ae00339c6de4d9ec325f5.jpg","text":"TemporaryFile(/tmp/multipartBody6431477300912974818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718592887,"filename":"image_12012025_22_48_02_705438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/463eb5b0a294caffe8b778c2054275dc.jpg","text":"TemporaryFile(/tmp/multipartBody9097869019719733104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718592887,"filename":"image_12012025_22_47_02_523828_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503843","file1":"1328503841","file0":"1328503840","file3":"1328503845"},"map_files_photo_id_array":[{"photo_id":"1328503843","filename":"file2"},{"photo_id":"1328503841","filename":"file1"},{"photo_id":"1328503840","filename":"file0"},{"photo_id":"1328503845","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503845":["hashtag1","hashtag2"]},{"1328503841":["hashtag1","hashtag2"]},{"1328503843":["hashtag1","hashtag2"]},{"1328503840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503845, 1328503841, 1328503843, 1328503840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79553771018982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 22:49:32.905139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0003.jpg', '/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0000.jpg', '/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0001.jpg', '/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/48/image_12012025_22_48_02_705438_0003.jpg
/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0000.jpg
/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0001.jpg
/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503851","1328503850","1328503853","1328503852"],"photo_ids_order":["1328503850","1328503851","1328503852","1328503853"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf0762ec049bd57f9d63fa8ff5ac9634.jpg","text":"TemporaryFile(/tmp/multipartBody4289192182018462462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718643332,"filename":"image_12012025_22_49_02_891066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ce536089d18d6b2c70b8aa2a1a798fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8094845766240615581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718643332,"filename":"image_12012025_22_48_02_705438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/53bc099f6bd747af1d5630dcd5937988.jpg","text":"TemporaryFile(/tmp/multipartBody2754014424078223454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718643332,"filename":"image_12012025_22_49_02_891066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ef8ba5e3bb7e3d004e0ac5445f535605.jpg","text":"TemporaryFile(/tmp/multipartBody5602600302181962872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718643332,"filename":"image_12012025_22_49_02_891066_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503852","file1":"1328503851","file0":"1328503850","file3":"1328503853"},"map_files_photo_id_array":[{"photo_id":"1328503852","filename":"file2"},{"photo_id":"1328503851","filename":"file1"},{"photo_id":"1328503850","filename":"file0"},{"photo_id":"1328503853","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503851":["hashtag1","hashtag2"]},{"1328503850":["hashtag1","hashtag2"]},{"1328503853":["hashtag1","hashtag2"]},{"1328503852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503851, 1328503850, 1328503853, 1328503852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.920509815216064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:50:21.990188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0003.jpg', '/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0000.jpg', '/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0001.jpg', '/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/49/image_12012025_22_49_02_891066_0003.jpg
/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0000.jpg
/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0001.jpg
/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503860","1328503862","1328503859","1328503864"],"photo_ids_order":["1328503859","1328503860","1328503862","1328503864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f8d2370266ae67a90313db37cbd34922.jpg","text":"TemporaryFile(/tmp/multipartBody6733257636056662252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718692489,"filename":"image_12012025_22_50_03_267231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14cb1397c77838aec773add7b5827a3a.jpg","text":"TemporaryFile(/tmp/multipartBody3481263980538954524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718692489,"filename":"image_12012025_22_50_03_267231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/57d8516c25e59606186c3f4c93b5426e.jpg","text":"TemporaryFile(/tmp/multipartBody4838077479442422236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718692489,"filename":"image_12012025_22_49_02_891066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4749a577034971f585ee839d268013d8.jpg","text":"TemporaryFile(/tmp/multipartBody2333381565520263787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718692489,"filename":"image_12012025_22_50_03_267231_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503862","file1":"1328503860","file0":"1328503859","file3":"1328503864"},"map_files_photo_id_array":[{"photo_id":"1328503862","filename":"file2"},{"photo_id":"1328503860","filename":"file1"},{"photo_id":"1328503859","filename":"file0"},{"photo_id":"1328503864","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503860":["hashtag1","hashtag2"]},{"1328503862":["hashtag1","hashtag2"]},{"1328503859":["hashtag1","hashtag2"]},{"1328503864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503860, 1328503862, 1328503859, 1328503864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.692594051361084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:51:22.169258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0003.jpg', '/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0000.jpg', '/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0001.jpg', '/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/50/image_12012025_22_50_03_267231_0003.jpg
/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0000.jpg
/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0001.jpg
/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503872","1328503869","1328503874","1328503870"],"photo_ids_order":["1328503869","1328503870","1328503872","1328503874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a955f79e68cc9dc4033af1b682bad405.jpg","text":"TemporaryFile(/tmp/multipartBody3241604381507590210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718752395,"filename":"image_12012025_22_51_02_441696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9190d73e538f222d43ee2cf990805c56.jpg","text":"TemporaryFile(/tmp/multipartBody6323148688423315985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718752395,"filename":"image_12012025_22_50_03_267231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c7be74bdab8227411088fb173f2262e0.jpg","text":"TemporaryFile(/tmp/multipartBody4938654705528414420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718752395,"filename":"image_12012025_22_51_02_441696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a02422eb35203c4f4e9a8fa1365e0f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3868105261690687724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718752395,"filename":"image_12012025_22_51_02_441696_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503872","file1":"1328503870","file0":"1328503869","file3":"1328503874"},"map_files_photo_id_array":[{"photo_id":"1328503872","filename":"file2"},{"photo_id":"1328503870","filename":"file1"},{"photo_id":"1328503869","filename":"file0"},{"photo_id":"1328503874","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503872":["hashtag1","hashtag2"]},{"1328503869":["hashtag1","hashtag2"]},{"1328503874":["hashtag1","hashtag2"]},{"1328503870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503872, 1328503869, 1328503874, 1328503870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.62521266937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:52:22.392219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0003.jpg', '/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0000.jpg', '/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0001.jpg', '/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/51/image_12012025_22_51_02_441696_0003.jpg
/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0000.jpg
/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0001.jpg
/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328503880","1328503882","1328503879","1328503884"],"photo_ids_order":["1328503879","1328503880","1328503882","1328503884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a69f1cbe203b7289b14264774ae926bb.jpg","text":"TemporaryFile(/tmp/multipartBody1468707651006289870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718812699,"filename":"image_12012025_22_52_02_573755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/310caecd70e6f06ee78091f10bd24e9d.jpg","text":"TemporaryFile(/tmp/multipartBody8020924266698876655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718812699,"filename":"image_12012025_22_52_02_573755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6be4168022b4c25a71c1d2f6916a6a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2712298707315863251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718812699,"filename":"image_12012025_22_51_02_441696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d86ca493700e545846cf4e96b7be9385.jpg","text":"TemporaryFile(/tmp/multipartBody5001566907486641171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718812699,"filename":"image_12012025_22_52_02_573755_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328503882","file1":"1328503880","file0":"1328503879","file3":"1328503884"},"map_files_photo_id_array":[{"photo_id":"1328503882","filename":"file2"},{"photo_id":"1328503880","filename":"file1"},{"photo_id":"1328503879","filename":"file0"},{"photo_id":"1328503884","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328503880":["hashtag1","hashtag2"]},{"1328503882":["hashtag1","hashtag2"]},{"1328503879":["hashtag1","hashtag2"]},{"1328503884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328503880, 1328503882, 1328503879, 1328503884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.56861591339111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:53:22.626822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0003.jpg', '/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0000.jpg', '/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0001.jpg', '/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/52/image_12012025_22_52_02_573755_0003.jpg
/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0000.jpg
/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0001.jpg
/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328505293","1328505224","1328505151","1328505112"],"photo_ids_order":["1328505112","1328505151","1328505224","1328505293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c14a89d3b53ea04056abcc306de072b.jpg","text":"TemporaryFile(/tmp/multipartBody1641523908432329072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718872973,"filename":"image_12012025_22_53_02_785692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4bd0175b555afca0978381f0db7c595d.jpg","text":"TemporaryFile(/tmp/multipartBody4368108257164855777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718872973,"filename":"image_12012025_22_53_02_785692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2a8e4c082104c55abfcd0045b9bce1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4364513297021079487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718872973,"filename":"image_12012025_22_53_02_785692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fd7bca6da1cd46dea9788327c2a88863.jpg","text":"TemporaryFile(/tmp/multipartBody2112641229682572015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718872973,"filename":"image_12012025_22_52_02_573755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328505224","file1":"1328505151","file0":"1328505112","file3":"1328505293"},"map_files_photo_id_array":[{"photo_id":"1328505224","filename":"file2"},{"photo_id":"1328505151","filename":"file1"},{"photo_id":"1328505112","filename":"file0"},{"photo_id":"1328505293","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328505293":["hashtag1","hashtag2"]},{"1328505224":["hashtag1","hashtag2"]},{"1328505151":["hashtag1","hashtag2"]},{"1328505112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328505293, 1328505224, 1328505151, 1328505112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.546834230422974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:54:02.273494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:54:21.900668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0003.jpg', '/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0000.jpg', '/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0001.jpg', '/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0003.jpg
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0000.jpg
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0001.jpg
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_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.868600845336914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 22:54:41.809726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0003.jpg', '/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0000.jpg', '/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0001.jpg', '/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/53/image_12012025_22_53_02_785692_0003.jpg
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0000.jpg
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0001.jpg
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_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":["1328506576","1328506573","1328506572","1328506574"],"photo_ids_order":["1328506572","1328506573","1328506574","1328506576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47b98e74c714aff8c236c9675564cedd.jpg","text":"TemporaryFile(/tmp/multipartBody1420766363327543519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718952071,"filename":"image_12012025_22_54_02_932190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0520bdc422b00881d2a81793bf357868.jpg","text":"TemporaryFile(/tmp/multipartBody989910738363606917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718952071,"filename":"image_12012025_22_54_02_932190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/08255c775dfceca84482ac79551e9f9e.jpg","text":"TemporaryFile(/tmp/multipartBody7232298003231896270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718952071,"filename":"image_12012025_22_53_02_785692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc904a98403d2c07ace947349ec747c1.jpg","text":"TemporaryFile(/tmp/multipartBody4834147293499189557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718952071,"filename":"image_12012025_22_54_02_932190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328506574","file1":"1328506573","file0":"1328506572","file3":"1328506576"},"map_files_photo_id_array":[{"photo_id":"1328506574","filename":"file2"},{"photo_id":"1328506573","filename":"file1"},{"photo_id":"1328506572","filename":"file0"},{"photo_id":"1328506576","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328506576":["hashtag1","hashtag2"]},{"1328506573":["hashtag1","hashtag2"]},{"1328506572":["hashtag1","hashtag2"]},{"1328506574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328506576, 1328506573, 1328506572, 1328506574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.371758460998535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:55:22.001756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0003.jpg', '/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0000.jpg', '/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0001.jpg', '/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/54/image_12012025_22_54_02_932190_0003.jpg
/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0000.jpg
/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0001.jpg
/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328506828","1328506833","1328506650","1328506775"],"photo_ids_order":["1328506650","1328506775","1328506828","1328506833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/722d6053e4f01cd2421435d2a4af32a9.jpg","text":"TemporaryFile(/tmp/multipartBody5082236577609821617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718992238,"filename":"image_12012025_22_55_02_130672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c84e57df3e8b03fd8a04d69feada7e11.jpg","text":"TemporaryFile(/tmp/multipartBody6659435722852012160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718992238,"filename":"image_12012025_22_55_02_130672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1ed64324f020558043bc04f34bfb2b52.jpg","text":"TemporaryFile(/tmp/multipartBody2228409006965141828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718992238,"filename":"image_12012025_22_54_02_932190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b9be2115a5bc33c7ebf1f3e8c378f76.jpg","text":"TemporaryFile(/tmp/multipartBody5060065406918305609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736718992238,"filename":"image_12012025_22_55_02_130672_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328506828","file1":"1328506775","file0":"1328506650","file3":"1328506833"},"map_files_photo_id_array":[{"photo_id":"1328506828","filename":"file2"},{"photo_id":"1328506775","filename":"file1"},{"photo_id":"1328506650","filename":"file0"},{"photo_id":"1328506833","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328506828":["hashtag1","hashtag2"]},{"1328506833":["hashtag1","hashtag2"]},{"1328506650":["hashtag1","hashtag2"]},{"1328506775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328506828, 1328506833, 1328506650, 1328506775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03629684448242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 22:56:02.536963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:56:22.032277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0003.jpg', '/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0000.jpg', '/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0001.jpg', '/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/55/image_12012025_22_55_02_130672_0003.jpg
/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0000.jpg
/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0001.jpg
/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328506934","1328506936","1328506935","1328506938"],"photo_ids_order":["1328506934","1328506935","1328506936","1328506938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6895d17355bdeceeaf9187c7e6272d31.jpg","text":"TemporaryFile(/tmp/multipartBody4463038448124847790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719052411,"filename":"image_12012025_22_55_02_130672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bc2f932df6158e0b0be3cd7a1d887c02.jpg","text":"TemporaryFile(/tmp/multipartBody4818130604120964966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719052411,"filename":"image_12012025_22_56_02_328581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/46e705e62423c07226feb0c429c211d8.jpg","text":"TemporaryFile(/tmp/multipartBody7160643540545403711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719052411,"filename":"image_12012025_22_56_02_328581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9acdfabe18bc9d9587155277e652cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody775797255191999943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719052411,"filename":"image_12012025_22_56_02_328581_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328506936","file1":"1328506935","file0":"1328506934","file3":"1328506938"},"map_files_photo_id_array":[{"photo_id":"1328506936","filename":"file2"},{"photo_id":"1328506935","filename":"file1"},{"photo_id":"1328506934","filename":"file0"},{"photo_id":"1328506938","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328506934":["hashtag1","hashtag2"]},{"1328506936":["hashtag1","hashtag2"]},{"1328506935":["hashtag1","hashtag2"]},{"1328506938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328506934, 1328506936, 1328506935, 1328506938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93899488449097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 22:57:22.294679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0003.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0000.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0001.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0003.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0000.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0001.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_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-12 22:59:03.254435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0003.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0000.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0001.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0002.jpg', '/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0003.jpg', '/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/56/image_12012025_22_56_02_328581_0003.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0000.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0001.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0002.jpg
/home/pi/Desktop/images/12012025/22/57/image_12012025_22_57_02_408745_0003.jpg
/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_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":["1328506978","1328506977","1328506971","1328506974","1328506968","1328506979"],"photo_ids_order":["1328506968","1328506971","1328506974","1328506977","1328506978","1328506979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf5adf0dbe9f5b4770bf93fb12740199.jpg","text":"TemporaryFile(/tmp/multipartBody3445268097943127663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719218255,"filename":"image_12012025_22_57_02_408745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/28d44f33681eb8c3804fab608df542e1.jpg","text":"TemporaryFile(/tmp/multipartBody9042093824078935171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719218255,"filename":"image_12012025_22_57_02_408745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/faaacef2c41595207c44036c46600f14.jpg","text":"TemporaryFile(/tmp/multipartBody237237776733093800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719218255,"filename":"image_12012025_22_57_02_408745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa375529325595b58979384a320367c4.jpg","text":"TemporaryFile(/tmp/multipartBody8951057349294726745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719218255,"filename":"image_12012025_22_57_02_408745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d54a269e499b687fa020c7bf972017b3.jpg","text":"TemporaryFile(/tmp/multipartBody6845636673729440586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719218255,"filename":"image_12012025_22_56_02_328581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c6dd7339dd94fb8d9f35c4af1638f18.jpg","text":"TemporaryFile(/tmp/multipartBody1242279648634135555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719218255,"filename":"image_12012025_22_58_02_618538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328506974","file1":"1328506971","file0":"1328506968","file4":"1328506978","file5":"1328506979","file3":"1328506977"},"map_files_photo_id_array":[{"photo_id":"1328506979","filename":"file5"},{"photo_id":"1328506974","filename":"file2"},{"photo_id":"1328506978","filename":"file4"},{"photo_id":"1328506971","filename":"file1"},{"photo_id":"1328506968","filename":"file0"},{"photo_id":"1328506977","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328506978":["hashtag1","hashtag2"]},{"1328506977":["hashtag1","hashtag2"]},{"1328506971":["hashtag1","hashtag2"]},{"1328506974":["hashtag1","hashtag2"]},{"1328506968":["hashtag1","hashtag2"]},{"1328506979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328506978, 1328506977, 1328506971, 1328506974, 1328506968, 1328506979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.41853380203247 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:00:03.299137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0001.jpg', '/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0002.jpg', '/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0003.jpg', '/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0000.jpg', '/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0001.jpg', '/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0001.jpg
/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0002.jpg
/home/pi/Desktop/images/12012025/22/58/image_12012025_22_58_02_618538_0003.jpg
/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0000.jpg
/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0001.jpg
/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328507674","1328507662","1328507664","1328507669","1328507672","1328507666"],"photo_ids_order":["1328507662","1328507664","1328507666","1328507669","1328507672","1328507674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/39ce882b0c230dd716a98265917d480e.jpg","text":"TemporaryFile(/tmp/multipartBody7430053238670490174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719278502,"filename":"image_12012025_22_59_02_810582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/86f7af2416de27f6fb29ee47e2e9eb55.jpg","text":"TemporaryFile(/tmp/multipartBody2127701782854927679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719278502,"filename":"image_12012025_22_58_02_618538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5e5ade0ac7aab30ac7943c360830b04c.jpg","text":"TemporaryFile(/tmp/multipartBody7100523223059839897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719278502,"filename":"image_12012025_22_58_02_618538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e412f056100c0d2c232738acb5be434.jpg","text":"TemporaryFile(/tmp/multipartBody1237523377559195133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719278502,"filename":"image_12012025_22_59_02_810582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f4fc723b0a82e16e8e5db37f14fb6ad0.jpg","text":"TemporaryFile(/tmp/multipartBody6588352493970351285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719278502,"filename":"image_12012025_22_59_02_810582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4d39a93630e74b85ef69740f6fff8ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5144615012944891595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719278502,"filename":"image_12012025_22_58_02_618538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328507666","file1":"1328507664","file0":"1328507662","file4":"1328507672","file5":"1328507674","file3":"1328507669"},"map_files_photo_id_array":[{"photo_id":"1328507674","filename":"file5"},{"photo_id":"1328507666","filename":"file2"},{"photo_id":"1328507672","filename":"file4"},{"photo_id":"1328507664","filename":"file1"},{"photo_id":"1328507662","filename":"file0"},{"photo_id":"1328507669","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328507674":["hashtag1","hashtag2"]},{"1328507662":["hashtag1","hashtag2"]},{"1328507664":["hashtag1","hashtag2"]},{"1328507669":["hashtag1","hashtag2"]},{"1328507672":["hashtag1","hashtag2"]},{"1328507666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328507674, 1328507662, 1328507664, 1328507669, 1328507672, 1328507666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76642870903015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:01:02.571168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0003.jpg', '/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0000.jpg', '/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0001.jpg', '/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/22/59/image_12012025_22_59_02_810582_0003.jpg
/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0000.jpg
/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0001.jpg
/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328508808","1328508924","1328509331","1328509109"],"photo_ids_order":["1328508808","1328508924","1328509109","1328509331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11edc9b056ae8f7942d61744ed2d9a64.jpg","text":"TemporaryFile(/tmp/multipartBody8561017743791378835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719332917,"filename":"image_12012025_22_59_02_810582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/07dc503a49c3c0bc82370c2eb01ac5c9.jpg","text":"TemporaryFile(/tmp/multipartBody3504947807417929605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719332917,"filename":"image_12012025_23_00_02_986579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b111cb0ccf6f90d889148bd4074217de.jpg","text":"TemporaryFile(/tmp/multipartBody9086863513582247240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719332917,"filename":"image_12012025_23_00_02_986579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/de463ca34c2c7c87aa3df0ad7ec31cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4885483861994819174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719332917,"filename":"image_12012025_23_00_02_986579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328509109","file1":"1328508924","file0":"1328508808","file3":"1328509331"},"map_files_photo_id_array":[{"photo_id":"1328509109","filename":"file2"},{"photo_id":"1328508924","filename":"file1"},{"photo_id":"1328508808","filename":"file0"},{"photo_id":"1328509331","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328508808":["hashtag1","hashtag2"]},{"1328508924":["hashtag1","hashtag2"]},{"1328509331":["hashtag1","hashtag2"]},{"1328509109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328508808, 1328508924, 1328509331, 1328509109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99630403518677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:01:51.912844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0003.jpg', '/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0000.jpg', '/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0001.jpg', '/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/00/image_12012025_23_00_02_986579_0003.jpg
/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0000.jpg
/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0001.jpg
/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_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":["1328509475","1328509480","1328509483","1328509477"],"photo_ids_order":["1328509475","1328509477","1328509480","1328509483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d58285595fa5a12c5eabe06c77311ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8583956938812348620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719382313,"filename":"image_12012025_23_00_02_986579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1b496282ee67f3e7586420b72cdbbc08.jpg","text":"TemporaryFile(/tmp/multipartBody4641484162265495026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719382313,"filename":"image_12012025_23_01_03_183954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aabc32089bd6a258ff3827ce46531368.jpg","text":"TemporaryFile(/tmp/multipartBody2917564213323220820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719382313,"filename":"image_12012025_23_01_03_183954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2dfebb4986caa7f6c6be49fe56ad3da3.jpg","text":"TemporaryFile(/tmp/multipartBody6740888882130461752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719382313,"filename":"image_12012025_23_01_03_183954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328509480","file1":"1328509477","file0":"1328509475","file3":"1328509483"},"map_files_photo_id_array":[{"photo_id":"1328509480","filename":"file2"},{"photo_id":"1328509477","filename":"file1"},{"photo_id":"1328509475","filename":"file0"},{"photo_id":"1328509483","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328509475":["hashtag1","hashtag2"]},{"1328509480":["hashtag1","hashtag2"]},{"1328509483":["hashtag1","hashtag2"]},{"1328509477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328509475, 1328509480, 1328509483, 1328509477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28445482254028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:02:32.139254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0003.jpg', '/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0000.jpg', '/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0001.jpg', '/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/01/image_12012025_23_01_03_183954_0003.jpg
/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0000.jpg
/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0001.jpg
/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328509755","1328509710","1328509757","1328509735"],"photo_ids_order":["1328509710","1328509735","1328509755","1328509757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/513b88f71c3339d3b85157380dabc8fb.jpg","text":"TemporaryFile(/tmp/multipartBody3097528893102982233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719422596,"filename":"image_12012025_23_02_02_313312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f2b6907412a95a133caff93b5f889117.jpg","text":"TemporaryFile(/tmp/multipartBody5208601569300212847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719422596,"filename":"image_12012025_23_01_03_183954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8c245294a2049fd494c237c3e717ef4e.jpg","text":"TemporaryFile(/tmp/multipartBody8157280286815935453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719422596,"filename":"image_12012025_23_02_02_313312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bce1b808ca6d022117fe86c0fd5c3ced.jpg","text":"TemporaryFile(/tmp/multipartBody2152025928755581635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719422596,"filename":"image_12012025_23_02_02_313312_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328509755","file1":"1328509735","file0":"1328509710","file3":"1328509757"},"map_files_photo_id_array":[{"photo_id":"1328509755","filename":"file2"},{"photo_id":"1328509735","filename":"file1"},{"photo_id":"1328509710","filename":"file0"},{"photo_id":"1328509757","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328509755":["hashtag1","hashtag2"]},{"1328509710":["hashtag1","hashtag2"]},{"1328509757":["hashtag1","hashtag2"]},{"1328509735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328509755, 1328509710, 1328509757, 1328509735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.018322467803955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:03:22.353672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0003.jpg', '/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0000.jpg', '/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0001.jpg', '/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/02/image_12012025_23_02_02_313312_0003.jpg
/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0000.jpg
/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0001.jpg
/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328510496","1328510492","1328510491","1328510494"],"photo_ids_order":["1328510491","1328510492","1328510494","1328510496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/052d7d39c6285f35e0b4f063451955f3.jpg","text":"TemporaryFile(/tmp/multipartBody8098589628340104010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719472813,"filename":"image_12012025_23_03_02_538463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7adae00b7f6d8f491706f9f0f743a998.jpg","text":"TemporaryFile(/tmp/multipartBody3120303090069677224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719472813,"filename":"image_12012025_23_03_02_538463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cfcc1bc9c4999285dbf7cbd3747985b4.jpg","text":"TemporaryFile(/tmp/multipartBody5687584547980168734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719472813,"filename":"image_12012025_23_02_02_313312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f28fd132b7b3c0641cbc0f718dfbc424.jpg","text":"TemporaryFile(/tmp/multipartBody1654622870237280398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719472813,"filename":"image_12012025_23_03_02_538463_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328510494","file1":"1328510492","file0":"1328510491","file3":"1328510496"},"map_files_photo_id_array":[{"photo_id":"1328510494","filename":"file2"},{"photo_id":"1328510492","filename":"file1"},{"photo_id":"1328510491","filename":"file0"},{"photo_id":"1328510496","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328510496":["hashtag1","hashtag2"]},{"1328510492":["hashtag1","hashtag2"]},{"1328510491":["hashtag1","hashtag2"]},{"1328510494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328510496, 1328510492, 1328510491, 1328510494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.300556659698486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:04:02.929160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:04:22.574872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0003.jpg', '/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0000.jpg', '/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0001.jpg', '/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/03/image_12012025_23_03_02_538463_0003.jpg
/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0000.jpg
/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0001.jpg
/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328510954","1328511043","1328510854","1328510737"],"photo_ids_order":["1328510737","1328510854","1328510954","1328511043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11f957d9e6326a8a75e689d8a0e2c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody3499492163523679318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719533012,"filename":"image_12012025_23_04_02_759642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8d4d28b2b315ec04ae3472813face8f5.jpg","text":"TemporaryFile(/tmp/multipartBody2784444397988860291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719533012,"filename":"image_12012025_23_04_02_759642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4ed569d826eb0bf8e5387bd72ddad1b0.jpg","text":"TemporaryFile(/tmp/multipartBody8355186688198422469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719533012,"filename":"image_12012025_23_04_02_759642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f96f0f25bbcc870baf6e3036de9e948.jpg","text":"TemporaryFile(/tmp/multipartBody586989163890997508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719533012,"filename":"image_12012025_23_03_02_538463_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328510954","file1":"1328510854","file0":"1328510737","file3":"1328511043"},"map_files_photo_id_array":[{"photo_id":"1328510954","filename":"file2"},{"photo_id":"1328510854","filename":"file1"},{"photo_id":"1328510737","filename":"file0"},{"photo_id":"1328511043","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328510954":["hashtag1","hashtag2"]},{"1328511043":["hashtag1","hashtag2"]},{"1328510854":["hashtag1","hashtag2"]},{"1328510737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328510954, 1328511043, 1328510854, 1328510737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.21235227584839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:05:22.724417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0003.jpg', '/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0000.jpg', '/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0001.jpg', '/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/04/image_12012025_23_04_02_759642_0003.jpg
/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0000.jpg
/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0001.jpg
/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511324","1328511326","1328511322","1328511325"],"photo_ids_order":["1328511322","1328511324","1328511325","1328511326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/73f0f80c4c88bf3bc5bdadbf841e6b10.jpg","text":"TemporaryFile(/tmp/multipartBody6365652033913154744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719592936,"filename":"image_12012025_23_05_02_927392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4c93eb344511007019ad08020a19ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7717580273504055033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719592936,"filename":"image_12012025_23_05_02_927392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6898867cad1a256871bac967b7976c44.jpg","text":"TemporaryFile(/tmp/multipartBody3298724997751405981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719592936,"filename":"image_12012025_23_04_02_759642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7acc8507fcbde9faeeabce1a6eca375f.jpg","text":"TemporaryFile(/tmp/multipartBody355885922438903741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719592936,"filename":"image_12012025_23_05_02_927392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511325","file1":"1328511324","file0":"1328511322","file3":"1328511326"},"map_files_photo_id_array":[{"photo_id":"1328511325","filename":"file2"},{"photo_id":"1328511324","filename":"file1"},{"photo_id":"1328511322","filename":"file0"},{"photo_id":"1328511326","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511324":["hashtag1","hashtag2"]},{"1328511326":["hashtag1","hashtag2"]},{"1328511322":["hashtag1","hashtag2"]},{"1328511325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511324, 1328511326, 1328511322, 1328511325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03341460227966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:06:21.986345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0003.jpg', '/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0000.jpg', '/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0001.jpg', '/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0003.jpg
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0000.jpg
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0001.jpg
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_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.927572965621948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:06:41.871184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0003.jpg', '/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0000.jpg', '/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0001.jpg', '/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/05/image_12012025_23_05_02_927392_0003.jpg
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0000.jpg
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0001.jpg
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511692","1328511694","1328511693","1328511696"],"photo_ids_order":["1328511692","1328511693","1328511694","1328511696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12836dcf3f84efa4b0fd32fcff52f84d.jpg","text":"TemporaryFile(/tmp/multipartBody6907567579968024144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719672198,"filename":"image_12012025_23_05_02_927392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4971ea0f83f263487f2d8486f8a00d09.jpg","text":"TemporaryFile(/tmp/multipartBody7485943195724244358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719672198,"filename":"image_12012025_23_06_03_074853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b2c0b23102861a48b746f6d7e2a1c3f0.jpg","text":"TemporaryFile(/tmp/multipartBody393701115916118908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719672198,"filename":"image_12012025_23_06_03_074853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/95d17aecdd2d19e725ed240d9b44d424.jpg","text":"TemporaryFile(/tmp/multipartBody9081430697202948076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719672198,"filename":"image_12012025_23_06_03_074853_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511694","file1":"1328511693","file0":"1328511692","file3":"1328511696"},"map_files_photo_id_array":[{"photo_id":"1328511694","filename":"file2"},{"photo_id":"1328511693","filename":"file1"},{"photo_id":"1328511692","filename":"file0"},{"photo_id":"1328511696","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511692":["hashtag1","hashtag2"]},{"1328511694":["hashtag1","hashtag2"]},{"1328511693":["hashtag1","hashtag2"]},{"1328511696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511692, 1328511694, 1328511693, 1328511696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.87113165855408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:07:32.034928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0003.jpg', '/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0000.jpg', '/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0001.jpg', '/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/06/image_12012025_23_06_03_074853_0003.jpg
/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0000.jpg
/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0001.jpg
/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511705","1328511702","1328511704","1328511703"],"photo_ids_order":["1328511702","1328511703","1328511704","1328511705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2f6ff2908b80474973f305b0f0a07900.jpg","text":"TemporaryFile(/tmp/multipartBody3411981150344335020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719722328,"filename":"image_12012025_23_07_02_228019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b33215762914de4dd4e6332e2cf8c9cd.jpg","text":"TemporaryFile(/tmp/multipartBody1874395996340384958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719722328,"filename":"image_12012025_23_06_03_074853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c6e89a81613547581cfffd9ba61fe67.jpg","text":"TemporaryFile(/tmp/multipartBody6960561405270924893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719722328,"filename":"image_12012025_23_07_02_228019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/92cb6a44ce85b3c58ba7c1411105141a.jpg","text":"TemporaryFile(/tmp/multipartBody2024950101485609643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719722328,"filename":"image_12012025_23_07_02_228019_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511704","file1":"1328511703","file0":"1328511702","file3":"1328511705"},"map_files_photo_id_array":[{"photo_id":"1328511704","filename":"file2"},{"photo_id":"1328511703","filename":"file1"},{"photo_id":"1328511702","filename":"file0"},{"photo_id":"1328511705","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511705":["hashtag1","hashtag2"]},{"1328511702":["hashtag1","hashtag2"]},{"1328511704":["hashtag1","hashtag2"]},{"1328511703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511705, 1328511702, 1328511704, 1328511703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49124765396118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:08:22.238132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0003.jpg', '/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0000.jpg', '/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0001.jpg', '/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/07/image_12012025_23_07_02_228019_0003.jpg
/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0000.jpg
/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0001.jpg
/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511711","1328511713","1328511712","1328511715"],"photo_ids_order":["1328511711","1328511712","1328511713","1328511715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8554d80670191642c35bdec1f214e0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7171180382513950154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719772506,"filename":"image_12012025_23_07_02_228019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc0b888fc4f64486aeaaf94e98f945cc.jpg","text":"TemporaryFile(/tmp/multipartBody1712182282434056392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719772506,"filename":"image_12012025_23_08_02_419260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63be8eca653e0063004d495bd72937be.jpg","text":"TemporaryFile(/tmp/multipartBody8585718377650968750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719772506,"filename":"image_12012025_23_08_02_419260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/90d2e907f8b06156a0424b6c9affee04.jpg","text":"TemporaryFile(/tmp/multipartBody2701502353415886006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719772506,"filename":"image_12012025_23_08_02_419260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511713","file1":"1328511712","file0":"1328511711","file3":"1328511715"},"map_files_photo_id_array":[{"photo_id":"1328511713","filename":"file2"},{"photo_id":"1328511712","filename":"file1"},{"photo_id":"1328511711","filename":"file0"},{"photo_id":"1328511715","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511711":["hashtag1","hashtag2"]},{"1328511713":["hashtag1","hashtag2"]},{"1328511712":["hashtag1","hashtag2"]},{"1328511715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511711, 1328511713, 1328511712, 1328511715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52759623527527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:09:03.025170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:09:22.364476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0003.jpg', '/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0000.jpg', '/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0001.jpg', '/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/08/image_12012025_23_08_02_419260_0003.jpg
/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0000.jpg
/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0001.jpg
/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511722","1328511725","1328511721","1328511724"],"photo_ids_order":["1328511721","1328511722","1328511724","1328511725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae8546dbddae29ef596ec32fa416f27e.jpg","text":"TemporaryFile(/tmp/multipartBody8690771593742622769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719832841,"filename":"image_12012025_23_09_02_578781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/303f77aef479f7bd7bd5d6011e44053c.jpg","text":"TemporaryFile(/tmp/multipartBody3254942911937369649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719832841,"filename":"image_12012025_23_09_02_578781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/65062b89368b7d59e105abd4e02715da.jpg","text":"TemporaryFile(/tmp/multipartBody2591194118211610979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719832841,"filename":"image_12012025_23_08_02_419260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/345dda0377f680c71713dbeb35a7467c.jpg","text":"TemporaryFile(/tmp/multipartBody6437430831208191596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719832841,"filename":"image_12012025_23_09_02_578781_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511724","file1":"1328511722","file0":"1328511721","file3":"1328511725"},"map_files_photo_id_array":[{"photo_id":"1328511724","filename":"file2"},{"photo_id":"1328511722","filename":"file1"},{"photo_id":"1328511721","filename":"file0"},{"photo_id":"1328511725","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511722":["hashtag1","hashtag2"]},{"1328511725":["hashtag1","hashtag2"]},{"1328511721":["hashtag1","hashtag2"]},{"1328511724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511722, 1328511725, 1328511721, 1328511724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.299036264419556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:10:22.564896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0003.jpg', '/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0000.jpg', '/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0001.jpg', '/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/09/image_12012025_23_09_02_578781_0003.jpg
/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0000.jpg
/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0001.jpg
/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511732","1328511731","1328511733","1328511736"],"photo_ids_order":["1328511731","1328511732","1328511733","1328511736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b990a4d6c41a120e388c0e3bafe14f73.jpg","text":"TemporaryFile(/tmp/multipartBody8157259610138508123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719892935,"filename":"image_12012025_23_10_02_780332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7997574632220408cbfb67202892cfc3.jpg","text":"TemporaryFile(/tmp/multipartBody4747276368671400024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719892935,"filename":"image_12012025_23_09_02_578781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f7ac9db93f8c5dd3b67bb0c04d23a6cd.jpg","text":"TemporaryFile(/tmp/multipartBody8503795928574128028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719892935,"filename":"image_12012025_23_10_02_780332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dfac101d7ea00ca0f030f6aa563c4f22.jpg","text":"TemporaryFile(/tmp/multipartBody4568401993720454201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719892935,"filename":"image_12012025_23_10_02_780332_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511733","file1":"1328511732","file0":"1328511731","file3":"1328511736"},"map_files_photo_id_array":[{"photo_id":"1328511733","filename":"file2"},{"photo_id":"1328511732","filename":"file1"},{"photo_id":"1328511731","filename":"file0"},{"photo_id":"1328511736","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511732":["hashtag1","hashtag2"]},{"1328511731":["hashtag1","hashtag2"]},{"1328511733":["hashtag1","hashtag2"]},{"1328511736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511732, 1328511731, 1328511733, 1328511736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.40957760810852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:11:22.718060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0003.jpg', '/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0000.jpg', '/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0001.jpg', '/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/10/image_12012025_23_10_02_780332_0003.jpg
/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0000.jpg
/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0001.jpg
/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328511747","1328511749","1328511745","1328511748"],"photo_ids_order":["1328511745","1328511747","1328511748","1328511749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6e2f7521ed776852589c4e223b67e0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3200439215198976607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719952920,"filename":"image_12012025_23_11_02_911767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a74d1c6853d2438353149636884cf21a.jpg","text":"TemporaryFile(/tmp/multipartBody7351549340425552093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719952920,"filename":"image_12012025_23_11_02_911767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/660654d74efdcb5c360fdda743bba8e5.jpg","text":"TemporaryFile(/tmp/multipartBody3899180816207379210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719952920,"filename":"image_12012025_23_10_02_780332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7b1504763706aae4e11ce564f7b31b85.jpg","text":"TemporaryFile(/tmp/multipartBody6229227654611308319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736719952920,"filename":"image_12012025_23_11_02_911767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328511748","file1":"1328511747","file0":"1328511745","file3":"1328511749"},"map_files_photo_id_array":[{"photo_id":"1328511748","filename":"file2"},{"photo_id":"1328511747","filename":"file1"},{"photo_id":"1328511745","filename":"file0"},{"photo_id":"1328511749","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328511747":["hashtag1","hashtag2"]},{"1328511749":["hashtag1","hashtag2"]},{"1328511745":["hashtag1","hashtag2"]},{"1328511748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328511747, 1328511749, 1328511745, 1328511748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.78081774711609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:12:21.923382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0003.jpg', '/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0000.jpg', '/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0001.jpg', '/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0003.jpg
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0000.jpg
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0001.jpg
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_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.837277173995972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:12:41.964155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0003.jpg', '/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0000.jpg', '/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0001.jpg', '/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/11/image_12012025_23_11_02_911767_0003.jpg
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0000.jpg
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0001.jpg
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328512532","1328512531","1328512534","1328512536"],"photo_ids_order":["1328512531","1328512532","1328512534","1328512536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f067163fa16a70907d8a66893d8a2252.jpg","text":"TemporaryFile(/tmp/multipartBody422019682185101402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720032207,"filename":"image_12012025_23_12_03_164904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b675f9981fa734a67ef50fb7aff01cf9.jpg","text":"TemporaryFile(/tmp/multipartBody4404812302261573129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720032207,"filename":"image_12012025_23_11_02_911767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0dc0b4b08072aa3f6125f341cc5d6258.jpg","text":"TemporaryFile(/tmp/multipartBody3866458089524929835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720032207,"filename":"image_12012025_23_12_03_164904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/950931586e64c56bd37213e16d6802d4.jpg","text":"TemporaryFile(/tmp/multipartBody4259748726547737703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720032207,"filename":"image_12012025_23_12_03_164904_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328512534","file1":"1328512532","file0":"1328512531","file3":"1328512536"},"map_files_photo_id_array":[{"photo_id":"1328512534","filename":"file2"},{"photo_id":"1328512532","filename":"file1"},{"photo_id":"1328512531","filename":"file0"},{"photo_id":"1328512536","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328512532":["hashtag1","hashtag2"]},{"1328512531":["hashtag1","hashtag2"]},{"1328512534":["hashtag1","hashtag2"]},{"1328512536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328512532, 1328512531, 1328512534, 1328512536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6530020236969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:13:32.110916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0003.jpg', '/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0000.jpg', '/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0001.jpg', '/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/12/image_12012025_23_12_03_164904_0003.jpg
/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0000.jpg
/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0001.jpg
/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328513435","1328513293","1328512686","1328512848"],"photo_ids_order":["1328512686","1328512848","1328513293","1328513435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/19d97b4892597b57bf29c70fc2fb730d.jpg","text":"TemporaryFile(/tmp/multipartBody3435851060284048162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720082412,"filename":"image_12012025_23_13_02_272332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/284343be72d3ace3f1b8aed13fb4f9ed.jpg","text":"TemporaryFile(/tmp/multipartBody2690565908830422348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720082412,"filename":"image_12012025_23_13_02_272332_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d84319091c36fa6d49c242bccfc41212.jpg","text":"TemporaryFile(/tmp/multipartBody3395717797049850403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720082412,"filename":"image_12012025_23_12_03_164904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f56ed484e578456d0ab03fa6aec324ac.jpg","text":"TemporaryFile(/tmp/multipartBody5528367181991753667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720082412,"filename":"image_12012025_23_13_02_272332_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328513293","file1":"1328512848","file0":"1328512686","file3":"1328513435"},"map_files_photo_id_array":[{"photo_id":"1328513293","filename":"file2"},{"photo_id":"1328512848","filename":"file1"},{"photo_id":"1328512686","filename":"file0"},{"photo_id":"1328513435","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328513435":["hashtag1","hashtag2"]},{"1328513293":["hashtag1","hashtag2"]},{"1328512686":["hashtag1","hashtag2"]},{"1328512848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328513435, 1328513293, 1328512686, 1328512848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49104189872742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:14:22.299204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0003.jpg', '/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0000.jpg', '/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0001.jpg', '/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/13/image_12012025_23_13_02_272332_0003.jpg
/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0000.jpg
/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0001.jpg
/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328514236","1328514238","1328514237","1328514239"],"photo_ids_order":["1328514236","1328514237","1328514238","1328514239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/15e1c54c5684f73f8167ed6c581f6fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2014426439356249024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720132650,"filename":"image_12012025_23_13_02_272332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8fbf9a841e30405b5f8f523eae986f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1409952313474156651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720132650,"filename":"image_12012025_23_14_02_462614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c2fc337368529efefea645e1742a033d.jpg","text":"TemporaryFile(/tmp/multipartBody2103128255767660173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720132650,"filename":"image_12012025_23_14_02_462614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8ea6882375ef37588926fe4ebe2d35c.jpg","text":"TemporaryFile(/tmp/multipartBody5323509679507257254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720132650,"filename":"image_12012025_23_14_02_462614_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328514238","file1":"1328514237","file0":"1328514236","file3":"1328514239"},"map_files_photo_id_array":[{"photo_id":"1328514238","filename":"file2"},{"photo_id":"1328514237","filename":"file1"},{"photo_id":"1328514236","filename":"file0"},{"photo_id":"1328514239","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328514236":["hashtag1","hashtag2"]},{"1328514238":["hashtag1","hashtag2"]},{"1328514237":["hashtag1","hashtag2"]},{"1328514239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328514236, 1328514238, 1328514237, 1328514239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24686360359192 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:15:22.424698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0003.jpg', '/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0000.jpg', '/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0001.jpg', '/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/14/image_12012025_23_14_02_462614_0003.jpg
/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0000.jpg
/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0001.jpg
/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328514394","1328514513","1328514287","1328514251"],"photo_ids_order":["1328514251","1328514287","1328514394","1328514513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e3ba6d758e164a3d4ab16aa70cfd82ff.jpg","text":"TemporaryFile(/tmp/multipartBody4184571967811047497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720192886,"filename":"image_12012025_23_15_02_722844_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9af7bae340bd18cea1f932f2779dbfc5.jpg","text":"TemporaryFile(/tmp/multipartBody7928904977987814941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720192886,"filename":"image_12012025_23_15_02_722844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ead9614674439e417f377d56a3273006.jpg","text":"TemporaryFile(/tmp/multipartBody8125418013698629520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720192886,"filename":"image_12012025_23_15_02_722844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7a050ecb9215a25ad79073cd7b4559d2.jpg","text":"TemporaryFile(/tmp/multipartBody3569745991130189697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720192886,"filename":"image_12012025_23_14_02_462614_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328514394","file1":"1328514287","file0":"1328514251","file3":"1328514513"},"map_files_photo_id_array":[{"photo_id":"1328514394","filename":"file2"},{"photo_id":"1328514287","filename":"file1"},{"photo_id":"1328514251","filename":"file0"},{"photo_id":"1328514513","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328514394":["hashtag1","hashtag2"]},{"1328514513":["hashtag1","hashtag2"]},{"1328514287":["hashtag1","hashtag2"]},{"1328514251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328514394, 1328514513, 1328514287, 1328514251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.770034074783325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:16:03.134118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:16:22.618165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0003.jpg', '/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0000.jpg', '/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0001.jpg', '/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/15/image_12012025_23_15_02_722844_0003.jpg
/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0000.jpg
/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0001.jpg
/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328514911","1328514877","1328514993","1328514878"],"photo_ids_order":["1328514877","1328514878","1328514911","1328514993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/827f7d6f7611c0176b0d1d4f3000191d.jpg","text":"TemporaryFile(/tmp/multipartBody1096322495112284517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720252940,"filename":"image_12012025_23_16_02_839990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47a6d75b77019f324a2c3ccf4fa1e269.jpg","text":"TemporaryFile(/tmp/multipartBody2012291872612962803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720252940,"filename":"image_12012025_23_15_02_722844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8808d6a0755cb4130b995f9dc605f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1944325460139126789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720252940,"filename":"image_12012025_23_16_02_839990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e6ac6ee2711b2f348860394186f26eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4901628197874949949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720252940,"filename":"image_12012025_23_16_02_839990_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328514911","file1":"1328514878","file0":"1328514877","file3":"1328514993"},"map_files_photo_id_array":[{"photo_id":"1328514911","filename":"file2"},{"photo_id":"1328514878","filename":"file1"},{"photo_id":"1328514877","filename":"file0"},{"photo_id":"1328514993","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328514911":["hashtag1","hashtag2"]},{"1328514877":["hashtag1","hashtag2"]},{"1328514993":["hashtag1","hashtag2"]},{"1328514878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328514911, 1328514877, 1328514993, 1328514878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88552188873291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:17:03.389630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:17:22.667799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0003.jpg', '/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0000.jpg', '/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0001.jpg', '/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/16/image_12012025_23_16_02_839990_0003.jpg
/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0000.jpg
/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0001.jpg
/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328515030","1328515029","1328515025","1328515028"],"photo_ids_order":["1328515025","1328515028","1328515029","1328515030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/38b511ac83563806a1791aefeb394c96.jpg","text":"TemporaryFile(/tmp/multipartBody2405791683844549218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720313227,"filename":"image_12012025_23_17_02_895535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/918efe8eaf179b5ac3ff62877010ea95.jpg","text":"TemporaryFile(/tmp/multipartBody6378758385971101813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720313227,"filename":"image_12012025_23_17_02_895535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9ee72d4d5183b617333bd06894fc49f4.jpg","text":"TemporaryFile(/tmp/multipartBody7811903743419105278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720313227,"filename":"image_12012025_23_16_02_839990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ce3087e20841c383526ae956e9d1456.jpg","text":"TemporaryFile(/tmp/multipartBody6342377201024198637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720313227,"filename":"image_12012025_23_17_02_895535_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328515029","file1":"1328515028","file0":"1328515025","file3":"1328515030"},"map_files_photo_id_array":[{"photo_id":"1328515029","filename":"file2"},{"photo_id":"1328515028","filename":"file1"},{"photo_id":"1328515025","filename":"file0"},{"photo_id":"1328515030","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328515030":["hashtag1","hashtag2"]},{"1328515029":["hashtag1","hashtag2"]},{"1328515025":["hashtag1","hashtag2"]},{"1328515028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328515030, 1328515029, 1328515025, 1328515028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.47375679016113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:18:21.943226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0003.jpg', '/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0000.jpg', '/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0001.jpg', '/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0003.jpg
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0000.jpg
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0001.jpg
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_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.868472814559937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:18:41.951875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0003.jpg', '/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0000.jpg', '/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0001.jpg', '/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/17/image_12012025_23_17_02_895535_0003.jpg
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0000.jpg
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0001.jpg
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_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":["1328515061","1328515934","1328515040","1328515456"],"photo_ids_order":["1328515040","1328515061","1328515456","1328515934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58ad6359af69b0d66f1b94df97a4c393.jpg","text":"TemporaryFile(/tmp/multipartBody1820399113774204679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720392238,"filename":"image_12012025_23_18_03_035254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63c0562285fb258aed2112d9574b7a22.jpg","text":"TemporaryFile(/tmp/multipartBody7187311903246257629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720392238,"filename":"image_12012025_23_18_03_035254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8b8062a8b914ba9c0e262f322ca8d333.jpg","text":"TemporaryFile(/tmp/multipartBody760344906885666975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720392238,"filename":"image_12012025_23_17_02_895535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d748606d505d8f317d691f63fadf40a.jpg","text":"TemporaryFile(/tmp/multipartBody2178693385368860806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720392238,"filename":"image_12012025_23_18_03_035254_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328515456","file1":"1328515061","file0":"1328515040","file3":"1328515934"},"map_files_photo_id_array":[{"photo_id":"1328515456","filename":"file2"},{"photo_id":"1328515061","filename":"file1"},{"photo_id":"1328515040","filename":"file0"},{"photo_id":"1328515934","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328515061":["hashtag1","hashtag2"]},{"1328515934":["hashtag1","hashtag2"]},{"1328515040":["hashtag1","hashtag2"]},{"1328515456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328515061, 1328515934, 1328515040, 1328515456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77960777282715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:19:22.101122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0003.jpg', '/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0000.jpg', '/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0001.jpg', '/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/18/image_12012025_23_18_03_035254_0003.jpg
/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0000.jpg
/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0001.jpg
/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328516694","1328516673","1328516674","1328516821"],"photo_ids_order":["1328516673","1328516674","1328516694","1328516821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a3c9212741dba5db0380b0aa6ec5225b.jpg","text":"TemporaryFile(/tmp/multipartBody5579943336900926838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720432330,"filename":"image_12012025_23_19_02_288146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1643352d5ab86e8f2feed9951a48ce13.jpg","text":"TemporaryFile(/tmp/multipartBody1204377468386742134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720432330,"filename":"image_12012025_23_18_03_035254_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6168da84d26253a4bad2435b356e184f.jpg","text":"TemporaryFile(/tmp/multipartBody4990850616408000511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720432330,"filename":"image_12012025_23_19_02_288146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df385eb608dc1d77d0bc0578838eeb8e.jpg","text":"TemporaryFile(/tmp/multipartBody6420220571540837737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720432330,"filename":"image_12012025_23_19_02_288146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328516694","file1":"1328516674","file0":"1328516673","file3":"1328516821"},"map_files_photo_id_array":[{"photo_id":"1328516694","filename":"file2"},{"photo_id":"1328516674","filename":"file1"},{"photo_id":"1328516673","filename":"file0"},{"photo_id":"1328516821","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328516694":["hashtag1","hashtag2"]},{"1328516673":["hashtag1","hashtag2"]},{"1328516674":["hashtag1","hashtag2"]},{"1328516821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328516694, 1328516673, 1328516674, 1328516821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.889647483825684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:20:22.406551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0003.jpg', '/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0000.jpg', '/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0001.jpg', '/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/19/image_12012025_23_19_02_288146_0003.jpg
/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0000.jpg
/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0001.jpg
/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517179","1328517181","1328517178","1328517183"],"photo_ids_order":["1328517178","1328517179","1328517181","1328517183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a4d1d4c6d33edd7a10753c9e4d97498e.jpg","text":"TemporaryFile(/tmp/multipartBody6857602447931130103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720492897,"filename":"image_12012025_23_20_02_414336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6a2ba1c4aace5b83856290f97116c88b.jpg","text":"TemporaryFile(/tmp/multipartBody4122474576562190356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720492897,"filename":"image_12012025_23_20_02_414336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/777e77b3b1990953722c38fb8e459615.jpg","text":"TemporaryFile(/tmp/multipartBody6970502000123583832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720492897,"filename":"image_12012025_23_19_02_288146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba73424d941591b2e99e14601f23403c.jpg","text":"TemporaryFile(/tmp/multipartBody5598626823880033697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720492897,"filename":"image_12012025_23_20_02_414336_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517181","file1":"1328517179","file0":"1328517178","file3":"1328517183"},"map_files_photo_id_array":[{"photo_id":"1328517181","filename":"file2"},{"photo_id":"1328517179","filename":"file1"},{"photo_id":"1328517178","filename":"file0"},{"photo_id":"1328517183","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517179":["hashtag1","hashtag2"]},{"1328517181":["hashtag1","hashtag2"]},{"1328517178":["hashtag1","hashtag2"]},{"1328517183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517179, 1328517181, 1328517178, 1328517183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.119078636169434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:21:22.553653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0003.jpg', '/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0000.jpg', '/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0001.jpg', '/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/20/image_12012025_23_20_02_414336_0003.jpg
/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0000.jpg
/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0001.jpg
/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517189","1328517188","1328517191","1328517193"],"photo_ids_order":["1328517188","1328517189","1328517191","1328517193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f90027a742f179b272b87c00222aed12.jpg","text":"TemporaryFile(/tmp/multipartBody2985297842355342154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720552974,"filename":"image_12012025_23_21_02_731777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c8f755e64e34b8db6d997d5667036b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7143053219872603640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720552974,"filename":"image_12012025_23_20_02_414336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8934210c7d05f639d926a25d3c51684e.jpg","text":"TemporaryFile(/tmp/multipartBody8252853149968446530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720552974,"filename":"image_12012025_23_21_02_731777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b5390e3d1931fb2c3065d71202f41b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1379103353119468488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720552974,"filename":"image_12012025_23_21_02_731777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517191","file1":"1328517189","file0":"1328517188","file3":"1328517193"},"map_files_photo_id_array":[{"photo_id":"1328517191","filename":"file2"},{"photo_id":"1328517189","filename":"file1"},{"photo_id":"1328517188","filename":"file0"},{"photo_id":"1328517193","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517189":["hashtag1","hashtag2"]},{"1328517188":["hashtag1","hashtag2"]},{"1328517191":["hashtag1","hashtag2"]},{"1328517193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517189, 1328517188, 1328517191, 1328517193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68456053733826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:22:22.696307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0003.jpg', '/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0000.jpg', '/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0001.jpg', '/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/21/image_12012025_23_21_02_731777_0003.jpg
/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0000.jpg
/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0001.jpg
/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517200","1328517199","1328517203","1328517198"],"photo_ids_order":["1328517198","1328517199","1328517200","1328517203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18550a222194883b5501a20c8c1ac632.jpg","text":"TemporaryFile(/tmp/multipartBody5351442066176084364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720613088,"filename":"image_12012025_23_22_02_948450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/caebc8a9c373d73186f065e0f0bbd249.jpg","text":"TemporaryFile(/tmp/multipartBody8886088711855967485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720613088,"filename":"image_12012025_23_22_02_948450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/667155f2035bdd95566ea8710c0312cd.jpg","text":"TemporaryFile(/tmp/multipartBody4866577967140083351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720613088,"filename":"image_12012025_23_22_02_948450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04a53eb87542a407171bf1530c843727.jpg","text":"TemporaryFile(/tmp/multipartBody4004470125984504883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720613088,"filename":"image_12012025_23_21_02_731777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517200","file1":"1328517199","file0":"1328517198","file3":"1328517203"},"map_files_photo_id_array":[{"photo_id":"1328517200","filename":"file2"},{"photo_id":"1328517199","filename":"file1"},{"photo_id":"1328517198","filename":"file0"},{"photo_id":"1328517203","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517200":["hashtag1","hashtag2"]},{"1328517199":["hashtag1","hashtag2"]},{"1328517203":["hashtag1","hashtag2"]},{"1328517198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517200, 1328517199, 1328517203, 1328517198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22739839553833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:23:21.957048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0003.jpg', '/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0000.jpg', '/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0001.jpg', '/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/22/image_12012025_23_22_02_948450_0003.jpg
/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0000.jpg
/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0001.jpg
/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517216","1328517213","1328517215","1328517214"],"photo_ids_order":["1328517213","1328517214","1328517215","1328517216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/48f5ad2cd02c99413e8eea9b2bb6c482.jpg","text":"TemporaryFile(/tmp/multipartBody3001954569543710606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720672537,"filename":"image_12012025_23_23_03_039185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/293f22f18483a3ce7542b4f115b1f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3820365957376172879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720672537,"filename":"image_12012025_23_22_02_948450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e436b9c67b695aa8dbf545647b5cf5d0.jpg","text":"TemporaryFile(/tmp/multipartBody1586184611457962525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720672537,"filename":"image_12012025_23_23_03_039185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/63d7c39235e4b3d7cf39700514937c25.jpg","text":"TemporaryFile(/tmp/multipartBody6263455691909723882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720672537,"filename":"image_12012025_23_23_03_039185_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517215","file1":"1328517214","file0":"1328517213","file3":"1328517216"},"map_files_photo_id_array":[{"photo_id":"1328517215","filename":"file2"},{"photo_id":"1328517214","filename":"file1"},{"photo_id":"1328517213","filename":"file0"},{"photo_id":"1328517216","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517216":["hashtag1","hashtag2"]},{"1328517213":["hashtag1","hashtag2"]},{"1328517215":["hashtag1","hashtag2"]},{"1328517214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517216, 1328517213, 1328517215, 1328517214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17606019973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:24:02.403891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:24:22.026161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0003.jpg', '/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0000.jpg', '/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0001.jpg', '/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0003.jpg
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0000.jpg
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0001.jpg
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_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.031776189804077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:24:42.052081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0003.jpg', '/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0000.jpg', '/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0001.jpg', '/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/23/image_12012025_23_23_03_039185_0003.jpg
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0000.jpg
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0001.jpg
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517228","1328517230","1328517227","1328517226"],"photo_ids_order":["1328517226","1328517227","1328517228","1328517230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/47a25335e18491875b2aa84c36d4bd05.jpg","text":"TemporaryFile(/tmp/multipartBody6939220044895360562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720752483,"filename":"image_12012025_23_24_02_220786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e07491130e66be06695b0f0ae0f26e75.jpg","text":"TemporaryFile(/tmp/multipartBody356654814675172609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720752483,"filename":"image_12012025_23_24_02_220786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6bef2a840d304ff9c8b69be50ba4f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody4423355228927729511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720752483,"filename":"image_12012025_23_24_02_220786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5b0bf703898634debdffb6ff8d06c360.jpg","text":"TemporaryFile(/tmp/multipartBody321211229299821731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720752483,"filename":"image_12012025_23_23_03_039185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517228","file1":"1328517227","file0":"1328517226","file3":"1328517230"},"map_files_photo_id_array":[{"photo_id":"1328517228","filename":"file2"},{"photo_id":"1328517227","filename":"file1"},{"photo_id":"1328517226","filename":"file0"},{"photo_id":"1328517230","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517228":["hashtag1","hashtag2"]},{"1328517230":["hashtag1","hashtag2"]},{"1328517227":["hashtag1","hashtag2"]},{"1328517226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517228, 1328517230, 1328517227, 1328517226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08374857902527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:25:32.223928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0003.jpg', '/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0000.jpg', '/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0001.jpg', '/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/24/image_12012025_23_24_02_220786_0003.jpg
/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0000.jpg
/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0001.jpg
/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517237","1328517239","1328517236","1328517238"],"photo_ids_order":["1328517236","1328517237","1328517238","1328517239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/45e60a0ddee59a3586d74f12b6aeef1b.jpg","text":"TemporaryFile(/tmp/multipartBody9204203673532825923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720802616,"filename":"image_12012025_23_25_02_375609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5ad35f7d1944d5e8f11a96bcf920ebb7.jpg","text":"TemporaryFile(/tmp/multipartBody2011443536165875031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720802616,"filename":"image_12012025_23_25_02_375609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6da95ae8e2d23d3f77d67b5243007249.jpg","text":"TemporaryFile(/tmp/multipartBody4992904732107462443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720802616,"filename":"image_12012025_23_24_02_220786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/386d7d54c9d8a4a51fb67ae73528da6c.jpg","text":"TemporaryFile(/tmp/multipartBody3013480974911672847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720802616,"filename":"image_12012025_23_25_02_375609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517238","file1":"1328517237","file0":"1328517236","file3":"1328517239"},"map_files_photo_id_array":[{"photo_id":"1328517238","filename":"file2"},{"photo_id":"1328517237","filename":"file1"},{"photo_id":"1328517236","filename":"file0"},{"photo_id":"1328517239","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517237":["hashtag1","hashtag2"]},{"1328517239":["hashtag1","hashtag2"]},{"1328517236":["hashtag1","hashtag2"]},{"1328517238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517237, 1328517239, 1328517236, 1328517238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.91123604774475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:26:22.476700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0003.jpg', '/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0000.jpg', '/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0001.jpg', '/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/25/image_12012025_23_25_02_375609_0003.jpg
/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0000.jpg
/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0001.jpg
/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517246","1328517245","1328517248","1328517250"],"photo_ids_order":["1328517245","1328517246","1328517248","1328517250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc6152e7e7ddbf422b139e048b0f2d60.jpg","text":"TemporaryFile(/tmp/multipartBody6096883472350783628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720852830,"filename":"image_12012025_23_26_02_645501_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8175d4824f41d410b3bc768d42de2884.jpg","text":"TemporaryFile(/tmp/multipartBody7199183400588110687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720852830,"filename":"image_12012025_23_25_02_375609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6dae0506545d50fcc7476a31841e6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2447573244454704644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720852830,"filename":"image_12012025_23_26_02_645501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5785e2fb9f22a52e784d11639c3d9114.jpg","text":"TemporaryFile(/tmp/multipartBody5616434837010214757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720852830,"filename":"image_12012025_23_26_02_645501_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517248","file1":"1328517246","file0":"1328517245","file3":"1328517250"},"map_files_photo_id_array":[{"photo_id":"1328517248","filename":"file2"},{"photo_id":"1328517246","filename":"file1"},{"photo_id":"1328517245","filename":"file0"},{"photo_id":"1328517250","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517246":["hashtag1","hashtag2"]},{"1328517245":["hashtag1","hashtag2"]},{"1328517248":["hashtag1","hashtag2"]},{"1328517250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517246, 1328517245, 1328517248, 1328517250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.767051458358765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:27:03.226168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:27:22.640606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0003.jpg', '/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0000.jpg', '/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0001.jpg', '/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/26/image_12012025_23_26_02_645501_0003.jpg
/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0000.jpg
/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0001.jpg
/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328517255","1328517260","1328517256","1328517258"],"photo_ids_order":["1328517255","1328517256","1328517258","1328517260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/61cb34beb42724fb67c8466cfc09023d.jpg","text":"TemporaryFile(/tmp/multipartBody6965574439146705135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720913097,"filename":"image_12012025_23_26_02_645501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9fe7f3f32fee923c00ca7d524fe4d400.jpg","text":"TemporaryFile(/tmp/multipartBody2599043220930690379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720913097,"filename":"image_12012025_23_27_02_827292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d648d576f6ca85c6d5962d86139efea3.jpg","text":"TemporaryFile(/tmp/multipartBody253339715500522260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720913097,"filename":"image_12012025_23_27_02_827292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/902b6b918401fd3ae18f36db9528941d.jpg","text":"TemporaryFile(/tmp/multipartBody7487498075007334822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720913097,"filename":"image_12012025_23_27_02_827292_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328517258","file1":"1328517256","file0":"1328517255","file3":"1328517260"},"map_files_photo_id_array":[{"photo_id":"1328517258","filename":"file2"},{"photo_id":"1328517256","filename":"file1"},{"photo_id":"1328517255","filename":"file0"},{"photo_id":"1328517260","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328517255":["hashtag1","hashtag2"]},{"1328517260":["hashtag1","hashtag2"]},{"1328517256":["hashtag1","hashtag2"]},{"1328517258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328517255, 1328517260, 1328517256, 1328517258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57009792327881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:28:21.789146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0003.jpg', '/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0000.jpg', '/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0001.jpg', '/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/27/image_12012025_23_27_02_827292_0003.jpg
/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0000.jpg
/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0001.jpg
/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328518122","1328518313","1328518123","1328518125"],"photo_ids_order":["1328518122","1328518123","1328518125","1328518313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9f8c2a3d3fde1b6070e20a07bf33651.jpg","text":"TemporaryFile(/tmp/multipartBody6564382901328285988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720972129,"filename":"image_12012025_23_27_02_827292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/881dec5044a8a9aaf801c545845d75f1.jpg","text":"TemporaryFile(/tmp/multipartBody8133282215173758788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720972129,"filename":"image_12012025_23_28_02_973570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/533b22a00b2fb2b8669da2eb97fdfe57.jpg","text":"TemporaryFile(/tmp/multipartBody3698888250226257246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720972129,"filename":"image_12012025_23_28_02_973570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2990130060042616b260cf30e54ffe2b.jpg","text":"TemporaryFile(/tmp/multipartBody6291162077617072842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736720972129,"filename":"image_12012025_23_28_02_973570_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328518125","file1":"1328518123","file0":"1328518122","file3":"1328518313"},"map_files_photo_id_array":[{"photo_id":"1328518125","filename":"file2"},{"photo_id":"1328518123","filename":"file1"},{"photo_id":"1328518122","filename":"file0"},{"photo_id":"1328518313","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328518122":["hashtag1","hashtag2"]},{"1328518313":["hashtag1","hashtag2"]},{"1328518123":["hashtag1","hashtag2"]},{"1328518125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328518122, 1328518313, 1328518123, 1328518125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.38254642486572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:29:22.098797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0003.jpg', '/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0000.jpg', '/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0001.jpg', '/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/28/image_12012025_23_28_02_973570_0003.jpg
/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0000.jpg
/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0001.jpg
/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328518391","1328518394","1328518388","1328518392"],"photo_ids_order":["1328518388","1328518391","1328518392","1328518394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2744eb9408b65396dcbc94d748df1607.jpg","text":"TemporaryFile(/tmp/multipartBody8362304451773106245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721032329,"filename":"image_12012025_23_29_02_132973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/58c96056bb36d068520b3370320a7e08.jpg","text":"TemporaryFile(/tmp/multipartBody489867859389890631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721032329,"filename":"image_12012025_23_29_02_132973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/b0d9daca0f4cd7af4b3b52694cf668ea.jpg","text":"TemporaryFile(/tmp/multipartBody8560607056329436649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721032329,"filename":"image_12012025_23_28_02_973570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c994ce31e1f07bf7ac2f349169a66dee.jpg","text":"TemporaryFile(/tmp/multipartBody1387800016134252479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721032329,"filename":"image_12012025_23_29_02_132973_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328518392","file1":"1328518391","file0":"1328518388","file3":"1328518394"},"map_files_photo_id_array":[{"photo_id":"1328518392","filename":"file2"},{"photo_id":"1328518391","filename":"file1"},{"photo_id":"1328518388","filename":"file0"},{"photo_id":"1328518394","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328518391":["hashtag1","hashtag2"]},{"1328518394":["hashtag1","hashtag2"]},{"1328518388":["hashtag1","hashtag2"]},{"1328518392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328518391, 1328518394, 1328518388, 1328518392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24562478065491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:30:22.152735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0003.jpg', '/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0000.jpg', '/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0001.jpg', '/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0003.jpg
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0000.jpg
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0001.jpg
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_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.878466129302979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:30:42.131256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0003.jpg', '/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0000.jpg', '/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0001.jpg', '/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/29/image_12012025_23_29_02_132973_0003.jpg
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0000.jpg
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0001.jpg
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328518603","1328518488","1328518449","1328518734"],"photo_ids_order":["1328518449","1328518488","1328518603","1328518734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/df99563d82e31ba0b235c16247b03ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8102566300466482428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721112440,"filename":"image_12012025_23_30_02_342228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7c7157bec3752875eafaf5e424425a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3970183563234428958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721112440,"filename":"image_12012025_23_30_02_342228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3aff4cbd87a1191c3fdec7dc1071cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody7050289571961830389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721112440,"filename":"image_12012025_23_29_02_132973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/09f1b59bb13ac6bac90936bb9f665658.jpg","text":"TemporaryFile(/tmp/multipartBody1339738126602016815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721112440,"filename":"image_12012025_23_30_02_342228_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328518603","file1":"1328518488","file0":"1328518449","file3":"1328518734"},"map_files_photo_id_array":[{"photo_id":"1328518603","filename":"file2"},{"photo_id":"1328518488","filename":"file1"},{"photo_id":"1328518449","filename":"file0"},{"photo_id":"1328518734","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328518603":["hashtag1","hashtag2"]},{"1328518488":["hashtag1","hashtag2"]},{"1328518449":["hashtag1","hashtag2"]},{"1328518734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328518603, 1328518488, 1328518449, 1328518734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54742884635925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:31:32.279133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0003.jpg', '/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0000.jpg', '/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0001.jpg', '/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/30/image_12012025_23_30_02_342228_0003.jpg
/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0000.jpg
/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0001.jpg
/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328519315","1328519314","1328519316","1328519313"],"photo_ids_order":["1328519313","1328519314","1328519315","1328519316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/7ce25a1f105cffda44fe8fa2af7ccca4.jpg","text":"TemporaryFile(/tmp/multipartBody227819018441020405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721162552,"filename":"image_12012025_23_31_02_537889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8220a6cf6c573da6b1c19cbbc128f5e4.jpg","text":"TemporaryFile(/tmp/multipartBody1258949890014594162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721162552,"filename":"image_12012025_23_31_02_537889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c94852c2f7c560d8e5bf0e3010b21fa5.jpg","text":"TemporaryFile(/tmp/multipartBody2989110851028742624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721162552,"filename":"image_12012025_23_31_02_537889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3f0ed0fa9662c061d54b9a606f8c1365.jpg","text":"TemporaryFile(/tmp/multipartBody5960642257517352357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721162552,"filename":"image_12012025_23_30_02_342228_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328519315","file1":"1328519314","file0":"1328519313","file3":"1328519316"},"map_files_photo_id_array":[{"photo_id":"1328519315","filename":"file2"},{"photo_id":"1328519314","filename":"file1"},{"photo_id":"1328519313","filename":"file0"},{"photo_id":"1328519316","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328519315":["hashtag1","hashtag2"]},{"1328519314":["hashtag1","hashtag2"]},{"1328519316":["hashtag1","hashtag2"]},{"1328519313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328519315, 1328519314, 1328519316, 1328519313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8648943901062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:32:22.571274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0003.jpg', '/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0000.jpg', '/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0001.jpg', '/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/31/image_12012025_23_31_02_537889_0003.jpg
/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0000.jpg
/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0001.jpg
/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328519876","1328519878","1328519874","1328519873"],"photo_ids_order":["1328519873","1328519874","1328519876","1328519878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/016ce05d1d2e3900addcfd8e3ee12a25.jpg","text":"TemporaryFile(/tmp/multipartBody2359932936905670615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721212893,"filename":"image_12012025_23_32_02_686399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3409e3182b523a2c1935d1ccaf041368.jpg","text":"TemporaryFile(/tmp/multipartBody1978375050050260344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721212893,"filename":"image_12012025_23_32_02_686399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1f6dcb8b7d750060db92bb7e6da0539d.jpg","text":"TemporaryFile(/tmp/multipartBody4982072482536113230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721212893,"filename":"image_12012025_23_32_02_686399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/24d659433683ee148fa9760a184932d0.jpg","text":"TemporaryFile(/tmp/multipartBody5163127962710872495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721212893,"filename":"image_12012025_23_31_02_537889_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328519876","file1":"1328519874","file0":"1328519873","file3":"1328519878"},"map_files_photo_id_array":[{"photo_id":"1328519876","filename":"file2"},{"photo_id":"1328519874","filename":"file1"},{"photo_id":"1328519873","filename":"file0"},{"photo_id":"1328519878","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328519876":["hashtag1","hashtag2"]},{"1328519878":["hashtag1","hashtag2"]},{"1328519874":["hashtag1","hashtag2"]},{"1328519873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328519876, 1328519878, 1328519874, 1328519873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.546475887298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:33:22.725627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0003.jpg', '/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0000.jpg', '/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0001.jpg', '/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_02_686399_0003.jpg
/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0000.jpg
/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0001.jpg
/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328520464","1328520574","1328520613","1328520541"],"photo_ids_order":["1328520464","1328520541","1328520574","1328520613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/551a803fe81a526bf64231d1ff1dc507.jpg","text":"TemporaryFile(/tmp/multipartBody8829502529657269043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721273162,"filename":"image_12012025_23_32_02_686399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bd792f66b32225a4125bba21d2a5ea04.jpg","text":"TemporaryFile(/tmp/multipartBody8110047333005924227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721273162,"filename":"image_12012025_23_33_02_840923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3ae8b7b5a54d4002c070b8670cbe5099.jpg","text":"TemporaryFile(/tmp/multipartBody1865973958935469692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721273162,"filename":"image_12012025_23_33_02_840923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba09a1fd4f3b365646650280c6349972.jpg","text":"TemporaryFile(/tmp/multipartBody1933667850407506077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721273162,"filename":"image_12012025_23_33_02_840923_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328520574","file1":"1328520541","file0":"1328520464","file3":"1328520613"},"map_files_photo_id_array":[{"photo_id":"1328520574","filename":"file2"},{"photo_id":"1328520541","filename":"file1"},{"photo_id":"1328520464","filename":"file0"},{"photo_id":"1328520613","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328520464":["hashtag1","hashtag2"]},{"1328520574":["hashtag1","hashtag2"]},{"1328520613":["hashtag1","hashtag2"]},{"1328520541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328520464, 1328520574, 1328520613, 1328520541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50114440917969 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-12 23:34:22.006649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0003.jpg', '/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0000.jpg', '/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0001.jpg', '/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/33/image_12012025_23_33_02_840923_0003.jpg
/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0000.jpg
/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0001.jpg
/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328520677","1328520680","1328520682","1328520678"],"photo_ids_order":["1328520677","1328520678","1328520680","1328520682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/10caceb725ba99dfc9885857acc394a9.jpg","text":"TemporaryFile(/tmp/multipartBody7660091950180096294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721332389,"filename":"image_12012025_23_33_02_840923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9d8c18e7f82d2d93a2133cf20af1be52.jpg","text":"TemporaryFile(/tmp/multipartBody8645149750123423645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721332389,"filename":"image_12012025_23_34_03_025834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/96d6bf90814c8f27554b79562921ce82.jpg","text":"TemporaryFile(/tmp/multipartBody2163776623402877378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721332389,"filename":"image_12012025_23_34_03_025834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cebf477783e04c7a31150caddd8e4d33.jpg","text":"TemporaryFile(/tmp/multipartBody1490458452682022808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721332389,"filename":"image_12012025_23_34_03_025834_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328520680","file1":"1328520678","file0":"1328520677","file3":"1328520682"},"map_files_photo_id_array":[{"photo_id":"1328520680","filename":"file2"},{"photo_id":"1328520678","filename":"file1"},{"photo_id":"1328520677","filename":"file0"},{"photo_id":"1328520682","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328520677":["hashtag1","hashtag2"]},{"1328520680":["hashtag1","hashtag2"]},{"1328520682":["hashtag1","hashtag2"]},{"1328520678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328520677, 1328520680, 1328520682, 1328520678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.867077112197876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:35:22.028894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0003.jpg', '/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0000.jpg', '/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0001.jpg', '/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/34/image_12012025_23_34_03_025834_0003.jpg
/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0000.jpg
/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0001.jpg
/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328520694","1328520691","1328520693","1328520695"],"photo_ids_order":["1328520691","1328520693","1328520694","1328520695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3802f28acbb4d37fd340004794b5ec7d.jpg","text":"TemporaryFile(/tmp/multipartBody533404194405485831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721392400,"filename":"image_12012025_23_35_02_297582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a8b043244b136e96f90287d0c2a48fb8.jpg","text":"TemporaryFile(/tmp/multipartBody480031273523801685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721392400,"filename":"image_12012025_23_34_03_025834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dc91f4eb54acea75d111b0b1294ef881.jpg","text":"TemporaryFile(/tmp/multipartBody6676090835254345191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721392400,"filename":"image_12012025_23_35_02_297582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/8e80c4eb5d7734386d1602f19d59dfca.jpg","text":"TemporaryFile(/tmp/multipartBody1795874766229460368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721392400,"filename":"image_12012025_23_35_02_297582_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328520694","file1":"1328520693","file0":"1328520691","file3":"1328520695"},"map_files_photo_id_array":[{"photo_id":"1328520694","filename":"file2"},{"photo_id":"1328520693","filename":"file1"},{"photo_id":"1328520691","filename":"file0"},{"photo_id":"1328520695","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328520694":["hashtag1","hashtag2"]},{"1328520691":["hashtag1","hashtag2"]},{"1328520693":["hashtag1","hashtag2"]},{"1328520695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328520694, 1328520691, 1328520693, 1328520695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.16578006744385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:36:22.245271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0003.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0000.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0001.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0003.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0000.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0001.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_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.92165493965149 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:36:42.190632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0003.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0000.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0001.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/35/image_12012025_23_35_02_297582_0003.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0000.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0001.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_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":["1328520707","1328520706","1328520709","1328520705"],"photo_ids_order":["1328520705","1328520706","1328520707","1328520709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cf12e4e7e5e54fc23c142e54f5c2e3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7724814686477106446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721472532,"filename":"image_12012025_23_36_02_354190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/36342430ec83d6a0b836c512eddb7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1194701125903609444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721472532,"filename":"image_12012025_23_36_02_354190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/594afe5d03a05aa45a6cee934ac3a671.jpg","text":"TemporaryFile(/tmp/multipartBody5859873471496956002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721472532,"filename":"image_12012025_23_36_02_354190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/98ee736753bb0903f9fb2e310438f633.jpg","text":"TemporaryFile(/tmp/multipartBody6873044269281340018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721472532,"filename":"image_12012025_23_35_02_297582_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328520707","file1":"1328520706","file0":"1328520705","file3":"1328520709"},"map_files_photo_id_array":[{"photo_id":"1328520707","filename":"file2"},{"photo_id":"1328520706","filename":"file1"},{"photo_id":"1328520705","filename":"file0"},{"photo_id":"1328520709","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328520707":["hashtag1","hashtag2"]},{"1328520706":["hashtag1","hashtag2"]},{"1328520709":["hashtag1","hashtag2"]},{"1328520705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328520707, 1328520706, 1328520709, 1328520705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.147441148757935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:37:22.329803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0003.jpg', '/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0000.jpg', '/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0001.jpg', '/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_02_354190_0003.jpg
/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0000.jpg
/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0001.jpg
/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328520716","1328520715","1328520718","1328520717"],"photo_ids_order":["1328520715","1328520716","1328520717","1328520718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/54fe049dccd4ded2180852e6b0320fec.jpg","text":"TemporaryFile(/tmp/multipartBody7117919624329162649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721512565,"filename":"image_12012025_23_37_02_538183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ba39bb0ec85f97ddcf011ea073ec4e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1890474130274284558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721512565,"filename":"image_12012025_23_36_02_354190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13be5b3e2e180f302bbe2f68ae9bdd0e.jpg","text":"TemporaryFile(/tmp/multipartBody1549249513139443317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721512565,"filename":"image_12012025_23_37_02_538183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2c3230ffbf51e1d8add10a2a3ba4575c.jpg","text":"TemporaryFile(/tmp/multipartBody918052797528728201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721512565,"filename":"image_12012025_23_37_02_538183_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328520717","file1":"1328520716","file0":"1328520715","file3":"1328520718"},"map_files_photo_id_array":[{"photo_id":"1328520717","filename":"file2"},{"photo_id":"1328520716","filename":"file1"},{"photo_id":"1328520715","filename":"file0"},{"photo_id":"1328520718","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328520716":["hashtag1","hashtag2"]},{"1328520715":["hashtag1","hashtag2"]},{"1328520718":["hashtag1","hashtag2"]},{"1328520717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328520716, 1328520715, 1328520718, 1328520717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67518591880798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:38:03.055197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:38:22.589561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0003.jpg', '/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0000.jpg', '/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0001.jpg', '/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/37/image_12012025_23_37_02_538183_0003.jpg
/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0000.jpg
/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0001.jpg
/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328520725","1328520769","1328520724","1328520727"],"photo_ids_order":["1328520724","1328520725","1328520727","1328520769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/599efaaff9ae5b3385fbddc52d76da61.jpg","text":"TemporaryFile(/tmp/multipartBody6051235452807513473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721572789,"filename":"image_12012025_23_38_02_717037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db81b1f19e636f50a9ad4dcf6407ce02.jpg","text":"TemporaryFile(/tmp/multipartBody3102227866109102030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721572789,"filename":"image_12012025_23_38_02_717037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e93d9d58216f7bbafde3aee4e6368037.jpg","text":"TemporaryFile(/tmp/multipartBody805629234456285528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721572789,"filename":"image_12012025_23_37_02_538183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2ece6b357e672f10905722e0fde42364.jpg","text":"TemporaryFile(/tmp/multipartBody3885113061226732306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721572789,"filename":"image_12012025_23_38_02_717037_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328520727","file1":"1328520725","file0":"1328520724","file3":"1328520769"},"map_files_photo_id_array":[{"photo_id":"1328520727","filename":"file2"},{"photo_id":"1328520725","filename":"file1"},{"photo_id":"1328520724","filename":"file0"},{"photo_id":"1328520769","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328520725":["hashtag1","hashtag2"]},{"1328520769":["hashtag1","hashtag2"]},{"1328520724":["hashtag1","hashtag2"]},{"1328520727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328520725, 1328520769, 1328520724, 1328520727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02966809272766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:39:22.690412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0003.jpg', '/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0000.jpg', '/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0001.jpg', '/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/38/image_12012025_23_38_02_717037_0003.jpg
/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0000.jpg
/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0001.jpg
/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328521634","1328521831","1328521953","1328521509"],"photo_ids_order":["1328521509","1328521634","1328521831","1328521953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/953adfeddd92b41c40adf32fdd55293d.jpg","text":"TemporaryFile(/tmp/multipartBody5178636873095893941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721632956,"filename":"image_12012025_23_39_02_913487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13f772241c1735fc8d10ba8ab62b268a.jpg","text":"TemporaryFile(/tmp/multipartBody7719786008530484578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721632956,"filename":"image_12012025_23_39_02_913487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0f67c0cba961a0ec008b9709ab26ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody3573866628889645044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721632956,"filename":"image_12012025_23_39_02_913487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6d8882edae2e8d6fc103a26a277b5436.jpg","text":"TemporaryFile(/tmp/multipartBody4119390386800826972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721632956,"filename":"image_12012025_23_38_02_717037_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328521831","file1":"1328521634","file0":"1328521509","file3":"1328521953"},"map_files_photo_id_array":[{"photo_id":"1328521831","filename":"file2"},{"photo_id":"1328521634","filename":"file1"},{"photo_id":"1328521509","filename":"file0"},{"photo_id":"1328521953","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328521634":["hashtag1","hashtag2"]},{"1328521831":["hashtag1","hashtag2"]},{"1328521953":["hashtag1","hashtag2"]},{"1328521509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328521634, 1328521831, 1328521953, 1328521509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.645777463912964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:40:21.879103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0003.jpg', '/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0000.jpg', '/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0001.jpg', '/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/39/image_12012025_23_39_02_913487_0003.jpg
/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0000.jpg
/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0001.jpg
/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328522053","1328522052","1328522084","1328522054"],"photo_ids_order":["1328522052","1328522053","1328522054","1328522084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dbd975ff0e0d04f784fc8ba30a030895.jpg","text":"TemporaryFile(/tmp/multipartBody5283340373937279910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721692130,"filename":"image_12012025_23_40_03_021474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/da8be6c0eabadb4c6ffe01a2dbc31c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4726346402925188765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721692130,"filename":"image_12012025_23_39_02_913487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6275b3f77d55fe5c2ac585f9b23ca0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6186179065232688837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721692130,"filename":"image_12012025_23_40_03_021474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/add4873b30fb22c08d093f3f3763cec7.jpg","text":"TemporaryFile(/tmp/multipartBody4382238491531985042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721692130,"filename":"image_12012025_23_40_03_021474_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328522054","file1":"1328522053","file0":"1328522052","file3":"1328522084"},"map_files_photo_id_array":[{"photo_id":"1328522054","filename":"file2"},{"photo_id":"1328522053","filename":"file1"},{"photo_id":"1328522052","filename":"file0"},{"photo_id":"1328522084","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328522053":["hashtag1","hashtag2"]},{"1328522052":["hashtag1","hashtag2"]},{"1328522084":["hashtag1","hashtag2"]},{"1328522054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328522053, 1328522052, 1328522084, 1328522054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.312966108322144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:41:02.566071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:41:21.954871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0003.jpg', '/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0000.jpg', '/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0001.jpg', '/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/40/image_12012025_23_40_03_021474_0003.jpg
/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0000.jpg
/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0001.jpg
/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328522392","1328522395","1328522394","1328522396"],"photo_ids_order":["1328522392","1328522394","1328522395","1328522396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c74ca9515d726e5a2157065aecaaad01.jpg","text":"TemporaryFile(/tmp/multipartBody8597135647599825404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721752255,"filename":"image_12012025_23_40_03_021474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/5685a03029c0b6735e8e7d0671ed22eb.jpg","text":"TemporaryFile(/tmp/multipartBody9124250730306876083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721752255,"filename":"image_12012025_23_41_02_197089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/ae3b12ea80b0455ade7923b2059b557a.jpg","text":"TemporaryFile(/tmp/multipartBody670221374901519360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721752255,"filename":"image_12012025_23_41_02_197089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9e98c8a005e67d293f1859abf401540c.jpg","text":"TemporaryFile(/tmp/multipartBody2949164816355113928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721752255,"filename":"image_12012025_23_41_02_197089_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328522395","file1":"1328522394","file0":"1328522392","file3":"1328522396"},"map_files_photo_id_array":[{"photo_id":"1328522395","filename":"file2"},{"photo_id":"1328522394","filename":"file1"},{"photo_id":"1328522392","filename":"file0"},{"photo_id":"1328522396","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328522392":["hashtag1","hashtag2"]},{"1328522395":["hashtag1","hashtag2"]},{"1328522394":["hashtag1","hashtag2"]},{"1328522396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328522392, 1328522395, 1328522394, 1328522396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65004205703735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:42:02.575981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:42:22.223355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0003.jpg', '/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0000.jpg', '/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0001.jpg', '/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0003.jpg
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0000.jpg
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0001.jpg
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_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.995753526687622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:42:42.203531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0003.jpg', '/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0000.jpg', '/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0001.jpg', '/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/41/image_12012025_23_41_02_197089_0003.jpg
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0000.jpg
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0001.jpg
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328522407","1328522409","1328522406","1328522411"],"photo_ids_order":["1328522406","1328522407","1328522409","1328522411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/9feb34fb8279a15f2aa8c956766a28f0.jpg","text":"TemporaryFile(/tmp/multipartBody3452493472790864722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721832606,"filename":"image_12012025_23_42_02_422068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6c1b0c189c21f4ad9650c854eb893ee3.jpg","text":"TemporaryFile(/tmp/multipartBody3107872637169880856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721832606,"filename":"image_12012025_23_42_02_422068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/089a2c3d411bcf2e1cfd1d561a9854f8.jpg","text":"TemporaryFile(/tmp/multipartBody4801674418105664281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721832606,"filename":"image_12012025_23_41_02_197089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a536a808ce296e7d43722a87a88d45a7.jpg","text":"TemporaryFile(/tmp/multipartBody4511980596282566183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721832606,"filename":"image_12012025_23_42_02_422068_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328522409","file1":"1328522407","file0":"1328522406","file3":"1328522411"},"map_files_photo_id_array":[{"photo_id":"1328522409","filename":"file2"},{"photo_id":"1328522407","filename":"file1"},{"photo_id":"1328522406","filename":"file0"},{"photo_id":"1328522411","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328522407":["hashtag1","hashtag2"]},{"1328522409":["hashtag1","hashtag2"]},{"1328522406":["hashtag1","hashtag2"]},{"1328522411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328522407, 1328522409, 1328522406, 1328522411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.94939470291138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-12 23:43:32.364468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0003.jpg', '/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0000.jpg', '/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0001.jpg', '/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/42/image_12012025_23_42_02_422068_0003.jpg
/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0000.jpg
/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0001.jpg
/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328522417","1328522416","1328522419","1328522418"],"photo_ids_order":["1328522416","1328522417","1328522418","1328522419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/1c521a29f722a1d86939297104fe534e.jpg","text":"TemporaryFile(/tmp/multipartBody5476500822831416081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721882847,"filename":"image_12012025_23_43_02_532724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bcb090211f545c48e846b68c687e532f.jpg","text":"TemporaryFile(/tmp/multipartBody2839910440084759985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721882847,"filename":"image_12012025_23_42_02_422068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/13ca23e59ea0f298798254927dfba925.jpg","text":"TemporaryFile(/tmp/multipartBody5565406108374626464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721882847,"filename":"image_12012025_23_43_02_532724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/566e25d9880dda8c4d157597c645f439.jpg","text":"TemporaryFile(/tmp/multipartBody61488860480170913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721882847,"filename":"image_12012025_23_43_02_532724_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328522418","file1":"1328522417","file0":"1328522416","file3":"1328522419"},"map_files_photo_id_array":[{"photo_id":"1328522418","filename":"file2"},{"photo_id":"1328522417","filename":"file1"},{"photo_id":"1328522416","filename":"file0"},{"photo_id":"1328522419","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328522417":["hashtag1","hashtag2"]},{"1328522416":["hashtag1","hashtag2"]},{"1328522419":["hashtag1","hashtag2"]},{"1328522418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328522417, 1328522416, 1328522419, 1328522418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.132771253585815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:44:22.664626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0003.jpg', '/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0000.jpg', '/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0001.jpg', '/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/43/image_12012025_23_43_02_532724_0003.jpg
/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0000.jpg
/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0001.jpg
/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328522437","1328522433","1328522436","1328522435"],"photo_ids_order":["1328522433","1328522435","1328522436","1328522437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/03ec7c02ef0fd41715f07561fd2bbb5f.jpg","text":"TemporaryFile(/tmp/multipartBody3572298427862578890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721933287,"filename":"image_12012025_23_44_02_674166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f6d48c602ef6e5832fe18c2dbeb2990a.jpg","text":"TemporaryFile(/tmp/multipartBody6532846338723116804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721933287,"filename":"image_12012025_23_43_02_532724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0a7ba1c04341429e20fae2587c892d8a.jpg","text":"TemporaryFile(/tmp/multipartBody5490706493808145065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721933287,"filename":"image_12012025_23_44_02_674166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/37c3f7f0b967782fd1ede94f7fe88dca.jpg","text":"TemporaryFile(/tmp/multipartBody2943292914983110781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721933287,"filename":"image_12012025_23_44_02_674166_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328522436","file1":"1328522435","file0":"1328522433","file3":"1328522437"},"map_files_photo_id_array":[{"photo_id":"1328522436","filename":"file2"},{"photo_id":"1328522435","filename":"file1"},{"photo_id":"1328522433","filename":"file0"},{"photo_id":"1328522437","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328522437":["hashtag1","hashtag2"]},{"1328522433":["hashtag1","hashtag2"]},{"1328522436":["hashtag1","hashtag2"]},{"1328522435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328522437, 1328522433, 1328522436, 1328522435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80611515045166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:45:22.719918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0003.jpg', '/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0000.jpg', '/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0001.jpg', '/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/44/image_12012025_23_44_02_674166_0003.jpg
/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0000.jpg
/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0001.jpg
/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328523568","1328523564","1328523566","1328523563"],"photo_ids_order":["1328523563","1328523564","1328523566","1328523568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cae1b646b7d00dc3b175f494d42f9bda.jpg","text":"TemporaryFile(/tmp/multipartBody3681419257560109232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721993098,"filename":"image_12012025_23_45_02_914237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/12bfe1ecaa33bef7c99e8cee49994c65.jpg","text":"TemporaryFile(/tmp/multipartBody7465874749630149302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721993098,"filename":"image_12012025_23_45_02_914237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/81cb35a86976ea533015f8011aa1b575.jpg","text":"TemporaryFile(/tmp/multipartBody4628909689307661684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721993098,"filename":"image_12012025_23_45_02_914237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/315ae08c917ef54233738baf2f1087cb.jpg","text":"TemporaryFile(/tmp/multipartBody8886400253488747739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736721993098,"filename":"image_12012025_23_44_02_674166_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328523566","file1":"1328523564","file0":"1328523563","file3":"1328523568"},"map_files_photo_id_array":[{"photo_id":"1328523566","filename":"file2"},{"photo_id":"1328523564","filename":"file1"},{"photo_id":"1328523563","filename":"file0"},{"photo_id":"1328523568","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328523568":["hashtag1","hashtag2"]},{"1328523564":["hashtag1","hashtag2"]},{"1328523566":["hashtag1","hashtag2"]},{"1328523563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328523568, 1328523564, 1328523566, 1328523563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.04683446884155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:46:21.853135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0003.jpg', '/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0000.jpg', '/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0001.jpg', '/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/45/image_12012025_23_45_02_914237_0003.jpg
/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0000.jpg
/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0001.jpg
/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328523829","1328523834","1328523831","1328523830"],"photo_ids_order":["1328523829","1328523830","1328523831","1328523834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/dd8906b00a034b9245b213780a3d690c.jpg","text":"TemporaryFile(/tmp/multipartBody2189957948151251234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722052220,"filename":"image_12012025_23_45_02_914237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3cab9d9a18109a066b7202d0c2b9385e.jpg","text":"TemporaryFile(/tmp/multipartBody6648467789594488494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722052220,"filename":"image_12012025_23_46_03_118040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4fac27b8fe9b45817328405d97b0f60e.jpg","text":"TemporaryFile(/tmp/multipartBody9192194563323108265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722052220,"filename":"image_12012025_23_46_03_118040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/506425946f105f0a11eff3cd6126ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody2923045563882493730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722052220,"filename":"image_12012025_23_46_03_118040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328523831","file1":"1328523830","file0":"1328523829","file3":"1328523834"},"map_files_photo_id_array":[{"photo_id":"1328523831","filename":"file2"},{"photo_id":"1328523830","filename":"file1"},{"photo_id":"1328523829","filename":"file0"},{"photo_id":"1328523834","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328523829":["hashtag1","hashtag2"]},{"1328523834":["hashtag1","hashtag2"]},{"1328523831":["hashtag1","hashtag2"]},{"1328523830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328523829, 1328523834, 1328523831, 1328523830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.81614661216736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:47:22.048136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0003.jpg', '/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0000.jpg', '/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0001.jpg', '/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/46/image_12012025_23_46_03_118040_0003.jpg
/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0000.jpg
/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0001.jpg
/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328524659","1328524562","1328524302","1328524436"],"photo_ids_order":["1328524302","1328524436","1328524562","1328524659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/abe3d141db7b8fb96bff9164ba7a7829.jpg","text":"TemporaryFile(/tmp/multipartBody4211859361290862977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722112339,"filename":"image_12012025_23_47_02_218282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/11be9c61ffd96b8b5da78a7abf3c2283.jpg","text":"TemporaryFile(/tmp/multipartBody8632602843920972695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722112339,"filename":"image_12012025_23_47_02_218282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3d3f9c26cf950989fdc205083df8846b.jpg","text":"TemporaryFile(/tmp/multipartBody4107441226710388438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722112339,"filename":"image_12012025_23_46_03_118040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a39e4435cd27ab831d09d512b13bba07.jpg","text":"TemporaryFile(/tmp/multipartBody7554459807717405837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722112339,"filename":"image_12012025_23_47_02_218282_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328524562","file1":"1328524436","file0":"1328524302","file3":"1328524659"},"map_files_photo_id_array":[{"photo_id":"1328524562","filename":"file2"},{"photo_id":"1328524436","filename":"file1"},{"photo_id":"1328524302","filename":"file0"},{"photo_id":"1328524659","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328524659":["hashtag1","hashtag2"]},{"1328524562":["hashtag1","hashtag2"]},{"1328524302":["hashtag1","hashtag2"]},{"1328524436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328524659, 1328524562, 1328524302, 1328524436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79931879043579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:48:02.574135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:48:22.135740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0003.jpg', '/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0000.jpg', '/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0001.jpg', '/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0003.jpg
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0000.jpg
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0001.jpg
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_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.904178380966187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-12 23:48:42.154899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0003.jpg', '/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0000.jpg', '/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0001.jpg', '/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/47/image_12012025_23_47_02_218282_0003.jpg
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0000.jpg
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0001.jpg
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_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":["1328525361","1328525634","1328525415","1328525362"],"photo_ids_order":["1328525361","1328525362","1328525415","1328525634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cb1cb5c4788b2a2ba40e4bed9d17f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody7826240664166435339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722192447,"filename":"image_12012025_23_47_02_218282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0e5ab631a88db8ea0560b59f9e1bd9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4174631270384660295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722192447,"filename":"image_12012025_23_48_02_430753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/35d130cc8da326f84fdb8d77526e0677.jpg","text":"TemporaryFile(/tmp/multipartBody1394405229780801826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722192447,"filename":"image_12012025_23_48_02_430753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/50b519069ef6e3822db42ebe1699d285.jpg","text":"TemporaryFile(/tmp/multipartBody8860798333458467297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722192447,"filename":"image_12012025_23_48_02_430753_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328525415","file1":"1328525362","file0":"1328525361","file3":"1328525634"},"map_files_photo_id_array":[{"photo_id":"1328525415","filename":"file2"},{"photo_id":"1328525362","filename":"file1"},{"photo_id":"1328525361","filename":"file0"},{"photo_id":"1328525634","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328525361":["hashtag1","hashtag2"]},{"1328525634":["hashtag1","hashtag2"]},{"1328525415":["hashtag1","hashtag2"]},{"1328525362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328525361, 1328525634, 1328525415, 1328525362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22556138038635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:49:22.370821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0003.jpg', '/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0000.jpg', '/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0001.jpg', '/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/48/image_12012025_23_48_02_430753_0003.jpg
/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0000.jpg
/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0001.jpg
/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328525936","1328526064","1328525935","1328525934"],"photo_ids_order":["1328525934","1328525935","1328525936","1328526064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e60e67b326872de43e17f5041de1a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody1984511380668169198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722232686,"filename":"image_12012025_23_49_02_483167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/bdfc1c1803c80dc4f586b01d0154cb41.jpg","text":"TemporaryFile(/tmp/multipartBody2495515714128911510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722232686,"filename":"image_12012025_23_49_02_483167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4e0939f9833814353e40879429dd1115.jpg","text":"TemporaryFile(/tmp/multipartBody5934966518559446292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722232686,"filename":"image_12012025_23_49_02_483167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4a2234fdc569e69356bd30a15c24d08f.jpg","text":"TemporaryFile(/tmp/multipartBody9141717509130834666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722232686,"filename":"image_12012025_23_48_02_430753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328525936","file1":"1328525935","file0":"1328525934","file3":"1328526064"},"map_files_photo_id_array":[{"photo_id":"1328525936","filename":"file2"},{"photo_id":"1328525935","filename":"file1"},{"photo_id":"1328525934","filename":"file0"},{"photo_id":"1328526064","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328525936":["hashtag1","hashtag2"]},{"1328526064":["hashtag1","hashtag2"]},{"1328525935":["hashtag1","hashtag2"]},{"1328525934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328525936, 1328526064, 1328525935, 1328525934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11396360397339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:50:02.876473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:50:22.544576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0003.jpg', '/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0000.jpg', '/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0001.jpg', '/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/49/image_12012025_23_49_02_483167_0003.jpg
/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0000.jpg
/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0001.jpg
/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328527639","1328527473","1328527152","1328527637"],"photo_ids_order":["1328527152","1328527473","1328527637","1328527639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a426bb04e2f743c776fefffe1cb3876b.jpg","text":"TemporaryFile(/tmp/multipartBody3026535259957948736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722293092,"filename":"image_12012025_23_50_02_729062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2d5b3b18d051e18504b7e73f0d6a26c3.jpg","text":"TemporaryFile(/tmp/multipartBody5795950915727679216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722293092,"filename":"image_12012025_23_50_02_729062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/e8520111c64ce75587c6c1200fa88f98.jpg","text":"TemporaryFile(/tmp/multipartBody6432200514166273068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722293092,"filename":"image_12012025_23_49_02_483167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/db52fb512b030a9f43821250d4d432fc.jpg","text":"TemporaryFile(/tmp/multipartBody10109962135774681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722293092,"filename":"image_12012025_23_50_02_729062_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328527637","file1":"1328527473","file0":"1328527152","file3":"1328527639"},"map_files_photo_id_array":[{"photo_id":"1328527637","filename":"file2"},{"photo_id":"1328527473","filename":"file1"},{"photo_id":"1328527152","filename":"file0"},{"photo_id":"1328527639","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328527639":["hashtag1","hashtag2"]},{"1328527473":["hashtag1","hashtag2"]},{"1328527152":["hashtag1","hashtag2"]},{"1328527637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328527639, 1328527473, 1328527152, 1328527637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8575975894928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:51:03.369476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:51:22.623076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0003.jpg', '/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0000.jpg', '/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0001.jpg', '/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/50/image_12012025_23_50_02_729062_0003.jpg
/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0000.jpg
/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0001.jpg
/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328527783","1328527779","1328527781","1328527778"],"photo_ids_order":["1328527778","1328527779","1328527781","1328527783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/04094ec81643af6dd624ec9e4f617fe0.jpg","text":"TemporaryFile(/tmp/multipartBody1008843568036864641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722353164,"filename":"image_12012025_23_51_02_806408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/cd51e9a9ef84aa9cb3af11128a2120d3.jpg","text":"TemporaryFile(/tmp/multipartBody6925852222315223148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722353164,"filename":"image_12012025_23_51_02_806408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/4463e0ccd627294ee0620a2dad7294f3.jpg","text":"TemporaryFile(/tmp/multipartBody212750041354357767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722353164,"filename":"image_12012025_23_51_02_806408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d47223b59e5055ec9d5588b63c4d8ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7933964713006777111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722353164,"filename":"image_12012025_23_50_02_729062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328527781","file1":"1328527779","file0":"1328527778","file3":"1328527783"},"map_files_photo_id_array":[{"photo_id":"1328527781","filename":"file2"},{"photo_id":"1328527779","filename":"file1"},{"photo_id":"1328527778","filename":"file0"},{"photo_id":"1328527783","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328527783":["hashtag1","hashtag2"]},{"1328527779":["hashtag1","hashtag2"]},{"1328527781":["hashtag1","hashtag2"]},{"1328527778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328527783, 1328527779, 1328527781, 1328527778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.056402921676636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:52:21.825848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0003.jpg', '/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0000.jpg', '/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0001.jpg', '/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/51/image_12012025_23_51_02_806408_0003.jpg
/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0000.jpg
/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0001.jpg
/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328528204","1328528103","1328528387","1328528497"],"photo_ids_order":["1328528103","1328528204","1328528387","1328528497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f24eb7d739d0e1fc34934ed5e1c72b62.jpg","text":"TemporaryFile(/tmp/multipartBody4260491688190387672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722412035,"filename":"image_12012025_23_52_02_934021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/791ce3da0f03cd3d3858c1e8aaa139eb.jpg","text":"TemporaryFile(/tmp/multipartBody5662553658628184734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722412035,"filename":"image_12012025_23_51_02_806408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/18a98ca85cec3ca1fdb10ca83f366de3.jpg","text":"TemporaryFile(/tmp/multipartBody1045280334481289241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722412035,"filename":"image_12012025_23_52_02_934021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3db9201fd393ec1d093770f21f8e297f.jpg","text":"TemporaryFile(/tmp/multipartBody5193167498606900176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722412035,"filename":"image_12012025_23_52_02_934021_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328528387","file1":"1328528204","file0":"1328528103","file3":"1328528497"},"map_files_photo_id_array":[{"photo_id":"1328528387","filename":"file2"},{"photo_id":"1328528204","filename":"file1"},{"photo_id":"1328528103","filename":"file0"},{"photo_id":"1328528497","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328528204":["hashtag1","hashtag2"]},{"1328528103":["hashtag1","hashtag2"]},{"1328528387":["hashtag1","hashtag2"]},{"1328528497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328528204, 1328528103, 1328528387, 1328528497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13889193534851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:53:22.045046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0003.jpg', '/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0000.jpg', '/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0001.jpg', '/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/52/image_12012025_23_52_02_934021_0003.jpg
/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0000.jpg
/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0001.jpg
/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328528896","1328528895","1328528894","1328528893"],"photo_ids_order":["1328528893","1328528894","1328528895","1328528896"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/14541132e2bc97e2321467abbea798c3.jpg","text":"TemporaryFile(/tmp/multipartBody5398044444212193826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722472318,"filename":"image_12012025_23_53_02_207347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/aa493bded2dc97f0f330115d6c319311.jpg","text":"TemporaryFile(/tmp/multipartBody2959795546818209970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722472318,"filename":"image_12012025_23_53_02_207347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/6547998c5d6d24afbbe886543f33416f.jpg","text":"TemporaryFile(/tmp/multipartBody8892831477871804983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722472318,"filename":"image_12012025_23_53_02_207347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/c0740bf031e362d017184fade358b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody4922143239784188360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722472318,"filename":"image_12012025_23_52_02_934021_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328528895","file1":"1328528894","file0":"1328528893","file3":"1328528896"},"map_files_photo_id_array":[{"photo_id":"1328528895","filename":"file2"},{"photo_id":"1328528894","filename":"file1"},{"photo_id":"1328528893","filename":"file0"},{"photo_id":"1328528896","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328528896":["hashtag1","hashtag2"]},{"1328528895":["hashtag1","hashtag2"]},{"1328528894":["hashtag1","hashtag2"]},{"1328528893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328528896, 1328528895, 1328528894, 1328528893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.26538300514221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:54:22.188270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0003.jpg', '/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0000.jpg', '/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0001.jpg', '/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/53/image_12012025_23_53_02_207347_0003.jpg
/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0000.jpg
/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0001.jpg
/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328529142","1328529145","1328529144","1328529143"],"photo_ids_order":["1328529142","1328529143","1328529144","1328529145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2adf0680ff054dbad0e76b24a6b681ab.jpg","text":"TemporaryFile(/tmp/multipartBody8783498653723457007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722532601,"filename":"image_12012025_23_53_02_207347_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d5b44b433ab202f8c27b315aae029c94.jpg","text":"TemporaryFile(/tmp/multipartBody7482213788079236459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722532601,"filename":"image_12012025_23_54_02_294552_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/0daa3d003c41be670cbf79df29faecce.jpg","text":"TemporaryFile(/tmp/multipartBody820951438972014406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722532601,"filename":"image_12012025_23_54_02_294552_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/93e088daed75be1342a6175bc5cc0966.jpg","text":"TemporaryFile(/tmp/multipartBody7127775200963197903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722532601,"filename":"image_12012025_23_54_02_294552_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328529144","file1":"1328529143","file0":"1328529142","file3":"1328529145"},"map_files_photo_id_array":[{"photo_id":"1328529144","filename":"file2"},{"photo_id":"1328529143","filename":"file1"},{"photo_id":"1328529142","filename":"file0"},{"photo_id":"1328529145","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328529142":["hashtag1","hashtag2"]},{"1328529145":["hashtag1","hashtag2"]},{"1328529144":["hashtag1","hashtag2"]},{"1328529143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328529142, 1328529145, 1328529144, 1328529143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6218376159668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-12 23:55:03.019209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:55:22.481977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0003.jpg', '/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0000.jpg', '/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0001.jpg', '/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/54/image_12012025_23_54_02_294552_0003.jpg
/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0000.jpg
/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0001.jpg
/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328529156","1328529152","1328529151","1328529154"],"photo_ids_order":["1328529151","1328529152","1328529154","1328529156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/f3ff0d347a2d124aabe2e060ece6df2d.jpg","text":"TemporaryFile(/tmp/multipartBody6596851179710834948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722592845,"filename":"image_12012025_23_55_02_534773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/fda101a1b0b2369bcb5d22d78b585749.jpg","text":"TemporaryFile(/tmp/multipartBody771393707237740880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722592845,"filename":"image_12012025_23_55_02_534773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/2035fd71999d9b1214b024526ab3e630.jpg","text":"TemporaryFile(/tmp/multipartBody8884562446801282150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722592845,"filename":"image_12012025_23_54_02_294552_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/970fd3c4a9daad1f443a18f1d915f39d.jpg","text":"TemporaryFile(/tmp/multipartBody4286677614474046110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722592845,"filename":"image_12012025_23_55_02_534773_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328529154","file1":"1328529152","file0":"1328529151","file3":"1328529156"},"map_files_photo_id_array":[{"photo_id":"1328529154","filename":"file2"},{"photo_id":"1328529152","filename":"file1"},{"photo_id":"1328529151","filename":"file0"},{"photo_id":"1328529156","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328529156":["hashtag1","hashtag2"]},{"1328529152":["hashtag1","hashtag2"]},{"1328529151":["hashtag1","hashtag2"]},{"1328529154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328529156, 1328529152, 1328529151, 1328529154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59243440628052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:56:22.623444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0003.jpg', '/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0000.jpg', '/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0001.jpg', '/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/55/image_12012025_23_55_02_534773_0003.jpg
/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0000.jpg
/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0001.jpg
/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1328529163","1328529162","1328529165","1328529161"],"photo_ids_order":["1328529161","1328529162","1328529163","1328529165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/493324aaf0726396307d1ed106e7cead.jpg","text":"TemporaryFile(/tmp/multipartBody6685880017418799935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722652825,"filename":"image_12012025_23_56_02_710450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/a9e5dcd364d2cd500dbbe9af859e582c.jpg","text":"TemporaryFile(/tmp/multipartBody2567702770262413188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722652825,"filename":"image_12012025_23_56_02_710450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/d663fe9a6dd24ba8948fbc92c42a41e3.jpg","text":"TemporaryFile(/tmp/multipartBody8705757239840670540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722652825,"filename":"image_12012025_23_56_02_710450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/12/3b6a6759a23337ad28d622f3a3732bb3.jpg","text":"TemporaryFile(/tmp/multipartBody1340646422377906292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736722652825,"filename":"image_12012025_23_55_02_534773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1328529163","file1":"1328529162","file0":"1328529161","file3":"1328529165"},"map_files_photo_id_array":[{"photo_id":"1328529163","filename":"file2"},{"photo_id":"1328529162","filename":"file1"},{"photo_id":"1328529161","filename":"file0"},{"photo_id":"1328529165","filename":"file3"}],"portfolio_id":19529693,"hashtag_by_photo_ids":[{"1328529163":["hashtag1","hashtag2"]},{"1328529162":["hashtag1","hashtag2"]},{"1328529165":["hashtag1","hashtag2"]},{"1328529161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19529693 used, photo_id : ArrayBuffer(1328529163, 1328529162, 1328529165, 1328529161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.10334086418152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-12 23:57:22.699367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19529693
  datou_current_id : 2477105
in upload_from_sqlite, uploading in 19529693
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0003.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0000.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0001.jpg', '/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2477105&datou=0
/home/pi/Desktop/images/12012025/23/56/image_12012025_23_56_02_710450_0003.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0000.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0001.jpg
/home/pi/Desktop/images/12012025/23/57/image_12012025_23_57_02_914876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
